Platform Block
A game-ready platformer block that snaps to a 1 m grid: grass, stone, ice, lava or candy theme, 1 to 4 cells wide and deep and 1 to 3 cells tall, with the top colour dripping down the sides and small decorations on top. Its footprint is exactly width x depth metres centred on the origin, so blocks placed on whole-metre centres tile edge to edge and stack.
- Size
- 3.0 × 1.2 × 2.0 m
- Triangles
- 1,272
- Kit
- Platformer
Tune it
5 knobs: Theme, Width, Depth, Height, Decor.
Specs
- Size
- 3.0 × 1.2 × 2.0 m width × height × depth
- Triangles
- 1,272 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 5 3 presets
- Night lights
- 1 lava
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/platform-block.mjs';
const platformBlock = createAsset();
scene.add(platformBlock); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/platform-block.mjs';
export function PlatformBlock() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import platform-block.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://platform-block.glb").instantiate())// Import platform-block.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "platform-block", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
theme | choice | grass stone ice lava candy | grass | grass (green turf over brown earth, tufts and flowers), stone (grey castle bricks with moss), ice (snow cap over pale blue ice, crystals), lava (dark basalt with a molten pool on top that glows at night), candy (layer cake with pink icing and sprinkles). |
width | range | 1 to 4, step 1 | 3 | Width along X in 1 m grid cells. |
depth | range | 1 to 4, step 1 | 2 | Depth along Z in 1 m grid cells. 1 gives a side-scroller ledge. |
height | range | 1 to 3, step 1 | 1 | Height in 1 m cells; the walkable top is at y = height. 3 makes a pillar or wall. |
decor | toggle | on / off | true | Small low details on the top face (grass tufts and flowers, pebbles, snow and crystals, cooling rocks, sprinkles and gumdrops). Off gives a clean top. |
Presets: lava pit {"theme":"lava","width":2,"depth":2} · ice ledge {"theme":"ice","width":4,"depth":1} · cake tower {"theme":"candy","width":1,"depth":1,"height":3}
Files
| File | What |
|---|---|
| platform-block.glb | GLB, default look · 159 KB |
| platform-block.mjs | ES module, every knob live |
| platform-block.obj | OBJ, static, no colour |
| platform-block-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.