eragon100
February 2nd, 2009, 08:46 PM
Hello guys!
I am creating a space shooter with python and pygame, which is going great basically. ("scrolling" background, enemy ships, shooting, scoring, shields, hull, sounds, collision detection etc are all working :D)
However, the game currently has only a terminal "menu" for choosing video mode, so I decided to modernize this by making a GUI version, ran from the main program as a module, which allows the user to sets it with a button click, and then returns the value to the main program. For some reason tough, this simple stand-alone application isn't working. Python on the terminal doesn't show any error tough, it just doesn't do anything.
Can anyyone tell me what I am doing wrong? The code is here on pastebin.com:
http://pastebin.com/m1b6e15d6
I am creating a space shooter with python and pygame, which is going great basically. ("scrolling" background, enemy ships, shooting, scoring, shields, hull, sounds, collision detection etc are all working :D)
However, the game currently has only a terminal "menu" for choosing video mode, so I decided to modernize this by making a GUI version, ran from the main program as a module, which allows the user to sets it with a button click, and then returns the value to the main program. For some reason tough, this simple stand-alone application isn't working. Python on the terminal doesn't show any error tough, it just doesn't do anything.
Can anyyone tell me what I am doing wrong? The code is here on pastebin.com:
http://pastebin.com/m1b6e15d6