Hey Guys
I was introduced to scratch by a couple of mates at school who new that i wanted to create pc games. I have started a basic game to get used to everything and i want to create a new level/stage. Can someone please tell me how to make it.
Thanks, Ham4Life
Offline
Well, the first step would be to have a variable called "stage" or "level" or actually whatever you want to call it, but it's best to have a variable that you'll be able to recognize.
Next, you'll want to make it so that the variable goes up by one every time you complete a level. Depending on how your game is working, you may want to do it with colour sensing or something. Use the broadcast block to tell the rest of your sprites what to do, so broadcast something and have all of your sprites get ready for the next stage. Make sure the variable also ups by one.
Then, make it so that the stage will have it's background based on the variable you made earlier. So use the following script
When (green flag) clicked
forever
set background to (variable)
======
You may also want to show/hide your sprites based on the variable.
I'm not sure if that's what you were looking for, but there you go
Offline
Well, it really depends. If you want a game that changes in a time limit or a game that proceeds when a goal is reached.<when green flag clicked><forever><if><touching color[ Goal color here <change{ Level }by(1 <go to x Start spot )y:(start spot)> For the character sprite
<when green flag clicked> <forever><switch to costume[ Level
Is for the background.
Last edited by AtomicBawm3 (2010-03-31 22:27:35)
Offline
i am making a load of tutorials for scratch, this is going to be on my first one
Offline