Hi everyone,
I was wondering if anyone could help me fix this bug that I've been struggling to fix for weeks.
I have a level select screen which draws "Level 1, Level 2" etc. text under the level icons, along with "Title" and "Select a Level". When I first open this room the text is drawn in the correct place, however after playing a level and clicking the button to quit back to the level select screen, the text is then drawn in the wrong place for all text.
Does anyone have any idea what is causing this and how to fix it? I thought it was something to do with draw_set_halign but deleting this code from all text in the game hasn't solved the issue.
This is the code I'm using on my Draw_GUI event:
draw_set_font(font_default);
draw_text_shadow(x-30, y+68, "LEVEL 1", font_default, 1, c_black, c_black);
draw_text_shadow(x-30, y+66, "LEVEL 1", font_default, 1, c_black, c_white);
Many thanks,
Mike
I was wondering if anyone could help me fix this bug that I've been struggling to fix for weeks.
I have a level select screen which draws "Level 1, Level 2" etc. text under the level icons, along with "Title" and "Select a Level". When I first open this room the text is drawn in the correct place, however after playing a level and clicking the button to quit back to the level select screen, the text is then drawn in the wrong place for all text.
Does anyone have any idea what is causing this and how to fix it? I thought it was something to do with draw_set_halign but deleting this code from all text in the game hasn't solved the issue.
This is the code I'm using on my Draw_GUI event:
draw_set_font(font_default);
draw_text_shadow(x-30, y+68, "LEVEL 1", font_default, 1, c_black, c_black);
draw_text_shadow(x-30, y+66, "LEVEL 1", font_default, 1, c_black, c_white);
Many thanks,
Mike