Quickstart
Install Open Game Backend
- Install Git
- Install Deno
- Install Open Game Backend:
Create project
Create a new project by running the following command:
This creates a backend.json
config file. See the project configuration here.
Add modules
The default project comes with a set of modules preinstalled. For example, install the lobbies
module by running the following command:
This adds the lobbies
module to the backend.json
file. You can also install modules manually by adding them to this config.
Run development server
The development server is great for testing your scripts locally. This will build & run your backend locally & hot reload when you make changes to the configuration.
Generate SDK (optional)
Open Game Backend will generate an SDK with type-safe methods to call your scripts.
Replace <output>
with the path where you want to generate the SDK. Replace <target>
with the target language.
See the SDK docs for instructions on how to use the generated SDK.
Godot, Unity, Unreal, and Rust SDKs coming soon.