Python Forum
[PyGame] Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle
#2
update_Hauptmenu() calls pytame.display.update(), but it does nothing to "erase" sprites that have been removed. There is no erasing in Pygame, so if you want to erase something from the screen you have to paint over it, then draw all your sprites, and finally call display update() or flip().
Reply


Messages In This Thread
RE: Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle - by deanhystad - Jan-15-2023, 05:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame, sprites, and rects menator01 12 2,242 Dec-07-2023, 02:37 AM
Last Post: Benixon
  player just randomly teleporting to the edge of a platform in pygame BliepMonster 5 2,465 Jan-26-2023, 10:12 PM
Last Post: deanhystad
  [PyGame] Pygame is treating blob_group as a surface, when I need it to treat it as a Sprite. Swagford 1 1,374 Jan-24-2023, 09:58 PM
Last Post: metulburr
  FileNotFoundError when I try putting sprite in Pygame zionkozisek 9 16,484 Dec-09-2020, 04:42 AM
Last Post: zionkozisek
  [PyGame] My Pygame Sprite not appearing... noodlespinbot 3 3,915 Oct-30-2020, 06:51 AM
Last Post: robinmurphy
  My Pygame Sprite not appearing... noodlespinbot 1 2,318 Apr-08-2020, 11:25 AM
Last Post: pyzyx3qwerty
  [PyGame] Sprite image.get_rect() moves sprite to 0, 0 michael1789 2 4,677 Dec-13-2019, 08:37 PM
Last Post: michael1789
  [PyGame] I found a way to generate sprites without .blit. Is it effecient? xBlackHeartx 19 8,771 Dec-07-2019, 01:06 PM
Last Post: metulburr
  Randomly selecting sprite from group? michael1789 5 4,247 Nov-14-2019, 10:43 PM
Last Post: michael1789
  Pygame sprite not moving michael1789 1 2,905 Nov-10-2019, 03:54 AM
Last Post: michael1789

Forum Jump:

User Panel Messages

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