A tkinter-based 2D RPG engine in Python, with optional I2C support for Raspberry Pi hardware. This playground runs the real package under Pyodide, with a browser stand-in for tkinter drawing to a canvas.
Controls
- Arrow keys or WASD: move
- Z or Enter: A button (talk, confirm)
- X or Backspace: B button (cancel)
- Escape or P: start (pause menu)
- Shift: select
Click the game canvas first so it receives your keypresses.
Install
pip:
pip install texastoast
Browser limitations
- Sprites need Pillow;
SpriteSheet and image drawing are desktop-only
- I2C hardware input is unavailable; keyboard only
- Errors inside the game loop print to the console strip rather than raising
Links
Apache-2.0 · Copyright 2026 magmacrunch media