Discuss Scratch

derbio95
Scratcher
8 posts

psuedo scrolling of individual sprites eg clouds

Hi everyone derbio95
I would like to know if I can get sprites to move across the stage independently from the main game/animation, ie clouds. I would like sprites that are not main players to be seen moving on screen.
derbio95
AeonPunk
Scratcher
13 posts

psuedo scrolling of individual sprites eg clouds

You would have to set them in the back of the scene with
go back () layers
and add a looping movement with something like
move (15) steps
if <(x position) > [240]> then

set x to (-240)
end
(screen limit, depends on the direction of the motion. if it moves ltr, the script is as appears above

Less is more

rob313663
Scratcher
11 posts

psuedo scrolling of individual sprites eg clouds

Check out this project. Maybe it is what you are looking for. I am not good at drawing so prepare for some ugly clouds.

http://scratch.mit.edu/projects/32159668/

derbio95
Scratcher
8 posts

psuedo scrolling of individual sprites eg clouds

Hi Rob313663
That was exactly what I wanted, cheers.
Not checked AeonPunk's code yet but looks ok also.
Thanks guys
derbio95

Powered by DjangoBB