Tutorials
Short hands-on tutorials that each build one feature: menus, saves, physics, sound, services, bricks, tests, Android and servers.
Menus with keyboard and gamepad
Build a main menu whose buttons work with the mouse, the keyboard and a gamepad.
Save and resume
Save a score with the versioned save system and resume it the next time the game starts.
Physics playground
Install the physics bricks, make boxes fall and collide, push a body from a script and build a small ragdoll.
Sound and music
Install the audio bricks, import a clip, play it from a script on a key press, loop background music and adjust its volume.
Services with dependency injection
Register a service in a module, inject it into a component and choose its lifetime: application, session or scene.
Data-driven design
Define an enemy as a data asset, tune its values in the Inspector and reference it from a component, without touching code.
Your first brick
Make a brick that adds a component, install it into a project and use it from the Inspector and from code.
Test and CI
Write a headless component test with scripted input, run it with turian-cli, read the JUnit report and run it in CI.
Export for Android
Add the Android platform brick, check the toolchain, build an Android profile and run the game on a device or emulator.
Dedicated Server
Build a windowed client and a headless dedicated server from the same scenes and scripts, and run both.
Async Tasks
Run work on a worker thread with the async scheduler, then apply its result on the game thread from the game loop.