[Pygame] Collection of examples.

[Pygame] Collection of examples.

Postby Mekire » Thu May 16, 2013 2:06 pm

I have collected the examples of mine that I felt were the best and thrown them up on pygame.org.

Mek's Sample Code

Included are:
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.

Hope some find this of assistance. If you have any suggestions, comments, or other things you would like to see, please let me know.
New Users, Read This
  • Use code tags when posting code.
  • Include any errors with your post (in code tags).
  • Describe your problem; not your chosen solution.
  • Make examples the minimum length to demonstrate your issue.
User avatar
Posts: 1592
Joined: Thu Feb 07, 2013 11:33 pm
Location: Tucson, Arizona

Return to Game Development

Who is online

Users browsing this forum: No registered users and 3 guests