Guides Getting Started Understand the Project Folder

Getting Started 1 min read Updated Apr 2026

Understand the Project Folder

Every Lenga project has a clear folder layout.

Once you know what each top-level item is for, it becomes much easier to find scenes, add scripts, and organize assets with confidence.

A Typical Project Structure

MyGame/
  Assets/
    Audio/
    Prefabs/
    Scenes/
    Scripts/
    Sprites/
  ProjectSettings/
    lenga.json
  bootstrap.php
  composer.json

What Lives in Assets

Assets/ is where your game content lives.

Use it for:

  • scenes
  • scripts
  • sprites and textures
  • audio
  • prefabs
  • other authored project content

What Lives in ProjectSettings

ProjectSettings/lenga.json stores project-level settings.

This is where the editor reads the project identity and the settings that define how the project should open and run.

What bootstrap.php Is For

bootstrap.php prepares the project runtime when the game starts.

This file is part of the project foundation and belongs in the project root.

What composer.json Is For

composer.json defines the PHP package dependencies for the project.

Open a terminal in the project root and run:

composer install

That installs the PHP dependencies the project uses and prepares autoloading for your PHP code.

A Good Habit

Keep gameplay PHP files under Assets/Scripts and keep scenes under Assets/Scenes.

That makes the project easier to navigate in both the editor and the filesystem.

What Comes Next