This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-30 14:50:54

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

Sprite standing

i need a script that enables a sprite to jump on and stand on another sprite


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

#2 2012-05-30 16:15:27

shpeters
Scratcher
Registered: 2011-12-11
Posts: 100+

Re: Sprite standing

when gf clicked
forever
if <not <key [up arrow v] pressed?>>
if <not <touching [sprite v]?>>
change y by (-2)
else
change y by (2)
This script also enables gravity.
This script is only compatible with up arrow flying. Modify it for using another key to fly.


http://i.imgur.com/bboYO.pnghttp://i.imgur.com/66Yki.gifhttp://i.imgur.com/uLUsl.jpg

Offline

 

Board footer