Starting to learn/write my first game using Corona/Solar2d game engine. And have a very basic question on how do people handle a such this situation which I assume should be common to any game engine.
I am trying to build an endless runner game, where I have an uneven terrain player have to jump between different height platforms while moving forward. Here is the closest to what I have in mind.
- How do I find if the player has fallen between the the two platforms while jumping ?
- How do I change players āyā value if it has jumped to higher platform, assuming I am just applying a physics linearimpulse on the player ?