Session 6: Demo recording
Session 6 uses pure pygame (no pgzrun), so a WebAssembly demo doesn’t apply. Show a GIF of the solution on the session page.
How to record
- Run the solution:
cd code/sessions/06-platformer/solution && python main.py. - Use a screen recorder:
- Linux: Peek or SimpleScreenRecorder.
- Windows: ScreenToGif.
- macOS: QuickTime → export to GIF via ffmpeg or Kap.
- Record ~12 seconds: show the player jumping, collecting a star and the win screen.
- Save as
platformer.gifinstatic/sessions/06-platformer/. - Refer to it in the worksheet via:
.
Target size: ~800×500 pixels, ≤ 2 MB.