Create your own virtual joystick with this tutorial.

Article by Richard Davey. Posted on 17th Apr 2015.   @phaser_

image

"So I needed a Virtual Joystick plugin (kinda) for my game a few weeks ago. I found phaser-touch-control-plugin but I needed the joystick to stay in one place on the screen. Also the code was like all about checking the input pointer, not my kind of stuffs. You know, I like everything simple and built-in.

So I wrote my own Virtual Joystick. That sounds stupid now, but at that time Photostorm didn’t release their official plugin yet (still, it’s $20 value there)."

Read the full tutorial