A tutorial on how to fling out a hook and attach it to bodies in Matter Physics.
Emanuele Feronato writes: "Did you play Fling?
It’s a 2D platforming game with Grappling Hook as the only way to move, similar to my Mickey Hooks prototype, but the main difference is you actually fire the hook rather than tapping on the body you want to grapple. Something very similar to the Ninja Rope used in Worms game series.
So I changed a bit the code used in Mickey Hooks, I have to say Matter.js was a bit unstable when reducing constraints so I will need to find a workaroud to make things work better, anyway this is what I have to show you at the moment..."
Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices