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

#1 2012-08-30 02:37:43

JakJones
New Scratcher
Registered: 2012-08-22
Posts: 5

How to make a sprite do something different each level

Hi

I am trying to make a Klingon enemy sprite that scrolls and shoots at you in Level One, but in Level Two, it moves randomly and still shoots at you. In Level Three, it does the same thing as Level Two but faster.


Can anyone help me please?

Offline

 

#2 2012-08-30 02:50:13

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: How to make a sprite do something different each level

when gf clicked
forever
if <(level) = [1]>
point towards [player v]
move (whatever) steps
Shooting script.
wait (0.2) secs
end
if <(level) = [2]>
point towards [player v]
move (faster) steps
Shooting script.
wait (0.2) secs
end
if <(level) = [3]>
point towards [player v]
move (faster) steps
Shooting script.
wait (0.1) secs
end
My simplest script I can offer. I could do it it more efficient ways, but you're new to Scratch, so I don't want to get you confused.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer