hey i need help whenever i make a platform my sprite will walk on it but when i put one in mid air and make my sprite jump on it it will but when i walk off the platform instead of falling off it walks in mid air!

Offline
What you need is gravity:
when gf clicked forever//this whole script will go to the jumping sprite if <touching color[color of platform]?> change y by(5) end if <not<touching color[color of platform]?>> change y by (-5) endHopefully this helps
Offline
thanks!

Offline
uh how did you get here

Offline
hey wasabi it worked!

Offline
Try putting this in your gravity:
forever
if <touching color [color of platform]>
set [Gravity v] to [0]
else
change [Gravity v] by [a negative number]
end
change y by [1]
change y by (Gravity)
end
Offline
guys you can stop posting wasabi gave me my answer

Offline
I've closed the thread to stop people from continuing to post - since william465 seems to have had his question answered. If you want the thread re-opened, willaim, you can use the report button in the bottom-right of posts to get our attention - same with wanting a thread like this closed!
Offline