pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Mek's Sample Code

Mek's Sample Code - Collection-1

Sean J McKiernan (mekire)

Tags:

Description

I originally wrote most of these to assist others on forums and wanted to upload the ones that I have sitting around on my computer. Perhaps others may find them instructive....

Perhaps not.

Includes:

  • Changing the color of the screen with the mouse (basics intro).
  • Dragging an image around the screen with the mouse.
  • Moving a sprite in all 8 directions. (no animation)
  • Four direction movement (with animation)
  • Rotating tank turret.
  • Punching a transparent hole in a surface.
  • Basic platforming and collision detection.

I would also like to encourage people to come and share your code, ask questions, and join in at the python-forum.org Game Development forum.

-Mek

Links

Home Page: https://github.com/Mekire/meks-pygame-samples

Screenshot


click to view original size

Releases

Mek's Sample Code - Collection-1 - May 16, 2013

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

Aug 2, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)