Examples

Every example ships with the install.

Running ./build.sh install copies every script below into your global examples folder — run any of them from any directory, no cloning or path juggling required.

Googly Slime Platformer

Physics2DMako2DMakoUI

A complete soft-body platformer prototype with squishy movement, jumping, collectibles, pits, and extremely important googly eyes.

mko slime_platformer.mko

Physics3D Playground

Physics3DMako3DMakoUI

Boxes, spheres, capsules, friction, stacking, rotation, and mouse-launched projectiles in one interactive scene.

mko physics_3d.mko

Physics3D Sandbox

Physics3DMako3D

Spawn and launch 3D shapes while inspecting the built-in rigid-body solver.

mko physics_sandbox.mko

Pong

Mako2DAudioInputs

Pong vs an AI paddle — synthesized sound and positional audio, no sound files.

mko pong.mko

Snake

Mako2DAudio

Classic snake that speeds up as you grow, with a pitch-shifting eat sound.

mko snake.mko

Gem Hunter

Mako3DAudioInputs

3D arena collector — camera follow, patrol enemies, and audio navigation cues.

mko gem_hunter.mko

Monster Maze

Mako3DPathfindingAI

A stealth game — monster AI with a vision cone, hearing, and A* pathfinding.

mko monster_maze.mko

Music Maker

AudioInputs

A playable synth piano — five waveforms and melody baking.

mko music_maker.mko

Settings

MakoUI

An FPS overlay with a live graph, audio sliders, and an FPS cap selector.

mko settings.mko

UI Demo

MakoUI

A standalone Dear ImGui desktop app — menus, tables, modals, the cherry-blossom theme.

mko ui_demo.mko

Embedded UI Demo

Mako3DMakoUI

MakoUI embedded live inside a 3D scene — menu bar, toolbar, tabs, and an Inspector you can edit an object through, no second window.

mko embedded_ui_demo.mko

Scene Demo

Mako3D

Mako3D's scene/object system — spawn dozens of objects once, draw_scene() handles the rest, click to select.

mko scene_demo.mko

Mesh Edit Demo

Mako3D

Blender-style Edit Mode — see and pick an object's actual vertices, edges, and faces.

mko mesh_edit_demo.mko

3D Sound

AudioMako3D

Positional audio beacons that pan and fade as you fly around them.

mko sound_3d.mko

Input Test

Inputs

A visual input tester — every key and button lights up live as you press it.

mko input_test.mko