Starter templates
A starter template adds a set of object types to a new project, with their fields already set up, so you begin with a working structure and not an empty project. It's a quick way to try Stoatly, or to start a game in a familiar genre. You choose one when you create a project. Every type is built from a preset, so you can change all of it afterwards.
The templates
| Template | What it's for | Object types |
|---|---|---|
| Blank | Starting from scratch | None |
| RPG | A role-playing game with items, weapons, armour, characters, abilities, quests and levels | Item, Weapon, Melee Weapon, Ranged Weapon, Armour, Consumable, Character, Hero, Enemy, NPC, Ability, Attack Ability, Support Ability, Quest, Level |
| Platformer | A side-scrolling platformer with heroes, enemies, collectible items and levels | Character, Hero, Enemy, Item, Level |
| Shooter | An action shooter with heroes, enemies, ranged weapons and levels | Character, Hero, Enemy, Ranged Weapon, Level |
| Card Game | A collectible card game with creature and spell cards and a playable hero | Card, Creature Card, Spell Card, Hero |
| Strategy | A real-time or turn-based strategy game with units, buildings and maps | Unit, Building, Level |
Choose what to include
In the second step of the New Project dialog, pick a template. A preview lists its object types, each with a tick box, and indents the ones that inherit from another type. Untick anything you don't want. Blank has nothing to tick.
If you untick a type that others build on, or the template includes a type but not its parent, the child type is created on its own with its parent's fields copied in. For example, the Shooter template has a Ranged Weapon but no Weapon or Item, so Ranged Weapon arrives with the fields it would have inherited. Inheritance explains how that works.
After you create the project
The object types are ready to open on the Objects page. Add or change fields, rename things and delete what you don't need. Nothing is final until you send your changes in a pull request.
You can add more presets later with From preset on the Objects page.