Making Games With PPB
summary
PursuedPyBear is an education-focused Python game framework that opens a window with two lines of code (import ppb; ppb.run). It uses sprites with attributes (position, rotation, size), an event loop where movement is done in on_update using vectors scaled by update_event.time_delta (example speed 4 moving from (5,5) to (-6,-6)), and custom events as simple dataclasses emitted via signal(MyEvent, self) to change state (click to retarget and turn a square red). Scenes form a stack (push/replace/pop) and systems span scenes.
AI-written summary · about
chapters (14)
- 0:00Start
- 1:53Goals
- 2:22Why Am I Pitching Ppb
- 4:10Sprites
- 6:56Event Handlers
- 10:55What Are Events
- 11:16Update Event
- 11:29Key Events
- 12:32How Do You Define Your Own Events
- 13:13Data Classes
- 15:50Scenes
- 17:41Lifestyle Events
- 18:03Reusing Code
- 22:10Systems
related talks
28mMaking Games
37mGame Programming with Python and PyGame, by Mr Valdez - Part 2
36mGame Programming with Python and PyGame
30mReflections on the Use of Python and Pygame in Senior IT
28mPress Play with PyGame
27mLevel Up with Python: Building a Shooter Game Live with PyGame
57mGame Programming with Python
01h 46mDevelop Games with Panda3D and Python
