Wahooiy Posted May 4, 2016 Share Posted May 4, 2016 I have started to make a game making use of illuminated.js and started with arcade physics (http://www.pixelshader.co.uk/illuminate/). I moved on to using tiles with more complex shapes and moved onto ninja physics to accommodate this. I managed to set the slope map correctly and the collision works but I have a few questions: 1. I cant seem to move up slopes. This can be seen when playing the game (currently a small test) when moving to the right. How can i get the character to move up the slope? 2. Is it possible to change the sprites AABB body size with ninja physics? (can turn on debug body using Q in the game) 3. With arcade physics it was possible to do 'body.blocked.down' to test if a sprite was on the ground, to test prior to jumping. Is something similar possible with ninja physics? Thank you for your help! Link to comment Share on other sites More sharing options...
Wahooiy Posted May 4, 2016 Author Share Posted May 4, 2016 Ended up changing the physics system to P2 to solve these issues, with the help of: http://test.xapient.net/phaser/tilemapexample/index-p2.html Link to comment Share on other sites More sharing options...
Recommended Posts