Python-first
Script gameplay in Python 3.12 with type hints, editor completion, and a documented engine module.
Pite 0.5.0 is out See what's new
Build 2D games with Python, a visual editor that respects your time, and scene files you can read. Export a standalone game for Windows, Linux, or macOS in one command.
Why Pite
Pite is built around the workflow you already know, not a framework you have to learn first. Everything stays readable, editable, and yours.
Script gameplay in Python 3.12 with type hints, editor completion, and a documented engine module.
Compose games from readable nodes. Scenes are TOML files that diff cleanly and stay editable by hand.
Viewport gizmos, inspector, code editor, error gutter, and project settings — all in one window.
One project exports to Windows, Linux, and macOS. Players need no Rust or Python installed.
Rigid bodies, character bodies, collisions, and joints through a pure-Rust Rapier integration.
Keep the game running while you edit scripts and scenes. Changes appear without a restart.
import pite
class Player(pite.Node2D):
speed: float = 200.0
def _process(self, delta: float):
if pite.held.right:
self.position.x += self.speed * delta
if pite.held.left:
self.position.x -= self.speed * delta
Python-first
Write gameplay in the language you already know. Pite's embedded Python runtime exposes nodes, signals, physics, audio, and input through one typed module.
_ready and _process hooks plus typed signals.
Quickstart
Install Pite, scaffold the Gem Collector template, and open the editor. Press play and the game runs.
Read the quickstartcurl -fsSL https://raw.githubusercontent.com/piteengine/pite/main/install.sh | sh
pite new gem-collector --template gem-collector
cd gem-collector && pite
irm https://raw.githubusercontent.com/piteengine/pite/main/install.ps1 | iex
pite new gem-collector --template gem-collector
cd gem-collector; pite
Python 3.12 must be installed to run games inside the editor.
Free and open source. Licensed under MIT or Apache-2.0.