Problemas quando vou entrar no meu jogo
em Qui 08 Ago 2013, 12:05
Toda vez que eu entro no meu jogo aparece duas coisas:
ERROR in
action number 3
of Create Event
for object object_player:
Error in code at line 1:
if place_free(x-velocidade,y) x -= velocidade
^
at position 17: Unknown variable velocidade
e
ERROR in
action number 4
of Create Event
for object object_player:
Error in code at line 1:
if place_free(x+velocidade,y) x += velocidade
^
at position 21: Unknown variable velocidade.
PF alguem me ajude!!!
ERROR in
action number 3
of Create Event
for object object_player:
Error in code at line 1:
if place_free(x-velocidade,y) x -= velocidade
^
at position 17: Unknown variable velocidade
e
ERROR in
action number 4
of Create Event
for object object_player:
Error in code at line 1:
if place_free(x+velocidade,y) x += velocidade
^
at position 21: Unknown variable velocidade.
PF alguem me ajude!!!
- Data de inscrição : 06/03/2013
Número de Mensagens : 81
Insígnias de JAM :x 0
x 0
x 0
Reputação : 23
Prêmios: 0
: 0
: 0
Re: Problemas quando vou entrar no meu jogo
em Qui 08 Ago 2013, 12:34
Ta dizendo que a variavel "velocidade" é desconhecida.
No evento create declare uma variavel com o nome de velocidade e coloque algum valor.Ex:
No evento create declare uma variavel com o nome de velocidade e coloque algum valor.Ex:
- Código:
velocidade = 4;
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum