Hi-
I am making a super high quality commando game (It's based on commando from miniclip: http://www.miniclip.com/games/commando-2/en/) and I am having trouble with a few things:
>>I need for my commando sprite to be able to jump...its hard to explain, so here is a (very bad) diagram:
^ |
Can go up ____|_______V___
| Can't go down
He must be able to go through a terrain sprite when going up, but not when going down.
Thanks!
Offline
Do this:
If touching <terrain sprite> and y vel. < 0
If <key: up arrow pressed>
set y vel. to 5
else
set y vel to 0
else
change y vel by -1
Wait, lemme get a picture...
Offline
Wait, here:
Offline
Drat, that script will glitch up. Use this one instead:
Offline
A Commando 2 game in Scratch? Very ambitious... You should use RHY's Perfect Platformer Base...
Offline