Skip to content
RustingEngineGitHub

Tutorials

4 chapters10 min total
RustingEngine pages

Tutorials

All chapters
  1. 01

    Tutorial 1: Hello cube

    You will make the default cube spin and bob up and down, then check the motion with an automated test. You need a project made as in Getting started; this page calls it Hello Cube.

    10 minTutorials
  2. 02

    Tutorial 2: Coin Run from the command line

    You will create a complete 2D platformer, play it, change it without opening the editor, catch the change breaking the level with an automated test, take a screenshot, and export a finished build. Every step uses the rusting CLI, so the same loop works in scripts, CI, and for coding agents.

    Tutorials
  3. 03

    Tutorial 3: Gameplay plugins

    The rusting_game! API from Tutorial 1 is one function per frame. Real games want ECS systems: code that queries components, reads input, and runs at a chosen stage. This tutorial adds two systems to the Coin Run game from Tutorial 2:

    Tutorials
  4. 04

    Tutorial 4: GPU cube rain

    You will drop 2,000 cubes simulated on the GPU, get an event back from the GPU when each one falls past a line, and show a counter on screen. This is the pattern for debris, swarms, and crowds: the GPU owns the bodies, and the CPU hears only about the moments it cares about.

    Tutorials