can someone tell me why this isn't working?
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_player:
Push :: Execution Error - Variable Get 107214.phy_position_y(55, -2147483648)
at gml_Object_obj_player_StepNormalEvent_1 (line 1) - mouse_dir = -point_direction(phy_position_x, phy_position_y, mouse_x, mouse_y);
############################################################################################
>>322371424
>this
Well what is "this"?
>>322371576
game maker studio
>>322371613
What the hell is this?
>>322371697
game maker studio its a error code and i cant find out whats wrong with it
>>322371424
It's not working because there is a fatal error in action number 1 of step Event0 for object obj_player.
>>322371794
What the fuck.
>>322371957
i notice that
>>322371424
this is the full code im working with.
mouse_dir = -point_direction(phy_position_x, phy_position_y, mouse_x, mouse_y);
phy_rotation = mouse_dir;
image_speed = lerp(image_speed, 0, 0.1);;
move_speed = 160;
if(keyboard_check(ord('W'))){
image_speed = phy_speed_y / 8;
physics_apply_force(x,y,0,-move_speed);
}
if(keyboard_check(ord('S'))){
image_speed = phy_speed_y / 8;
physics_apply_force(x,y,0,+move_speed);
}
if(keyboard_check(ord('A'))){
image_speed = phy_speed_x / 8;
physics_apply_force(x,y,-move_speed,0);
}
if(keyboard_check(ord('D'))){
image_speed = phy_speed_x / 8;
physics_apply_force(x,y,+move_speed,0);
}
>>322372065
Then what is your question? Because your question has been answered by the program. If you're not a total douchebag you should be able to read error code and work with it to debug your shitty game.
>>322372560
i've changed it multiple times i can't get it to work at all
>>322372657
Changed what?inb4 THE CODE!! OMG I ARE TEH UBER INDIEGAMEDEV DONATE TO MUH PATREON!!!!
Maybe you should try the official gamemaker forums instead of fucking 4chan of all places you mong.
Update you're drivers