Demos

Makeshift

A physics platformer. Qubit can barely hop, so you conjure crates, planks, balls and springs, then stack, nail and bounce your way to the beacon.

Runs on WebGPU in this page, with sound.

makeshift · the engine itself, compiled to WebAssembly, on WebGPU in this page

controls A and D move, Space hops. 1 to 4 choose what to conjure and a click places it; Q and E turn it. N nails, X erases, F picks up and sets down, and a click throws what you carry. R restarts, Esc pauses.

controls Use the arrows at the bottom left to move and the up arrow to hop. Pick something from the palette up top, then drag on the scene to aim it and lift to place it. Or drag an object or a nail straight from the palette into the scene, and drag it back to the palette to put it back. A plank just placed shows a Nail button where it touches something: tap it to nail the plank there, then Make firm to hold it rigid. The hand button picks up and sets down; tap the scene while carrying to throw.

About this scene

A complete little game made with oniq: a loading screen, a title, a level list with best times, settings that persist, pause and level-complete panels, and a HUD. Ten levels teach how things move, and most of them climb: crates stacked into steps and stairs, slick ice and a moss wall, planks nailed into a bridge (one nail hinges, two hold) and into shelves up a well, bounces on jelly and a spring launch, a no-magic zone where you carry what you need, a plank that swings across a chasm on one nail, a tower where you build low and spring high, and a summit that asks for all of it. Then a sandbox with everything. Rapier 2D does the physics through oniq's materials, joints and queries; Qubit is the Spine rig from the Qubit demo, animated by chine; every sprite and sound is made when the game loads.

What it exercises

  • Rapier 2D: materials, joints and queries
  • Spine 4.3 through chine
  • Game menus, HUD and settings
  • Art painted at load
  • Synthesized audio
  • Saved settings and progress
  • Keyboard and pointer input