Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pygame keeps quitting
#4
What version of python and pygame are you using ?
import sys, pygame
print(pygame.version)
print(sys.version)
Curious. Try adding a clock or delay.
# after pygame.display.flip()
pygame.time.delay(10)
or
clock = pygame.time.Clock()
# after pygame.display.flip()
clock.tick(30)
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Pygame keeps quitting - by Benjipincus - Dec-20-2017, 08:36 AM
RE: Pygame keeps quitting - by metulburr - Dec-20-2017, 12:18 PM
RE: Pygame keeps quitting - by Benjipincus - Dec-20-2017, 12:49 PM
RE: Pygame keeps quitting - by Windspar - Dec-20-2017, 01:39 PM
RE: Pygame keeps quitting - by metulburr - Dec-20-2017, 02:28 PM

Forum Jump:

User Panel Messages

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