lumentera

Lumentera: Reclaim the Light

A standalone Pygame prototype for an elemental restoration platformer.

The working title is Lumentera: Reclaim the Light. Lumentera is the living land of Lume, an ancient light-resource now being extracted by MarrowWorks after Prince Pomelo broke his pledge of stewardship.

Concept

Prince Pomelo was sworn to protect the old balance, but he sold extraction rights for oil, gold, silver, and sacred Lume. MarrowWorks machines now strip the land, poison its roots and waters, and dim the light that keeps the four kingdoms alive.

The player takes the form native to each elemental world and restores the balance one kingdom at a time:

Progression is tier-based: the player clears Level 1 in each world before the Level 2 tier opens, then does the same for Level 3. Each world grants and later upgrades its own elemental discipline.

Current Prototype

The prototype is a Pygame side-scroller with:

Code Layout

main.py is only an entrypoint. The implementation is split by responsibility:

Run

python -m venv .venv
.\.venv\Scripts\python -m pip install -r requirements.txt
.\.venv\Scripts\python main.py

Or use:

.\run.bat

Controls

Included Assets

This folder includes the sprite frames and generated world assets required by the prototype:

Generated source sheets and previews are kept under tmp/imagegen and tmp/*_screens as a development paper trail.

Verify

For a quick syntax check:

.\.venv\Scripts\python.exe -m py_compile main.py settings.py assets.py sound.py entities.py level.py rendering.py game.py

Rust/WASM Browser Spike

A separate four-world spike tests a deterministic Rust guest plus a JS hypervisor (host-fed sprites, live theme swaps, WebAudio, fixed-step loop). See docs/rust-wasm-spike.md. It does not replace the Pygame build.

python3 tools/build_rust.py
python3 tools/serve_rust.py   # http://localhost:9001/rust/web/