-
Notifications
You must be signed in to change notification settings - Fork 0
1. Getting Started
Matt edited this page Sep 19, 2025
·
2 revisions
This guide will help you install Scribe Engine, create your first project, and understand the basic concepts needed to get a game running.
- Download the latest Scribe Engine executable for your operating system from the [releases page].
- Run the executable. No installation is required.
- The integrated development environment (IDE) will launch automatically.
If you prefer to run from source or contribute to development:
git clone [repository-url]
cd ScribeEngine
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
python3 gui_launcher.py- From the startup screen, click "Create New Project".
- Fill in your project name.
- Click "Create Project".
Scribe Engine will generate a folder for your project with the following files:
MyGame/
├── project.json # Project configuration and metadata
├── start.tgame # Your main story file
├── systems.py # An empty Python file for custom logic
├── custom.css # An empty CSS file for custom styling
└── assets/ # A folder for images, sounds, etc.
- After creating your project, the IDE will open automatically.
- Click on start.tgame in the file sidebar to open it.
- Replace the default content with the following:
:: start
{$ player.name = "Adventurer" $}
<h1>Chapter 1: The Crystal Caves</h1>
<p>Welcome to the Crystal Caves, <b>{{player.name}}</b>!</p>
<p>You have <i>{{player.health}} health</i> and <i>{{player.energy}} energy</i>.</p>
Your adventure begins at the mouth of an ancient cave system. Strange blue crystals embedded in the walls pulse with a soft, magical light.
What do you choose to do?
[[Examine the crystals->examine_crystals]]
[[Enter the cave immediately->cave_entrance]]
:: examine_crystals
{$ player.energy -= 5 $}
You study the crystals closely. They seem to respond to your touch, glowing brighter as you approach. You feel a slight warmth emanating from them.
<p><i>Your energy is now {{player.energy}}.</i></p>
[[Enter the cave with this new insight->cave_entrance]]
:: cave_entrance
The cave is dark, but the crystals you examined now seem to glow a little brighter, lighting your way forward. The air is cool and smells of damp earth.
[[Continue deeper->deeper_cave]]
:: deeper_cave
The adventure continues...
[[Start over->start]]
- Click the (now blue) ‘Save File’ button to save the file. The Preview Panel on the right will instantly update. You can now click the links and play through your first scene!
This simple example demonstrates the core features of Scribe Engine:
-
Passages: Sections of your story, defined with
:: passage_name. -
HTML: Standard HTML tags like
<h1>and<b>for formatting your text. -
Python Code: In-passage logic using
{$ ... $}to change variables likeplayer.energy. -
Jinja2 Templates:
{{ ... }}syntax to display the current value of variables. -
Links:
[[ ... -> ... ]]syntax to allow players to navigate between passages. -
State Persistence: The
player.energyvariable kept its new value when you moved to the next passage.
Next: Now that you have a basic game running, let's get familiar with the tool you'll be using to build it. Continue to Using the IDE.