So i tried to make a game..
I made a game,it worked..But now,after i get to the login screen,the game crashes with this:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object GMS:
DoDiv :: Divide by zero
at gml_Script_wle_draw (line 234) - _scale = min((y2 - y1) / _h, (x2 - x1) / _w, 1);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_wle_draw (line 234)
called from - gml_Script_XWindow_totaldraw (line 1) - if(global.__xls_open) wle_draw(global.__xls_window, 1, true)
called from - gml_Script_gms_draw (line 45) - XWindow_totaldraw();
called from - gml_Object_GMS_DrawEvent_1 (line 1) - gms_draw()
What the heck do i do ? I cant fix this.
Replies (3)
Last message on 29 Aug 2018
Size43
(Administrator)
on
29 Aug 2018, 16:57:07
This might be happening if a textbox contains no text - i.e. no placeholder text and no text entered by the player.
Do you have any custom window configuration?
jdev
on
26 Aug 2018, 20:21:27
Have you installed the extension correctly?
Have you included gms_draw() correctly in the GMS object's draw event?
I did everything you mentioned,it also dissapears sometimes