I know how to make the sprite jump and land on a object/platform. But how do I make it so it don't go through the object it lands on.
I want it to be able to land on a black box however not be able to go through the box. So any ideas thanks!
Offline
jdp1594 wrote:
But that looks like its all about jumping and i already know how to do that, i just want to know how to stop it going through something is can land on, like a black box?? thanks anyway!
when [up arrow v] key pressed repeat [number] change y by [10] end repeat until <touching color [ color of ground]?> change y by [-10]
Offline
This forum post gives an example of a platformer script and walks through how the code does what it does
Offline