Skip to content

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.

<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

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.

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.

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)
  1. Keep kolpa.project.json and its folders together in one project root.
  2. Put game content in assets/, scenes/, and scripts/.
  3. Leave build/ alone. The build tool writes it.

Previous: Quick start: first Play and save.

Next: Sample content: shipped demos and example assets.