shibamiko Posted August 24, 2018 Share Posted August 24, 2018 Hi all! Making my first game EVER, using Phaser 3. I have a birds eye view map (see screen shot). I want my character to move up and down and left and right. I've been able to figure out left and right, but whenever we do up and down, gravity acts on the character. I've attached my config as well as my code for up and down, any ideas? Link to comment Share on other sites More sharing options...
ol-web Posted August 24, 2018 Share Posted August 24, 2018 you need to set velocityY to 0 as well Link to comment Share on other sites More sharing options...
shibamiko Posted August 24, 2018 Author Share Posted August 24, 2018 OH my gosh. That was a simple solution...can't believe I didn't think of it. Thank you!!!! Link to comment Share on other sites More sharing options...
Recommended Posts