You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the EzPyGame's Application class has no way to read and write these flags, so a property should be added for each possible flag:
pygame.FULLSCREEN create a fullscreen display
pygame.DOUBLEBUF recommended for HWSURFACE or OPENGL
pygame.HWSURFACE hardware accelerated, only in FULLSCREEN
pygame.OPENGL create an OpenGL-renderable display
pygame.RESIZABLE display window should be sizeable
pygame.NOFRAME display window will have no border or controls
The text was updated successfully, but these errors were encountered:
If you go to my Demented repo, under main.py you should find what you need. If you cant find it I will explain here anyways what I do to achieve this.
I used a dictionary for reading my startup variables such as fps, screen mode, resolution etc. This can simply be done by using the dictionary to store the values you want to use also you can save pygame.FULLSCREEN as a variable and refer to that variable in the function.
With
pygame
, one can call theset_mode()
with display flags: https://www.pygame.org/docs/ref/display.html#pygame.display.set_modeCurrently the EzPyGame's
Application
class has no way to read and write these flags, so a property should be added for each possible flag:The text was updated successfully, but these errors were encountered: