UPDATED: Now compatible with Game Maker Studio 2!
Virtual joy provides you with a fully customisable and simple way to implement on screen joysticks.
Features and Highlights: Adjustable Deadzones 8 Included Themes Fully Customizable Works with any size image Mobile and Performance Friendly
Here is a sample implementation that would control our hero:
obj_Hero.x += obj_LeftJoy.normalx
obj_Hero.y += obj_LeftJoy.normaly
obj_Hero.image_angle = obj_RightJoy.normaldir
Any problems contact me via the support url and fixes will be implemented asap.
Version 1.0.0. Published September 8, 2014
Created with GameMaker: Studio v1.99.180
You can only review assets you've bought.
Very very nice~! High quality and inexpensive~!
not too bad, better that others.
it works as it says, but it is limited of what it can do. I have been trying to use "if statements" to it
to add my animations and other effects. but how to do it? if someone can help me. I i'd give it 5 stars.
Your animation states should simply be
If input.x > 0 then "image right"
if input.x < 0 then "image left"
if input.y < 0 then "image up"
very easy :)
Easy to use easy to edit
Best virtual joystick
This is legitimately the best virtual joystick you can get.
Thanks for this.
The only problem I had with this was when you move the object diagonally, it would do a slight shake. To fix that, I simply used round().
You're code should look like this:
x += round(obj_LeftStick.normalx * 3);
y += round(obj_LeftStick.normaly * 3);
Everything else worked great!
Worked first time and easy to edit.
Seems to do all that it says it does
That said, I am completely new to GML and Iam having a heck of a time trying to implement shooting with just the rightside joystick press. Is there any chance someone would be willing to do a small tutorial showing how to fully implement shooting/button presses using this asset? IE: Fire toward the images_angle and set firing speed while limiting the key press to just the right hand side.
Great work. This was just what I needed.
Such a great asset, well documented and easy to understand code, once you can grasp the basic's of the joystick logic, it is almost identical to setting up a gamepad input system, worth getting!
Very good engine.just what i needed,would just like to know how to change the sprite according to the direction as i want to use it in a rpg type of game
Total size 38.4 KB