Lisa-999 wrote:
Im makeing a trampoling game, you get scores from the judges, i've made it so it adds up but i want it to change level when you get a certain score.
Can anyone help?
<if><( <{ score }><>> 6 )>
<broadcast[ change level
<end>
I used 6 as an example
Offline
As deatheater demonstrates above, using the Broadcast block is probably the best way to do a level change. After setting up the broadcast, you need to set up some other blocks that respond to the Broadcast message by maybe changing the stage backround or showing sprites that had been hiding before. For example:
[blocks]
<when I receive[ change level
<switch to costume[ Second Costume
<show>
[/blocks]
Note that "change level" is a broadcast message name and you can actually name it anything you want.
Offline
deatheater wrote:
Lisa-999 wrote:
Im makeing a trampoling game, you get scores from the judges, i've made it so it adds up but i want it to change level when you get a certain score.
Can anyone help?<if><( <{ score }><>> 6 )>
<broadcast[ change level
<end>
I used 6 as an example
using the "or" block you can if score is equal to or greater than 6
Offline