I went to an arcade on Sunday and mashed buttons until my hands were sore. You just don’t get that same feeling playing Angry Birds.
nippleJS creates touch-controlled joysticks that track movement, direction, angle, and pressure (if you’ve got an iPhone6s). Set up a listener and use the positional data to trigger actions in your app/game.
Two killer features:
- You can position joysticks dynamically, so you don’t have to keep your finger in the same place.
- On multitouch devices, you can use two or more joysticks simultaneously.
Try this demo on your phone and get to hacking!