CaptainHitam
Member
Hello! I'm unsure if this is the correct place to post this. Please let me know if it isn't.
Basically I would like to know how one would approach putting a jumping mechanic in a game where there isn't really a "floor". Also, If were to make a 3/4 2D game, how would one go about creating platforms the player is standing on?
I thought I could just program in a curved path the player would take every time they jump but then I thought "What if they jumped off a platform that was taller than the ground? How would that work?" All I can think of is I have to put 'markers' down for every platform that I deem to be taller than the ground and adjust the jump mechanic accordingly. To me this sounds very... amateurish (which I am btw) and I feel like there's a better way to approach this. However, I'm clueless as to where I should start.
Any help would be greatly appreciated. Cheers!
Basically I would like to know how one would approach putting a jumping mechanic in a game where there isn't really a "floor". Also, If were to make a 3/4 2D game, how would one go about creating platforms the player is standing on?
I thought I could just program in a curved path the player would take every time they jump but then I thought "What if they jumped off a platform that was taller than the ground? How would that work?" All I can think of is I have to put 'markers' down for every platform that I deem to be taller than the ground and adjust the jump mechanic accordingly. To me this sounds very... amateurish (which I am btw) and I feel like there's a better way to approach this. However, I'm clueless as to where I should start.
Any help would be greatly appreciated. Cheers!