Thread
:
python/pygame help needed
View Single Post
Khertan
2011-06-20 , 12:48
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#
2
1) pygame.gfxdraw is needed because not all module of pygame are imported by default
2) Surface is where you draw, ... imagine it that you draw in a buffer.
3) To transfer the buffer to the real screen. (to simplify as it s still a buffer)
I suggest you to read the documentation and particulary the examples :
http://www.pygame.org/docs/
And also this beginner tutorial :
http://www.learningpython.com/2006/0...game-part-one/
__________________
Benoît HERVIER, Khertan
KhtEditor - Sdist_Maemo - Khweeteur - PyPackager - KhtSimpleText - KhtNotes - KhtBMA - Wleux - and more ...
Quote & Reply
|
The Following 2 Users Say Thank You to Khertan For This Useful Post:
Captwheeto
,
pelago
Khertan
View Public Profile
Send a private message to Khertan
Visit Khertan's homepage!
Find all posts by Khertan