Bruce

Aug 3, 20221 min

Game Initialisation Event - Shmupkit

The L variable is used to keep track and progress the Levels/Attack Waves of the game, after the player successfully survives a Level it increments to the next on, so, naturally, we want to start at Level 1 (L=1)


 
EVENT GAMEINIT
 

 
LET L = 1 ; Level (starts at 1)
 

 
LET LIVES = 3
 
AT 0 16
 
DISPLAY LIVES
 

 
AT 0 1
 
SHOWSCORE
 

 
AT 0 25
 
SHOWHIGH
 

 

    430
    0