Ive been trying to make a game recently but all pygame windows freeze. i have to use the Task Manager to exit. I also have to use it to exit a fullscreen too. All im doing in my code is opening a blank screen. How can i fix that?
TheSkunkMan 0 Newbie Poster
Recommended Answers
Jump to PostThis the most basic test for PyGame that I have, give it a fly ...
import pygame from pygame.locals import * yellow = (255,255,0) # RGB color tuple # initialise screen pygame.init() screen = pygame.display.set_mode((350, 250)) pygame.display.set_caption('Basic Pygame program') # fill background background = pygame.Surface(screen.get_size()) background = …
Jump to PostMake sure you have the right version of PyGame downloaded. I use Windows XP and Python24 so I downloaded the installer file:
pygame-1.6.win32-py2.4.exe
from http://www.pygame.org/
All 7 Replies
a1eio 16 Junior Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
TheSkunkMan 0 Newbie Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
bumsfeld 413 Nearly a Posting Virtuoso
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
TheSkunkMan 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.