Jump to content

Recommended Posts

Posted

How can I implement a change of window to full screen after activating the option in the options menu?

Do I have to force the user to restart the game?
Or can I do it with the program running live?

 

GUI5.thumb.png.ede981fd1ef598a35849f68adf2b50a0.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted
1 hour ago, reepblue said:

To be honest, I just request the user to restart. This prevents anything relying on the context to not break when the user changes the window mode. 

image.thumb.png.f448a4c638be0fb186401d67b0ac6e95.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted
On 9/14/2021 at 1:42 PM, Josh said:

The context is deleted, but the world is not.

The GUI is also deleted, the thing is that in the resolution change it seems that the GUI is broken, it does not draw the menu correctly in the coordinates, I think I have to delete it and create it again.

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...