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
#3
I don't think you misunderstand. The window opens, the program starts running, and if it is running while I click on the title bar and move it, when I let go the sprites are all over the place and in places they should not be.

OK, so just this moment I did some experimenting. The problem is not really with moving the window, just clicking on the title bar. The enemies are trying to get me through the wall, but can't. I click and then appear on the other side of the wall. It gets weirder. I clicked and held the title bar, I heard a whole bunch of sounds like the enemies were taking damage, which then stopped. I let go and when the window drew the next frame all the enemies where gone. The player was unhurt by the enemies all killed each other... but they aren't coded to do that. lol.

I think I'll just make it start on Pause for now. If this all doesn't ring a bell then my describing it won't be of much use.

Once I'm done the tutorial maybe I'll nice it up and post a .zip for someone to run and look at if they want. It's really weird.
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 michael1789 - Jan-13-2020, 04:33 AM
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,686 Jan-19-2020, 08:25 AM
Last Post: michael1789
  Snake Game - obstacle problem Samira 3 5,646 Oct-31-2019, 02:58 PM
Last Post: Samira
  [PyGame] Game Logic problem with a "The Game of Life" Replication Coda 2 3,146 Dec-24-2018, 09:26 AM
Last Post: Coda
  [PyGame] Pong game key.event problem erickDarko 2 4,198 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