Hey,
I'm using GMStudio 1.4 and YoYoYo's engine for it.
I'm very new and never had any contact with making games or coding so if the problem is obvious I'm sorry for bothering.
At the moment I just started making a fangame and wanted to add slopes but sometimes when I jump on them (maybe like 50% of the time) I get this Error and have no Idea what I'm doing wrong.
https://gyazo.com/a356c4bdc0cd150674e88ea8bf0be4550https://gyazo.com/e9c707eba7184abde71547c133b29749___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object objPlayer:
DoDiv :: Divide by zero
at gml_Object_objPlayer_StepNormalEvent_1 (line 209) - while ((!place_meeting(x+hTest,y-ySlope+(global.grav),objSlope) || (onSlope && !place_meeting(x+hTest,y-ySlope+(global.grav),objBlock))) && ySlope*global.grav > -floor(moveLimit*(hTest/hspeed)))
############################################################################################
I hope someone can help me, thx for any incoming help.