Your project, file by file
When you press Yes, build it, Gaminode AI does not hand you one big script. It writes a real Gaminode project: separate scenes, clean folders, a main menu and one scene per level. You can open every file, read it and change it like any project you made yourself.
The folders
| Path | What it is | Edit it? |
|---|---|---|
scenes/MainMenu.tscn | Title screen with PLAY, LEVELS and QUIT. F5 starts here, and so does the exported game. | Yes: move buttons, change colors and text. |
scenes/LevelSelect.tscn | The level grid. With more than 10 levels it scrolls. | Yes |
scenes/Main.tscn | The play screen: loads the current level, with the HUD, pause menu and phone buttons on top. | Yes, carefully |
scenes/HUD.tscn | Score, lives, level number and the timer. | Yes |
scenes/Pause.tscn, GameOver.tscn | Pause menu, level complete and game over screens. | Yes |
scenes/TouchControls.tscn | The on-screen buttons for phones. They hide themselves on a PC. | Yes: size and position |
game/entities/<Name>.tscn | One scene per thing in your game (player, each enemy, coin, goal). Each has a Look, a collision Shape, a Hitbox and a Parts node with its parts as children. | Yes: this is where you tune the game |
game/levels/Level_01 … Level_NN.tscn | One scene per level: background, ground, ledges and walls, and the entities placed in it. | Yes: move things, add or remove them |
game/game.json | The blueprint: game type, rules (how you win and lose), entities and their parts. The levels are built from it. | Only if you know what you are doing |
game/slots.json | What Gaminode AI understood from your request (the "plan" you confirmed in chat). | No: change the game in chat instead |
lego/ | The runtime: the tested code every game is built from (parts, world, levels, menus, art download). | No. It is replaced on every build so you always get fixes |
.lego_backup/ | Copies of files that were about to be replaced. See "Hand edits are kept" below. | Take files back from here if you need them |
How a game runs
MainMenu.tscnopens. PLAY (or a level in LEVELS) loadsMain.tscnwith that level.Main.tscnloadsgame/levels/Level_NN.tscn. Each entity in the level runs its parts every frame:input_movereads your keys or the phone buttons,gravitypulls down,chasefollows the player, and so on.- The world checks the win and lose rules from
game.json(for example "get 20 points" and "lose all lives"). Win = level complete screen and the next level opens. Lose = game over. - Each level is a little harder than the one before: more enemies, faster enemies, a higher target.
Change the game by hand
Make the player jump higher
- Open
game/entities/and double-click your player scene. - In the Scene panel open
Partsand selectJump. - In the Inspector raise
force(for example from 560 to 700). Press F5.
Every part and every setting is listed in the Parts reference.
Give an enemy more hit points
Open the enemy's scene, select Parts/Health and change hp. Turn on bar to show a health bar above it.
Change a level
Open game/levels/Level_03.tscn. Drag entities to move them, duplicate one (Ctrl+D) to add another, or delete it. Drag a scene from game/entities/ into the level to place a new thing.
Add your own script
Select any node, click the script icon and attach a new GDScript. Your own scripts are never touched by Gaminode AI. See GDScript basics.
Hand edits are kept
Gaminode remembers every file it wrote (in game/.lego_files.json). When you change the game in chat later, a scene you changed by hand is not rebuilt. The chat tells you which files it kept:
[!] Kept your hand edits (not rebuilt):
- game/entities/Player.tscn
Want the new version of a kept file? Delete it and ask again in chat. Older files are copied to .lego_backup/<time>/ before they are replaced, so nothing is lost.
lego/ folder (so you get bug fixes) and game/slots.json (the plan). Don't put your own work there.Your own main scene
F5 starts at scenes/MainMenu.tscn unless you picked another main scene yourself (Project > Project Settings > Application > Run). If you did, Gaminode AI leaves your choice alone.
Art and sound
Pictures, 3D models and sounds come from free CC0 packs (Kenney, Quaternius, KayKit). They download once, the first time a game needs them, and are kept in a cache on your PC. When you export, the art your game uses goes inside the game, so players never need the internet. The list of packs and their licenses is in lego/CREDITS.txt.
Next: Parts reference.
Something wrong or missing on this page? Email gaminodeofficial@gmail.com.