Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

Phaser 2 Wall Jumping?

$
0
0

Hi all,

I am trying to create a platformer which allows the player to wall jump however I'm struggling to figure it out. I am using the player movement code from the example herehttps://phaser.io/examples/v2/games/starstruck.

I done some looking around and only found this example which moves the player automatically which I don't want and the code is more suited to that type of mechanic: https://www.emanueleferonato.com/2018/04/28/super-mario-who-html5-platformer-prototype-inspired-by-ios-hit-yeah-bunny-thanks-to-phaser-and-arcade-physics-updated-to-phaser-3-6-0/

Any suggestions on how I could tackle the issue of finding a wall, attaching the player to it and jump to another wall while using the controls of the first example would be appreciated,

 

Thanks

 


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>