Virtual Joystick Module For Games

Hello,

 

At this moment in time, what would you say is the best external module to use for a virtual joystick (360 degree movement) for a game? This is for  player control in e.g. a shmup shooting game…

 

I’ve come across one or two from the code section previously, but can’t remember where now or which was better. Can anyone recommend one based on their own experience - perhaps one you used yourself in your own game? I want to know which one you think works best - in terms of responsiveness, movement precision and how adaptable is it to skin and taylor the variables to adapt it for your own game.

 

Appreciate any feedback, cheers!

Ive used this one from the Community Code exchange in a couple of projects.  It’s from the creators of Particle Candy.

 

http://developer.coronalabs.com/code/simple-analog-stick-joystick-module

Thanks for the reply, ley me take a look at this. From a user/gamer perspective, do you find this works well when using it on a real device? Does it feel precise and responsive?

Thanks,

The apps I’ve used them in it seems responsive enough. 

I too have used the analog stick Rob mentioned within 2games, I currently have a game in development which is also utilising it. However although very good have switched too Roaming gamers SSK libraries which include a joystick and lots of other input devices. whichever you choose will work and both very good.

Thanks for the alternative suggestion, i’ll take a look at it later. Tried the analog joystick example above - currently only testing on the corona simulator and on that it feels ok ish, although because i’m using the trackpad on my laptop, i can’t quite get a proper feel of this because i sometimes find the mouse “scrolls away from the joystick”. I’ll need to test on real device with my finger for sure for a proper review!

I did start a small test to try and build a game using a joystick and i will definitely need this control at some point in the future.

Anyone else have any other suggestions/recommendations?

Cheers,

Ive used this one from the Community Code exchange in a couple of projects.  It’s from the creators of Particle Candy.

 

http://developer.coronalabs.com/code/simple-analog-stick-joystick-module

Thanks for the reply, ley me take a look at this. From a user/gamer perspective, do you find this works well when using it on a real device? Does it feel precise and responsive?

Thanks,

The apps I’ve used them in it seems responsive enough. 

I too have used the analog stick Rob mentioned within 2games, I currently have a game in development which is also utilising it. However although very good have switched too Roaming gamers SSK libraries which include a joystick and lots of other input devices. whichever you choose will work and both very good.

Thanks for the alternative suggestion, i’ll take a look at it later. Tried the analog joystick example above - currently only testing on the corona simulator and on that it feels ok ish, although because i’m using the trackpad on my laptop, i can’t quite get a proper feel of this because i sometimes find the mouse “scrolls away from the joystick”. I’ll need to test on real device with my finger for sure for a proper review!

I did start a small test to try and build a game using a joystick and i will definitely need this control at some point in the future.

Anyone else have any other suggestions/recommendations?

Cheers,

I made this one age ago for Corona http://developer.coronalabs.com/code/joystick

The code might need updating if the SDK has changed, ive been away from Corona Dev for a bit.

There are a few examples so you can test it out.

Thanks!

I too use the code mentioned by Rob. If you want to check how good it work on a device check out my app (free)

https://itunes.apple.com/app/id590540185?mt=8

(shameless plug …LOL) It has been long time but I think I had to use “soft” filter to avoid jitter and have better control. Frankly it has been so long i am not sure anymore. A lot of people said to me that they feel that the joystick is very responsive during gameplay. I just hope the author would get some time to remove the:

“module(…, package.seeall)”

Still it is a great module (as the one from Matthew!)

Good luck!

Mo

I made this one age ago for Corona http://developer.coronalabs.com/code/joystick

The code might need updating if the SDK has changed, ive been away from Corona Dev for a bit.

There are a few examples so you can test it out.

Thanks!

I too use the code mentioned by Rob. If you want to check how good it work on a device check out my app (free)

https://itunes.apple.com/app/id590540185?mt=8

(shameless plug …LOL) It has been long time but I think I had to use “soft” filter to avoid jitter and have better control. Frankly it has been so long i am not sure anymore. A lot of people said to me that they feel that the joystick is very responsive during gameplay. I just hope the author would get some time to remove the:

“module(…, package.seeall)”

Still it is a great module (as the one from Matthew!)

Good luck!

Mo

The plug worked, i check it out!

I’ve actually started playing around with another prototype that does not need to make use of a virtual joystick, as a result, this request has fallen by the wayside - for now. I imagine i will need this though in the future because i want to make a shmup! :slight_smile:

Cheers

The plug worked, i check it out!

I’ve actually started playing around with another prototype that does not need to make use of a virtual joystick, as a result, this request has fallen by the wayside - for now. I imagine i will need this though in the future because i want to make a shmup! :slight_smile:

Cheers

I’ve used Matt Pringle’s joystick code before, but now after 2.0 it doesn’t seem to work - still scratching my head, but I’m sure at some point I’ll give up :slight_smile: