Editors and content
The same command starts two local editors and carries the content pipeline of a game.
Design screens on a board: lecodes design
lecodes design init # the design/ folder: one file per screen, shared tokens and components
lecodes design # the board, in the browserle.codes Design is a live canvas of the app's screens: every screen is a real file that the project compiles, drawn on the board as the app would draw it, with arrows for the navigation between them. It is made for designing an app together with a coding agent (le.codes Design).
Edit a 3D scene visually: lecodes scene
lecodes scene
lecodes scene src/forest.scene.tsThe scene editor opens a .scene.ts file with a tree, an inspector and a gizmo. What you move is
written back to the source file, and an edit made in your code editor shows up in the scene at
once. Keep logic out of a scene file — the editor rewrites it.
Both editors register an MCP server in the project's .mcp.json, so a coding agent in the terminal
reads the board and the scene directly.
Convert and repair models: lecodes assets
lecodes assets convert hero.fbx --clips anims/*.fbx -o hero.glb
lecodes assets probe hero.glb
lecodes assets doctor hero.glb --fix --ktx2convertturns FBX into GLB with its textures inside.probeshows what a model holds: meshes, bones, clips, textures.doctorfinds and fixes the usual problems: too many bones, heavy textures, a wrong scale.retargetmoves animation clips from another skeleton onto yours.
lecodes assets --help lists the rest.
Custom shaders: lecodes shaders
lecodes shaders # the project's .mat shaders and their compile state
lecodes shaders new hologram --ref lit
lecodes shaders compileAfter the engine moves to a new version, lecodes shaders update brings the compiler along —
lecodes update does that as one of its steps.
Bake the level: lighting and navigation
lecodes lightmap bake # the sun, the sky and the lamps, baked onto the level's static objects
lecodes navmesh bake # the mesh that NavAgent walks on
lecodes level build # the level's static cache and its navigation mesh, in one runEach is made for one entry point (--entry). Bots stand still in a level without a navigation
mesh.
Run a dedicated game server: lecodes serve
lecodes serve --port 7777 --max-clients 32
lecodes desktop run --connect 192.168.1.10:7777serve runs the project as a multiplayer server on the engine without a window or a GPU, so it
also runs in a container. It prints the addresses clients connect to. --connect turns the same
host into a client without a window — a bot.
Next
- Render and test — see a scene without opening the editor
- The lecodes CLI —
lecodes updatekeeps these tools current