Coldwave Read the docs

Coming from Unreal#

Coldwave is a much smaller engine, made for games one person or a small team can hold in their head. Moving a game over is a rebuild: the design and the models carry across, the code and Blueprints do not. There is no importer for Unreal projects yet. Check what works today before you start: there is no level of detail, no reflection probes, and at most eight point and spot lights.

What maps to what#

UnrealColdwave
ActorA thing: a number with an optional name, made of components (things)
Actor and Scene ComponentsComponents: Transform, Mesh, Light, Body
LevelA scene: a TOML file of named things and their components (scenes)
Blueprint graphA script in Luau or C#
C++ gameplay classesScripts in C# or Luau; the engine's own code is Rust
Tick(DeltaTime)One step(dt), called 60 times a second at a fixed step
BeginPlayon_scene(name), called when a scene has started
Event dispatcherssend("hit", thing, 1) in one script, events("hit") in another
Data Assets and Data TablesA data file a script reads (data("levels/one.toml"))
Enhanced Input actions[input] actions and [input.keys] in game.toml
Automation testsA recorded run that frost test replays to a checksum (recorded runs)

Movement#

An actor that slides along x. In Unreal C++:

C++
void AHero::Tick(float DeltaTime)
{
    Super::Tick(DeltaTime);
    AddActorWorldOffset(FVector(Speed * DeltaTime, 0.f, 0.f));
}

In Coldwave, with speed = 90 under [tuning] and a thing named hero:

Luau
function step(dt)
    local hero = find("hero")
    set(hero, "Transform", "x", get(hero, "Transform", "x") + tuning.speed * dt)
end

What carries over#

  • Models and animation, as glTF: meshes, materials, rigs and clips. Second UV sets, lights and cameras inside a glTF are not read yet.
  • Your design. Levels, rules and tuning move across as ideas. An AI agent can rewrite scenes and scripts with you, a scene at a time.

What changes#

  • Code is rewritten. Blueprints and C++ become scripts.
  • The renderer is smaller. No bounce light, no screen-space reflections, no level of detail (3D rendering).
  • The tick is fixed. Every step is 1/60 s of game time, so the same input always plays the same game.

Next#

Your first game, starting from the embers template, a small third-person game in 3D. Third-person 3D game has the exact steps.