Discuss Scratch

IonaScratch
Scratcher
12 posts

Scripts to make projects

I've been looking everywhere on the internet to find some scripts to make a game like space invaders and I really need a script for scrolling please help!
levtey
Scratcher
100+ posts

Scripts to make projects

What do you mean by scrolling?
IonaScratch
Scratcher
12 posts

Scripts to make projects

Like Mario when you move the screen moves with you!
say [Scrolling!] for (2) secs
Maplethepanda
Scratcher
100+ posts

Scripts to make projects

Scrolling games like Toaster Run?
scratch_book
Scratcher
100+ posts

Scripts to make projects

Simple scrolling game
http://scratch.mit.edu/projects/21208389/
change costumes: car to spaceship, hole to invader, cracks to stars
mcubed2
Scratcher
15 posts

Scripts to make projects

hers this might help

for each scroll the panel you have to create a sprite the size of the screen not a background. and in each background sprite suse this code.
scratchblocks]
when g[reen flag clicked
forever

set to ((scrollx) + ((scrollx) * (0)))
end

for the next sprite background panel


and each s
when green flag clicked 
forever

set [scrollx v] to ((scrollx) + ((scrollx) * (1)))
end


for the next one
and each s
when green flag clicked 
forever

set [scrollx v] to ((scrollx) + ((scrollx) * (1)))
end

etc



then in your character use this
mcubed2
Scratcher
15 posts

Scripts to make projects

change that last digit by one every time and start with 0 not one

for your char. use this
when green flag clicked
forever

if <key [right v] pressed?> then
change [scrollx v] by (-5)
end
end

then do the opposite for the other
IonaScratch
Scratcher
12 posts

Scripts to make projects

Ok I'll Try it thanks
say [Thanks!]
IonaScratch
Scratcher
12 posts

Scripts to make projects

by the way whats a char?
Asjali
Scratcher
100+ posts

Scripts to make projects

IonaScratch wrote:

by the way whats a char?
“char” is an abbreviation for “character”.

Powered by DjangoBB