hola he estado estudiando unos tutoriales para entral al mundo del gm, pero en uno de los ejemplos que hice me aparecio un problema, y es que al correr, me dice que hay una variable desconocida aunque ya la llame :-\.. hay le adjunto el archivo a ver si alguien me ayuda.
el problema se haya en el objeto control :o
Sprite: <no sprite>
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Step Event:
for all pepe: start moving in directions 000001000 with speed set to random(6)
for all tito: start moving in directions 000001000 with speed set to random(6)
if pepe.x is larger than 600
set variable global.llego to 1
set variable global.ganador to "pepe"
if tito.x is larger than 600
set variable global.llego to 1
set variable global.ganador to "tito"
if global.llego is equal to 1
play sound llegada; looping: false
sleep 2000 milliseconds; redrawing the screen: true
restart the game
set the font for drawing text to font0 and align left
at position (200,360) draw text: ganador
at position (300,360) draw the value of: global.ganador
:-[
el problema se haya en el objeto control :o
Sprite: <no sprite>
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Step Event:
for all pepe: start moving in directions 000001000 with speed set to random(6)
for all tito: start moving in directions 000001000 with speed set to random(6)
if pepe.x is larger than 600
set variable global.llego to 1
set variable global.ganador to "pepe"
if tito.x is larger than 600
set variable global.llego to 1
set variable global.ganador to "tito"
if global.llego is equal to 1
play sound llegada; looping: false
sleep 2000 milliseconds; redrawing the screen: true
restart the game
set the font for drawing text to font0 and align left
at position (200,360) draw text: ganador
at position (300,360) draw the value of: global.ganador
:-[