M
M
Maxim Siomin2020-06-11 22:09:46
Python
Maxim Siomin, 2020-06-11 22:09:46

How can I make the game display in a non-windowed way?

I have a pygame game, how do I make it show up not as a window with buttons on top, but as a real game

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Golov, 2020-06-15
@MaxSiominDev

When creating a window, add the line pygame.FULLSCREEN to the end

screen = pygame.display.set_mode((1920, 1080), pygame.FULLSCREEN)

A
Alexander, 2020-06-11
@NeiroNx

toggle_fullscreen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question