![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Apr 2008
Posts: 9
Rep Power: 0
![]() |
Re: help!!
yeah it just prints a blank line
but in my book i got which is about game programming it said somethin about going into the files and findin a colorviewer or something when i did that i couldnt find it anywhere ![]() |
|
|
|
|
|
#12 |
|
Programming Guru
![]() |
Re: help!!
Okay. So your Pygame is fine. And should work properly as long as
dir(pygame) shows the expected list of functions (you still haven't said whether or not you've done this).colorviewer.py is just a basic Python script for testing Pygame. You don't need to run it. It's just a suggestion in case you're worried that Pygame won't work on your computer. |
|
|
|
|
|
#13 |
|
Professional Programmer
|
Re: help!!
Sane wuick question, since where in this subject of Pygame. When i create a basic window it will not close properly even after the main operational while loop has ended...it just crashes any ideas?
__________________
Steven Skiena - Algorithms |
|
|
|
|
|
#14 |
|
Programming Guru
![]() |
Re: help!!
The Pygame Documentation is a great reference. pygame.display.quit() will uninitialize the Pygame window. If you're running your program from IDLE, this call is necessary for the window to properly close. If you are running it via python.exe (by double clicking the .py file), the window should close without unitializing the display module. However, it's still best to call pygame.display.quit().
|
|
|
|
|
|
#15 |
|
Professional Programmer
|
Re: help!!
ah thanks sane, i guessed i would be after something like that i just couldnb't find it lol. My searching skills are poor aparently thanks alot
Cheers, Chris
__________________
Steven Skiena - Algorithms |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|