Minilop Retroware

MPAGD SHMUPKIT

Evento Restart Screen, Shmupkit

3 de agosto de 2022

Este evento se ejecuta cuando el juego empieza por primera vez o se reinicia después de que maten al jugador.

Lo importante aquí es que tenemos que restablecer el contador de sprites (S) a 0; nuestro evento Initialise Sprite lo incrementará después hasta el número correcto de sprites en pantalla

¡También he añadido un mensaje GET READY! al estilo máquina de escribir usando el código del manual de MPAGD!

EVENT RESTARTSCREEN

LET S = 0			; initialise the sprite counter
AT 0 1				; position the cursor Line 0 Column 1
SHOWSCORE			; display the score

AT 10 12			    ; Cursor at L10 C2
REPEAT 10			; do this 10 times
READ A				; read next item into A
CHR A				; Display A
DELAY 5				; short wait
ENDREPEAT			; all items displayed?
DELAY 100			; longer wait


DATA 'G' 'E' 'T' ' ' 'R' 'E' 'A' 'D' 'Y' '!'

Todo sobre MPAGD SHMUPKIT