[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
can someone tell me why this isn't working? ___________________________________
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /v/ - Video Games

Thread replies: 13
Thread images: 2
File: 1449263365449.png (687 KB, 1920x1080) Image search: [Google]
1449263365449.png
687 KB, 1920x1080
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.
>>
File: oh.jpg (321 KB, 1871x791) Image search: [Google]
oh.jpg
321 KB, 1871x791
>>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
Thread replies: 13
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.