So, when you’re playing level 2 of my game, there’s 2 sets of keyboard. One for 2D movement, and one for 3D movement. I did the same thing for mobile. You can switch between 2D and 3D movement. Everything works in 3D movement on mobile except for the stomp, which works fine for 2D movement on mobile.
2D Movement Mobile:
3D Movement Mobile:
If you try out Level 2 on mobile, the Stomp button on 3D Movement Mobile won’t make the player stomp. If you try pressing the down arrow on 2D Movement Mobile, the stomp works just fine.
Link to editor: https://playcanvas.com/editor/project/672610