Project layout
A project is one folder on disk. The editor creates it and writes a kolpa.project.json file at its root. Everything the engine loads for your game lives in that folder.
The folder can be named anything. The project file and the folders beside it are what matter.
Layout at the project root
Section titled “Layout at the project root”<project root>/ (any folder name) kolpa.project.json Project settings: name, startup scene, window, render tier. assets/ Models, textures, materials, audio, terrain, prefabs, animations, shaders. scenes/ Scene files (`.scene`). scripts/ Script sources. build/ Build output. Do not edit by hand.A new project creates the standard asset subfolders so each kind has an obvious home:
| Path | Purpose |
|---|---|
assets/models/ |
GLB and glTF meshes |
assets/textures/ |
Image and texture files |
assets/materials/ |
.mat material files |
assets/audio/ |
Sound and music files |
assets/terrain/ |
Terrain chunks and paint data |
assets/prefabs/ |
Prefab documents |
assets/animations/ |
Animator controllers |
assets/shaders/ |
Shader files |
scenes/ |
.scene files |
scripts/ |
C# script sources |
Asset paths
Section titled “Asset paths”The project uses res:// paths. A res:// path is relative to the project root. For example res://scenes/main.scene is the main.scene file in the scenes/ folder.
Every asset also has a stable id recorded in asset-manifest.json. Scenes and prefabs reference assets by id, so moving a file does not break the link once the registry rescans it.
Project settings
Section titled “Project settings”kolpa.project.json holds the project name, the startup scene, the window size and title, and the render tier (forward or deferred). Edit it through the editor. Editing it by hand is fine when the editor is closed.
User data
Section titled “User data”The editor and the game write per-user files outside the project, under the platform user folder. Deleting a user config and relaunching regenerates it from the defaults.
| Platform | User root |
|---|---|
| Windows | Documents/My Games |
| Linux | ~/.<GameTitle> (hidden folder in the home directory) |
Rules of thumb
Section titled “Rules of thumb”- Keep
kolpa.project.jsonand its folders together in one project root. - Put game content in
assets/,scenes/, andscripts/. - Leave
build/alone. The build tool writes it.
Continue reading
Section titled “Continue reading”Previous: Quick start: first Play and save.
Next: Sample content: shipped demos and example assets.
