Python Forum
[PyGame] Problem when moving game window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Problem when moving game window
#1
When I start the program, the widow often opens off to the side and I need to move it to see the whole thing. I click the title bar, move the window, and when the game redraws all the sprites have moved and are in places they shouldn't be able to get to. This doesn't happen if the game is paused.

Is there a way to stop this or is it just something basic to python? Perhaps I can code it pause while the title bar is clicked on? If you know of how to code where the window should open on my monitor that would work, but I'd rather just fix the problem.
Reply


Messages In This Thread
Problem when moving game window - by michael1789 - Jan-12-2020, 04:25 PM
RE: Problem when moving game window - by metulburr - Jan-12-2020, 11:16 PM
RE: Problem when moving game window - by metulburr - Jan-14-2020, 07:38 PM
RE: Problem when moving game window - by metulburr - Jan-14-2020, 10:32 PM
RE: Problem when moving game window - by metulburr - Jan-15-2020, 12:07 PM
RE: Problem when moving game window - by metulburr - Jan-15-2020, 08:44 PM
RE: Problem when moving game window - by metulburr - Jan-15-2020, 09:44 PM
RE: Problem when moving game window - by metulburr - Jan-16-2020, 11:43 AM
RE: Problem when moving game window - by metulburr - Jan-17-2020, 01:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] Problem With Entering Game Loop ElevenDecember 3 2,663 Jan-19-2020, 08:25 AM
Last Post: michael1789
  Snake Game - obstacle problem Samira 3 5,608 Oct-31-2019, 02:58 PM
Last Post: Samira
  [PyGame] Game Logic problem with a "The Game of Life" Replication Coda 2 3,134 Dec-24-2018, 09:26 AM
Last Post: Coda
  [PyGame] Pong game key.event problem erickDarko 2 4,173 Dec-12-2018, 03:17 PM
Last Post: erickDarko

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020