U
Ukaygee
Guest
Hey, so I'm having a few issues with resizing the game window.
First of all, when I resize it, text on the screen gets re-positioned from:
being in the centre of the screen,
to not being in the centre.
To fix this, I tried using the following code:
This worked, however the black bars were no longer there, and the screen got stretched and squashed.
Also, would there be a way for me to resize the text relative to the scale of the screen?
First of all, when I resize it, text on the screen gets re-positioned from:
being in the centre of the screen,
to not being in the centre.
To fix this, I tried using the following code:
Code:
surface_resize(application_surface, display_get_gui_width(), display_get_gui_height());
Also, would there be a way for me to resize the text relative to the scale of the screen?
Attachments
-
9.7 KB Views: 1