Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Cleanup
Source Link
DMGregory
  • 136.3k
  • 22
  • 247
  • 373

Positioning a Window to Fill the Screen

I'm using Pygame (just started), and I'm struggling to find how I set the position of the window to fill my entire monitor screen,.

I can move things around within the screen / surface. I can make the screen the right size to fill my monitor (can drag it with my mouse to the right place), but can't find how to set the top LH-left corner of the surface to the top LH-left corner of my monitor. I'm using sprites.

It's probably a really stupid question but I just can't find the answer,... Any help / advice gratefully recieved.

G

Positioning a Window

I'm using Pygame (just started), and I'm struggling to find how I set the position of the window to fill my entire monitor screen, I can move things around within the screen / surface. I can make the screen the right size to fill my monitor (can drag it with my mouse to the right place), but can't find how to set the top LH corner of the surface to the top LH corner of my monitor. I'm using sprites.

It's probably a really stupid question but I just can't find the answer,... Any help / advice gratefully recieved.

G

Positioning a Window to Fill the Screen

I'm using Pygame (just started), and I'm struggling to find how I set the position of the window to fill my entire monitor screen.

I can move things around within the screen / surface. I can make the screen the right size to fill my monitor (can drag it with my mouse to the right place), but can't find how to set the top-left corner of the surface to the top-left corner of my monitor. I'm using sprites.

Source Link

Positioning a Window

I'm using Pygame (just started), and I'm struggling to find how I set the position of the window to fill my entire monitor screen, I can move things around within the screen / surface. I can make the screen the right size to fill my monitor (can drag it with my mouse to the right place), but can't find how to set the top LH corner of the surface to the top LH corner of my monitor. I'm using sprites.

It's probably a really stupid question but I just can't find the answer,... Any help / advice gratefully recieved.

G