Kratos_SA Posted June 19, 2016 Share Posted June 19, 2016 I have a sprite animation for making a sprite jump which has a a crouch before it actually jumps and I have a function to check for when it actually is time to lift off. But when the sprite it falling its height is taller than the sprites I have for the next animation which is landing and contains the crouch in reverse. What is the best way to stop the sprite from working jumping back up to its current y value at the top of the sprite but rather further down so it doesnt look like its crouching in mid air. Link to comment Share on other sites More sharing options...
Taggrin Posted June 20, 2016 Share Posted June 20, 2016 For that you should take a look into sprite anchors: http://phaser.io/examples/v2/sprites/anchor Link to comment Share on other sites More sharing options...
Recommended Posts