Skip to content

The demos

Every demo in games/ is a working game or scene built only from the engine's own blocks. Each one has a README that explains it the same way, so you can use any of them as the starting point for a game of your own:

Section What it tells you
Run it The executable, the build option it needs, the environment switches
Controls Keyboard, mouse and controller, checked against the input code
How it plays The rules, the goal, the menus
How it works System by system: what runs each frame, in which file, and why
Design decisions What was chosen, why, and what was left out
Tuning The numbers that change the feel, and where they live
Engine features it uses Which engine blocks, with links to their guides
Assets Exactly which files and Synty packs it loads, and what happens without them
Make a game like this The steps from a copy of the demo to your own game
Files Every source file and what is in it

Run any demo from build/bin/ (building: BUILDING.md). KKE_SKIP_INTRO=1 skips the logo intro.

Which demo to start from

You want to make... Start from Then look at
Your first game, in Lua only starter game first Lua game, the cookbook
A race or a party game for the couch, with online play Climb Race the start menu, networking
A driving game: races, drifting, a destruction derby, a rally, damage Racing vehicles, particle effects, the start menu
A flying, driving or other vehicle game; flight sticks Flying input, the start menu
A party game of many short minigames (Fall Guys, Mario Party, Squid Game style) Party Climb Race, the start menu, networking
A sports game, or anything with a soft ball Tennis physics (FEMFX), the start menu
A fighting game Duel melee combat
An action game against crowds Goblin Horde melee combat, AI
A strategy or squad game Platoon command kit, commands and orders
A pet, a companion, or animals that react to you Pet companion, Farm AI
Creatures that walk without animation clips Procedural animation procedural animation
Characters that run in any direction, play clips made for another skeleton, or reach with long chains Animation movement, procedural animation
A third-person adventure, or anything using every system at once kke_demo showcase the showcase guide
A building or level-editing game, or a game made while playing Sandbox play to make
Menus, a HUD, settings, an inventory RmlUi demo input
Debug panels and tools for yourself ImGui demo
Breakable, bendable, squashable things physics_demo physics bridge, ragdolls
Lava, melting and pouring melt_demo
Fire, smoke, explosions, sparks, weather, confetti, magic particles_demo particle effects
Props that bend and break (any model pack) synty_demo, Sandbox breakables
Ships, naval battles, water, floating and sinking sea_demo lobby, networking
A character creator: players make their own realistic person character_creator humans
Soft bodies, jelly, jiggling characters jiggle_demo jiggle physics
Capes, flags, nets, curtains and blankets cloth_demo cloth
Sound that fills a place: rooms, walls, doors, footsteps audio_demo audio
Store-bought characters: load, skin, pose and ragdoll them synty_demo scenes, ragdolls
A small tech demo with a settings panel a controller can drive any of the six above, or procedural_demo the demo panel