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

#1 2012-06-03 20:14:49

BenMan54321
New Scratcher
Registered: 2012-06-03
Posts: 1

Sliding sprites.

I have a project, where I want a sprite to slide out of the bottom of the screen up into center-frame when Flag is Clicked, but I have no idea how. Help.

Offline

 

#2 2012-06-03 20:53:36

luiysia
Scratcher
Registered: 2011-07-05
Posts: 1000+

Re: Sliding sprites.

try

when gf clicked
go to x:[0] y:[-180]
glide [2] secs to x:[0] Y:[0]

Last edited by luiysia (2012-06-03 20:54:35)


http://i50.tinypic.com/dx00pd.gif

Offline

 

#3 2012-06-04 12:55:32

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Sliding sprites.

Or you can use this:

when gf clicked
go to x: (0) y: (-180)
repeat (180)
 change y by (1)
end


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#4 2012-06-04 13:12:41

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Sliding sprites.

luiysia's is probably better as it is easier to change the sliding speed, but both would work.


http://i46.tinypic.com/ao03lk.png

Offline

 

Board footer