C
_ComicalGaming_
Guest
OK, so im watching a tutorial, and I have followed everything exactly. AND his is working fine. But when I do it, I get this:
ERROR!!! :: ############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_player:
Variable obj_player.down_key(100003, -2147483648) not set before reading it.
at gml_Object_obj_player_StepNormalEvent_1 (line 38) - if (!down_key and !up_key and !left_key and !right_key) {
############################################################################################
And I cant figure out what I did wrong. This is the code its referring to:
if (!down_key and !up_key and !left_key and !right_key) {
image_speed = 0;
}
If you know the problem and how to fix it, PLEASE TELL ME. Thanks in advance!
ERROR!!! :: ############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_player:
Variable obj_player.down_key(100003, -2147483648) not set before reading it.
at gml_Object_obj_player_StepNormalEvent_1 (line 38) - if (!down_key and !up_key and !left_key and !right_key) {
############################################################################################
And I cant figure out what I did wrong. This is the code its referring to:
if (!down_key and !up_key and !left_key and !right_key) {
image_speed = 0;
}
If you know the problem and how to fix it, PLEASE TELL ME. Thanks in advance!