# What works today

This page describes `frost` 0.0.1 r289, its 8 templates and its 107 protocol commands.

Coldwave is pre-release. This page tells you plainly what works and what is not built
yet, so you can decide whether it fits your game and plan around the gaps. When
something on this page ships, it leaves the page and gets a line in the
[changelog](changelog.md).

## Where your game runs

| Where | How well it works today |
| --- | --- |
| macOS on Apple silicon | Fully tested: this is where the engine is built and checked |
| The web (Chrome) | Tested: WebGPU and WebGL2 builds, playing a recorded run to the same checksums as the desktop |
| iPhone | `frost export ios` works in the simulator only. It has not been tried on a real device, and it does not sign the app yet |
| Android | `frost export android` makes an apk for arm64, tested in the emulator only and signed with a debug key |
| Linux | A `frost` with no window passed the core, script and physics tests and replayed the engine's test games to the Mac's checksums on arm64. Its window and sound have not been tried there |
| Windows, x64 | Meant to work, but nobody has verified it yet |
| Consoles | Not started: it needs agreements with the platforms. The engine's rules (no JIT, portable C and C++ only) keep a port possible |

Coldwave is in private development: there is no public download yet. The first release
will be a download for macOS on Apple silicon, not signed at first, so macOS will need its
download mark taken off once ([install](start/install.md)). Coldwave will be open source
at launch, under MIT or Apache-2.0. 

## Coming next

Being built now, and not in `frost` yet: a [physical sky](soon/physical-sky.md),
[GPU skinning](soon/gpu-skinning.md), [engine effects](soon/effects.md) (cards,
flipbooks, blend modes, `Mesh.shadows`), JPEG import, C# on phones, and a fix for an
Android app whose screen the system closed while the app was still running.

## Rendering

- At most eight point and spot lights, and a light that is off still counts.
- Point lights cast no shadows. The sun has one shadow map, with no cascades.
- No bounce light, no reflection probes, no screen-space reflections: metal mirrors the
  sky only.
- No level of detail and no distance culling for models (a `Ground` does choose its
  detail by distance).
- No water, no vegetation or scatter system, no trails, no decals. An `Emitter`'s
  specks are untextured squares. Text has no outline.
- No JPEG import and no compressed textures (KTX2). Of glTF, second UV sets, other
  extensions, lights and cameras are not read (`W0460` tells you what was left out).
- No GPU timers per render pass: `frost bench --draw` times the CPU side and the submit.

## Animation

- A clip cannot be shared between models that have one rig.
- A model's node cannot be hidden.

## Physics

- No mesh or convex colliders: boxes, spheres, capsules, cylinders and height-field
  ground.
- A collider cannot be offset from its thing's `Transform` (put it on a child thing).
- Of 3D joints, a `"wheel"` joint (a `Vehicle` is the car), a weld's `spring` and a
  distance joint's `power` are refused, and a `"ball"` joint has no limits.

## Input and sound

- No key names for Shift, Ctrl or Alt; no mouse capture and no mouse look.
- A played sound has no handle: you cannot stop or loop it. Placing one in 3D is a
  left-to-right pan and a fade with distance, nothing more. One music track at a time.

## C#

- C# runs on the desktop only. Phones (through Native AOT) are in progress. The web runs
  [Fusion](guides/fifth.md), a subset of C# that cannot spawn things, read input, play
  sounds or load scenes.
- Multiplayer refuses a game in C# (`E0543`).
- Libraries are compiled into each script, so in practice one script is the root that
  composes the rest. A library's compile errors are reported at the script.
- `[State]` holds only `bool`, `int`, `uint`, `float`, `double` and `Thing`.
- A spawned thing is seen the next step, and a script cannot read an event it sent.
- `World.Spawn` takes at most 8 component names. `HashCode` and `GetHashCode` differ
  from run to run: never let them decide anything in your game.

## Tools

- Cooked assets and runs are written to your user cache folder unless you set
  `FROST_CACHE`.
- There are no unit tests for scripts yet: you test a game by its recorded runs.
- `frost bench` counts no allocations.

## Multiplayer

Rollback multiplayer between players over UDP is built. Not yet: taking back the seat of
a host who left, a relay, a lobby that finds games, multiplayer in the web player, C#
games, and a network view in the editor.
