Skip to main content

Mek's Sample Code - Collection-1

A collection of some simple pygame examples I wrote to illustrate basic concepts.


Sean J McKiernan
(mekire)

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

Changes

Links

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

Releases

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

Pygame.org account Comments

  • abody 2013-05-16 19:54

    nice bro ., <3

  • ibrahim 2013-12-31 09:22

    grt

  • a student 2016-02-10 12:52

    How to download pygame module 3.4.2 win32 version