Mascarpone ๐ง
Interactive CLI tool for scaffolding Tiramisu game projects
Named after the Italian cream cheese used in tiramisu, Mascarpone provides a delightful TUI experience for creating new game projects with the Tiramisu game engine.
Installation
gleam add mascarpone
Usage
Run the interactive project creator:
gleam run -m mascarpone
The TUI will guide you through:
- Lustre Integration: Choose whether to include Lustre for UI overlays (menus, HUDs, etc.)
- Project Template: Select from:
- 2D Game - Orthographic camera and sprite setup
- 3D Game - Perspective camera with lighting
- Physics Demo - Physics-enabled objects
What It Creates
Mascarpone generates a fully-configured Tiramisu project with:
gleam.toml
with all necessary dependencies.gitignore
for Gleam projects- Main source file with a working game example
- Lustre dev tools configuration (if selected)
- Three.js and Rapier3D CDN imports (via import maps)
Features
- ๐จ Beautiful TUI powered by Shore
- ๐ Quick project setup with sensible defaults
- ๐ฎ Multiple game templates to start from
- ๐ฆ Automatic dependency management
- โ๏ธ Configurable options for Lustre UI and Rapier3D physics
After Creation
Once your project is created, run the dev server:
gleam run -m lustre/dev start
Then open http://localhost:1234 in your browser to see your game!
License
MIT