I'm making a penalty shootout game. Actually I'm making 2 games. One is going to be a 1 player game and the other is going to be a 2 player game.
In both games how can I incorporate levels into my game so that when a certain score is reached it changes levels.
I've tried thinking of this myself. In my one player game, I've made it that I'm the kicker and that you have three options to shoot (right, centre and left). I've also made the goalkeeper randomly make a move. This is the exact same in the two player game. However, the only difference is that one of the players is the kicker and other player is the goalkeeper.
How could I incorporate levels into both games???
Offline
You could try something along these lines...
Use a variable to store the score, and have a script on the background something like this:
<when green flag clicked>
<wait until> <(<{ score }> <=> whatever you want )>
<change{ level }by(1
<set{ score }to( 0
and also (on the background still, where it says next costume I really mean next background.) have a script along the line of this:
<when green flag clicked>
<forever>
<if><( <{ level }> <=> 1 )>
<switch to costume[ level one.
<end>
<if><( <{ level }> <=> 2 )>
<switch to costume[ level two
<end>
<if><( <{ level }> <=> 3 )>
<switch to costume[ level three etc. etc.
<end>
<end>
Sincerely hope this helps, that's all I could tihnk of off of the top of my head.
Last edited by Dthen (2007-10-11 07:36:42)
Offline