Pite 0.5.0 is out See what's new

A game engine that's handy to use, to change, to own.

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.

  • ~20 MBhello-world export
  • ZeroRust or Python for players
  • 3 OSesfrom one project
The Pite editor with the Gem Collector example project open

Why Pite

Small engine. Familiar tools. No magic.

Pite is built around the workflow you already know, not a framework you have to learn first. Everything stays readable, editable, and yours.

Python-first

Script gameplay in Python 3.12 with type hints, editor completion, and a documented engine module.

Scene tree, not ECS

Compose games from readable nodes. Scenes are TOML files that diff cleanly and stay editable by hand.

A real editor

Viewport gizmos, inspector, code editor, error gutter, and project settings — all in one window.

One-command exports

One project exports to Windows, Linux, and macOS. Players need no Rust or Python installed.

2D physics built in

Rigid bodies, character bodies, collisions, and joints through a pure-Rust Rapier integration.

Hot reload

Keep the game running while you edit scripts and scenes. Changes appear without a restart.

scripts/player.py
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

Real Python. Real games.

Write gameplay in the language you already know. Pite's embedded Python runtime exposes nodes, signals, physics, audio, and input through one typed module.

  • Type hints and completion through the bundled Pyright language server.
  • Scripts are plain classes with _ready and _process hooks plus typed signals.
  • The same scripts run in the editor and in exported games.
Explore the scripting API

Quickstart

From zero to playable in three commands.

Install Pite, scaffold the Gem Collector template, and open the editor. Press play and the game runs.

Read the quickstart
curl -fsSL https://raw.githubusercontent.com/piteengine/pite/main/install.sh | sh
pite new gem-collector --template gem-collector
cd gem-collector && pite

Python 3.12 must be installed to run games inside the editor.

Make your next game with Pite.

Free and open source. Licensed under MIT or Apache-2.0.