Skip to content
RustingEngineGitHub

Tutorials

6 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
  5. 05

    Tutorial 5: Physics sandbox

    You will throw balls into a pile of crates. Starting from the sandbox template, a pile of crates and balls in a walled pen, you make one ball bouncy and add a key that throws balls from the camera. Each change is checked by a scenario test, and the last step proves the simulation gives the same result in debug and release builds.

    Tutorials
  6. 06

    Tutorial 6: Multiplayer physics

    You will turn Crate Drop from Tutorial 5 into a networked game. One dedicated server simulates every crate and ball. Players join it, see the same pile, and throw balls into it. A scenario test plays a client against a running server.

    Tutorials