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

#1 2012-04-27 05:26:34

Rossi123
New Scratcher
Registered: 2012-02-24
Posts: 1

lap change level

is it possible to change level according to the amount of laps completed by the user or AI, i have been trying for a while but nothing yet has worked, need some help!

Offline

 

#2 2012-04-27 14:41:25

Alynatrill
Scratcher
Registered: 2010-09-28
Posts: 100+

Re: lap change level

Make a variable for laps.
Every time they pass the start line increase laps by 1.
Then make an if laps = x then level = y | x is the lap you want it to change at, y is the level you want it to change to.

If you mean level as in the track, put a script on your background or track sprite that will change it like this.
if level = 1 set costume to costume1
if level = 2 set costume to costume2

Hope this helped. I didn't want to use scratch blocks D:

Offline

 

Board footer