I am stuck! I am trying to make a platformer game, and you need to be able to walk on a FLAT ceiling (so I don't need any help with gravity related to rotation!), though when I make a script that shoud work, it doesn't! I am new to scratch, though I have made alot of art Projects. If you help me, I promise to give Credits. PLEASE HELP!
Offline
A simple way to do this is (this assumes the ceiling is a sprite)
<when green flag clicked>
<forever>
<if><< << <not> <touching[ CeilingSprite ]> >> <and> <( <{ gravity }> <=> "inverted" )> >>
<change y by( 2 )>
<end>
<end>
Last edited by MoreGamesNow (2011-03-21 16:33:50)
Offline
Thanks, but I need it to where he can WALK on the ceiling. I know how to make him go to the ceiling. Thanks for your help, but it just wasn't it. I would appreciate it if you gave me just a little bit more help.
MoreGamesNow wrote:
A simple way to do this is (this assumes the ceiling is a sprite)
<when green flag clicked>
<forever>
<if><< << <not> <touching[ CeilingSprite ]> >> <and> <( <{ gravity }> <=> "inverted" )> >>
<change y by( 2 )>
<end>
<end>
Offline