~/talk

Making games in pygame

Talkat PyCon Australia 2013 · 2013-07-05..07-07· [game-development, creative-coding]
links:none on file
slides:none on file

Shows how to build working games with pygame on Python 2.7, including a one‑week game made for PyWeek and an Android title (Tilt Worm) mentioned as available on Google Play. Covers creating and blitting pygame surfaces, handling input via events and mouse/key state, drawing shapes and images with convert_alpha, managing timing with clock.tick and FPS caps, collision with rects and sprite groups, simple physics/bouncing, loading streaming music vs Sound objects, and using sprite.kill to avoid lag. Performance caveats and concrete code patterns included.

AI-written summary · about

  1. 0:00Introduction to Pygame
  2. 1:13Setting up Pygame
  3. 2:10Display surfaces
  4. 7:46Drawing shapes
  5. 9:21Working with Rects
  6. 12:33Event handling
  7. 16:41Keyboard input
  8. 18:01Time and frame rates
  9. 19:34Image loading
  10. 22:37Using Sprite groups
  11. 27:14Audio and music
  12. 30:52Development tips
  13. 34:20Q&A session
~/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.