How do you make platforms so when you jump on them you don't go through and it works efficiantly for a scroller.
Last edited by 4lover (2010-05-17 22:04:35)
Offline
if < touching [ sprite ] > <--- You could also use a colour, but you have to make sure all platforms are coloured the same.
change y by 2
else
change y by -2
=
That should take care of gravity and keep it so that it won't fall through.
Hope that helped!
Offline