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

#1 2012-06-21 07:00:14

BeccazAmazing
New Scratcher
Registered: 2012-06-15
Posts: 1

HELP ?!?! Levels ???

Im trying to get the background to change when the score reaches a certain number....not sure how and can't seem to be able t oget it from trial and error....it sounds so basic and I'm relatively new to sctratch.. PLEASE HELP !!!

(Thank you in advance) xxx  smile

Offline

 

#2 2012-06-21 07:52:28

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: HELP ?!?! Levels ???

when gf clicked
set [score v] to [0]
switch to background [first background v]
wait until <(score) = [whatever number]>
switch to background [second background v]
stop script
Also welcome to Scratch!

Last edited by Wes64 (2012-06-21 07:53:51)


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#3 2012-06-21 07:58:46

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: HELP ?!?! Levels ???

Wes64 wrote:

when gf clicked
set [score v] to [0]
switch to background [first background v]
wait until <(score) = [whatever number]>
switch to background [second background v]
Also welcome to Scratch!

you don't need that stop script  smile


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#4 2012-06-21 11:18:18

cbcollab
Scratcher
Registered: 2011-10-30
Posts: 38

Re: HELP ?!?! Levels ???

well if your score is going up by more than one point at a time, you may want to do:

wait until <(score) > [whatever number]>
(note the greater than sign, instead of equal to)


http://i40.tinypic.com/2z9i2c3.png

Offline

 

#5 2012-06-21 17:27:50

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: HELP ?!?! Levels ???

ftf841 wrote:

Wes64 wrote:

when gf clicked
set [score v] to [0]
switch to background [first background v]
wait until <(score) = [whatever number]>
switch to background [second background v]
Also welcome to Scratch!

you don't need that stop script  smile

Its just a matter of cleanliness, I always end my scripts.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#6 2012-06-21 17:38:56

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: HELP ?!?! Levels ???

Wes64 wrote:

ftf841 wrote:

Wes64 wrote:

when gf clicked
set [score v] to [0]
switch to background [first background v]
wait until <(score) = [whatever number]>
switch to background [second background v]
Also welcome to Scratch!

you don't need that stop script  smile

Its just a matter of cleanliness, I always end my scripts.

Yay! Programming habits!  tongue

Offline

 

#7 2012-06-25 09:42:21

niamhsheeran
New Scratcher
Registered: 2012-06-25
Posts: 1

Re: HELP ?!?! Levels ???

how do you make levels? smile

Offline

 

Board footer