~/talk

Game Programming with Python and PyGame

Talkat PyCon Philippines 2012 · 2012-06-30..07-01· [python, creative-coding]
links:none on file
slides:none on file

Builds a playable shooter using Python and Pygame, implements a classic game loop (input, update, draw), maps screen pixels to x/y coordinates and uses simple rectangle collision math (x + width comparisons) for sprite hits, spawns enemies with random positions, and adds bullets. Frames-per-second control is explicit—mentions limiting to 60 frames per second. The demo runs but shows practical bugs: missed event handling that can freeze the window and a stray initial bullet placement that is worked around.

AI-written summary · about

  1. 0:00Game development intro
  2. 2:57Coordinate systems
  3. 5:53Collision detection basics
  4. 9:11Game loops and updates
  5. 11:18Python basics
  6. 14:09Pygame intro
  7. 15:03Basic Pygame window
  8. 17:26Game sprites
  9. 23:04User input handling
  10. 25:22Multiple enemies OOP
  11. 30:15Player shooting mechanics
  12. 33:58Bullet-enemy collisions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.