i am creating a mario type game for a project and i am having trouble creating it so that when mario jumps up onto a higher platform he stays there and doesnt go through the bricks and land back on the ground, the brick layers differently in height elevation, any help?
thank you but i dont think those videos solved my problems me and my partner think that if we want our character to react in the ways the penguin did in the videos we would have to create huge lines of code for over 200 blocks. also on top of that we need mario to not go through the sides of the blocks also without pushing him too far away from the blocks. we are bascily trying to make a copy of nintendo's mario for alice
hey this is jacobheglars partner and we are at school so youtube is a blocked website so hopefully the youtube video will help us, we just have to watch it at home. but that gravity method you made with the penguin and the island would be great if we can make him go up also. if he is just constantly moving down until he is stopped by something, we can probably get mario working.
So what you're asking for is a gravity method like mine, but both more complex (able to handle upwards and downwards collisions) and smaller (less code)?
That's probably not possible.
I am, however, going to write an example world to show you how mario gravity might work.