3D Worlds

What a 3D world is

A 3D world is not a different kind of game — it is a way of drawing a top-down scene: the camera rises, objects have models and height, and you walk in as if standing on a small patch of ground. Movement, pickups, gates, dialogue, combat and saves still work like any top-down world.

One world can mix ordinary top-down scenes, side-view platform scenes and 3D scenes. Only 3D scenes are drawn in 3D; the others stay exactly as they were.

A 3D scene: a door and two crates on an isometric floor, a player jumping over the low crate, with footprint and height marked
A model has a footprint (M×N) and a height (L); in test-run you can jump onto a crate, stand on it, and walk off the edge.
💡
A 3D scene carries a “3D” badge beside its name on the canvas, so you can spot it in the overview too.

Create a 3D scene

Right-click the world canvas and choose “+ New top-down scene (3D)”. The scene starts at 20×20 tiles with the spawn point in the middle; rename it, make it the main scene and start placing objects right away.

With a 3D scene selected, the toolbar shows “2D edit / 3D preview”. It opens in 3D preview by default: drag to orbit, scroll to zoom; click “2D edit” to return to the familiar top-down grid.

You can edit right inside the 3D preview: drag objects from the library onto the ground, click an empty tile to place, click to select, press and drag to move. Placement and dragging land back on the 2D grid, so collision, conditions and saves never change just because the view did.

💡
Placing, dragging, or switching to 2D and back keeps your camera; only changing scenes re-frames the view.

Sky and panorama

Every 3D scene has a sky dome (built-in variable `_sky`). By default it is a three-colour gradient from top to bottom; under “Sky” in the scene inspector you can change the top, horizon and bottom colours. Changes apply immediately and blend smoothly when switched.

For a more realistic sky, pick an image material for the dome: it wraps the scene from every direction like a 360° panorama photo. A standard equirectangular panorama is 2:1 (twice as wide as it is tall), with the horizon in the middle and left and right edges joining seamlessly.

Once an image is picked, a “panorama yaw” slider appears in the inspector. At 0° the centre of the panorama faces north — straight ahead in the default view — and dragging turns the view you want to the front. It only rotates the sky itself: no texture rebuild, no flicker. The seam starts behind you, out of sight.

There are two ways to get a panorama: upload your own 2:1 image with “Materials → New → slice”, or use “New → ✨ AI image → Sky panorama” to generate one from a description. Choose “None (gradient)” to return to the three-colour sky.

💡
Any image can go on the dome, but only a 2:1 equirectangular one looks undistorted. An image in use as the sky is protected in Materials — change the sky first, then delete it.

Get a model ready

Open “Materials → New → 🧊 New 3D model” and pick a .glb file. Keep each model under 800KB with its textures embedded; the editor creates a thumbnail and measures it automatically.

Any world can use “New → ✨ AI model”: describe what you want and let the Dream Weaver generate a model, then accept it into Materials.

On import a model is scaled so its longest horizontal side is one tile, centred horizontally and resting on the ground. Its footprint and height then decide how big it really is in the world.

💡
Models with fewer faces and small textures are smoother and faster in 3D scenes. No model at hand? Generate one with a sentence through “✨ AI model” and put it on an object right away.

Put a model on an object

Create or edit an object in the library. Its dialog has two tabs on the left: “3D” and “2D”. Open “3D”, pick the model you just uploaded, and a 3D preview appears below.

The “2D” tab still holds a sprite: it is used in ordinary top-down scenes, older versions, or if the model fails to load. Both tabs keep their data; switching only changes what you see.

SettingWhat it does
3D modelWhich model this object shows; empty = no model
2D spriteThe look used in flat scenes and as a fallback
HeightThe third dimension L (tiles); how tall the collision volume is
3D stretchOn = fill M×N×L; off = keep the model’s original size
CollisionNone / Model / M×N×L
💡
An object without a 3D model can still use a 2D sprite: in a 3D scene the sprite stands upright and always faces the camera.

Footprint, height and collision

M×N on the size button is the footprint in tiles; the “Height” field after it is the third dimension, L. For example 2×2 with height 3 is a volume two tiles square and three tiles tall.

With “3D stretch” on, the model is stretched to fill M×L×N; with it off the model keeps its original size, but L still sets the collision height. The 2D sprite has its own stretch switch, and the two never affect each other.

There are three collision choices: None = pure decoration you can walk through; Model = block by the scaled model’s bounding box; M×N×L = block by the volume you declared, which may be larger than the model and is useful for invisible walls.

⚠️
“Model” uses the bounding box, not a per-point fit around slopes or hollows; rotation and ramps do not take part in collision yet. When you need a more precise block, declare the volume with M×N×L.

Whichever you pick, the horizontal footprint is written into the 2D blocking tiles automatically — ordinary top-down scenes, older versions and flat gameplay all see the same blocking.

Test-run and multiplayer

Hit test-run and the 3D scene opens in 3D. Move with WASD or the joystick relative to the screen, jump with Space, interact with E; drag to orbit the camera and scroll to zoom.

Objects with height can be jumped onto: land on a crate top, walk across it, and fall off the edge; tall volumes block the way while low ones can be jumped over.

Once your feet rise far enough above the ground, ground pickups, trigger areas and E interactions are skipped for the moment — jump over ground coins or a trigger zone, and they are checked again when you land.

In a multiplayer world, jumping and height are computed by the world itself: when you jump onto a crate or drop off an edge, everyone sees the same position.

💡
Ordinary top-down scenes have no height and stay flat; platform scenes keep their own gravity rules.

Swap models by state

An object’s state row has two choices: a 2D sprite and a 3D model. When the condition matches, a 3D scene swaps to that model and a 2D scene swaps to that sprite.

If a state has a sprite but no model, a 3D scene keeps its current model instead of suddenly going flat; if it has a model but no sprite, a 2D scene keeps the base sprite.

💡
A common use: one model for a closed door and another for an open one, driven by variables such as lit, broken or open.

Playing model animations

If a model comes with animations, the editor reads the list on upload. In the object dialog’s “3D” tab, find “Base animation”: pick one clip or “All animations” to decide how the model moves by default.

State animations are driven by platform variables: give the state a condition (say “door_open equals 1”) and pick an animation. It plays while the condition holds; when it stops holding, the model returns to its base animation or rest pose.

OptionWhat it does
No animationKeep the model’s first frame / rest pose
All animationsPlay every clip at once (multi-part doors: leaf, handle, bolt)
One clipPlay only the selected clip
LoopOn = repeat; off = play once and hold the last frame
💡
A common setup: the door rests closed; make a “door_open” variable, add a state with condition “door_open = 1” and “All animations”, then set door_open to 1 in a compute — the clip starts. Clips are whole motions authored in the model: some are an “open → hold → close” sequence, so a state match plays it through; to keep a door open, pick a clip that ends open or swap to an open-state model.
⚠️
Animation changes only the visuals: collision volume, height checks, pickups and saves do not change. Clips are referenced by their order inside the model — re-pick after replacing the model.

Making a 3D door

Here is the whole flow using a door. Bring your own model, or generate one directly with “✨ AI model”.

  1. Prepare a door .glb yourself, or generate one with “✨ AI model”.
  2. Open Materials → New → 🧊 New 3D model and pick the file; confirm to get a model material.
  3. Create an object in the library (prop or gate) and pick the model on its “3D” tab.
  4. Create a 3D scene, drag the object in, and adjust footprint, height and collision as needed.
  5. To make it move: add a state with condition “door_open = 1” and choose “All animations”; set door_open to 1 in a compute.
  6. Hit test-run: walk up to the door, jump onto a nearby crate, and try walking off the edge.

To make the door actually open, set the object type to “Gate” and give it a target scene and opening conditions — the model is only its look; the gate object still does the opening. For decoration only, use the “Prop” type.

💡
When swapping in your own model, keep the file under 800KB with embedded textures; try it in an empty scene first to check its facing and size, then place it in the real scene.