Escolar Documentos
Profissional Documentos
Cultura Documentos
Add Event -> Personagem -> IS OUTSIDE LAYOUT ==> Add Action -> System -> RESTART
LAYOUT.
*Variavel de instancia.
-No objeto moeda clique em propriedades, em Instance variables-Edit Variables >>
Add >>
health para o Name (nome), deixe o campo Type (tipo) como Number (número) e para o
campo Initial value (valor inicial) digite 1.
Add Event -> Personagem -> On collision with another object -> Object: Moeda
Add Action -> Moeda -> Subtract From -> Instance variable “health” -> Value “1”