[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] scissors paper rock crash



Hey i used this code as suggested for my scissors paper rock movie
 
def movieu(self):
        mov_name = "video.mpg"
        pygame.mixer.quit()
        screen = pygame.display.set_mode((320, 240))
        video = pygame.movie.Movie(mov_name)
        screen = pygame.display.set_mode(video.get_size())
        video.play()
        while video.get_busy():
            for event in pygame.event.get():
                if event.type == pygame.QUIT:
                    break
        pygame.quit() #uninitializes pygame modules.
        sys.exit() #you should usually call this after pygame.quit() so the program quits. Otherwise errors can occur :O
python.exe has encountered a problem and needs to close.  We are sorry for the inconvenience
is this the code or python or th computer
Cherrs
Nick Treloar 


This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender.