This site requires JavaScript, please enable it in your browser!
Greenfoot back
EggsD
EggsD wrote ...

2015/10/7

Jump Code for platformer

EggsD EggsD

2015/10/7

#
I am trying to make a game that is basically a re-skinned mario bros. I am trying to get the jump code working but I cannot seem to make the character collide with the top of blocks. He will jump and fall and stop when walking into a wall, but he just falls into said wall blocks when trying to jump onto their tops. Any help would be greatly appreciated. Thanks!
davmac davmac

2015/10/7

#
Nobody can help you when you don't post your code! Post your code.
You need to login to post a reply.