A tutorial on how to fling out a hook and attach it to bodies in Matter Physics.

Posted on 1st Aug 2019. Follow @phaser_ and get the Phaser World newsletter.

image

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..."

Read More


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
Buy Now
$19