Ocelot Posted March 10, 2016 Share Posted March 10, 2016 Hi, Im trying to make a space shooter game. I saw on google play FA Galaxy Shooter and tried to imitate controls but I just cant think of a way to do that correctly. Its movement is similar to drag, but without actually needing to press the sprite. Lets say I want to move my ship (player sprite) to the left, in that game its done by moving your finger from right to left anywhere on the screen, there is no need of touching a sprite like in a drag event. Now the biggest problem for me is that, lets say you want to move it from right to left and then suddenly make a circle movement with the sprite, you would go again from right to left and then just do a circle shape with a finger without lifting it and by so, doing another touch event. Maybe I missed an example for doing that but I cant find anything on that type of movement. Link to comment Share on other sites More sharing options...
Alexalten Posted March 11, 2016 Share Posted March 11, 2016 Hi, I think You should use the virtual joystick plugin (http://phaser.io/examples/v2/category/virtualjoystick). i f You don't want to show any kind of image for the joystick, use the alpha channel set to 1 (eg. UsedSprite.alpha = 1; ). Bye, Alex Ocelot 1 Link to comment Share on other sites More sharing options...
Recommended Posts