Hello everyone, long time reader first time poster.
My name is Eric and I want to make a game! More specifically I want to make a Beat-Em-Up with platforming. Something like the movement and jumping of Battletoads but with platforms over platforms.
It's a little tough to describe this so here is the GM file I have currently:
http://kafkaskoffee.com/SpaceMan/platformingProblem.gmkI used GM 7 pro but I don't think you need Pro to run this file, I didn't use anything fancy in the GML.
Basically what happens is that I store the relative Y of the player on each collision tile, when he jumps I just make sure he lands on the relative Y each time. If he isn't at the relative Y of the collision under him I keep adding gravity. This way if you stand farther up a platform or into the Z of the scene and jump to another platform you will land at the same Z. Make sense?
There are known bugs with this current .gmk:
Known bugs:
Jumping from below half of the collision causes you to miss collision above you. I do not understand this.
Falling from one collision to another does not make you fall at the correct y. I know why this happens, the new relative y isn't set when you just walk off of a collision.
You can stand in mid air on the middle diagonal platform because of the way I'm checking collision. I'm not looking forward to solving that problem! This will also cause a hang up sometimes.
I have no idea how I'm going to do certain things like collision with wall pieces.
Any help at all is so greatly appreciated, I posted a thread about this on the Game Maker forums and one person tried to help but their sentence structure was so bad I had no idea what they were talking about. 2 months later not a single person has offered help after that. I have been stuck on this for so long.
Eric