Bitflinger Games docs

Guide

The guide explains how games are put together and everything a layer can do. If you're new, start with Learn and come back here when you want the whole picture.

The short version

You make a game by building a layer on someone else's game, or by starting a root of your own. A layer can change only what the root opened and no layer below it sealed, and it talks to the game through one small API called Variations.

You canYou cannot
Change any rule the root openedChange a rule a layer below you sealed, or one the root never opened
Add rules, zones, items and slot fillers of your own, where the root opened that kindOpen something yourself. Only the root's open list counts
Replace a zone, an item or a slot by registering one with the same nameRemove a zone or an item, or replace a file a layer below you shipped
Read every rule, place any item, hear every event and send any eventStop another layer hearing or sending an event
Seal anything, yours or your parent's, for games built on yoursUnseal what a layer below you sealed
Use code from the layers below you
Ship scripts, scenes, resources, shaders and textShip images, sound, models or anything else that is not text
Use the whole of Godot's nodes, physics, drawing and input inside your gameUse files, the network, threads, the operating system or engine settings

Pages

  1. How a game is built: layers, roots and the manifest.
  2. The API: rules, zones, items, slots and events.
  3. Extending a game: what a child layer can do.
  4. Starting your own game: roots, and deciding what others may change.
  5. Limits: what you cannot do, and what stops you.
  6. Checking and playing: running your game on a computer.
  7. A worked example: Tall Meadow, start to finish.
  8. Game pages: finding out what a game offers.
  9. Where the edges are: what is still soft.

For the exact name and arguments of every call, see the Reference.