hello
Hello World
A simple hello world project.
cargo run -p balaur_cli --features window -- edit examples/hello
Eight projects in the engine repository: a hot-reloading cube, a 2D slingshot game, skinned and glTF rigs, a WESL shader, text and two extensions.
hello
Hello World
A simple hello world project.
cargo run -p balaur_cli --features window -- edit examples/hello
objects
Primitives
The primitives, drawn in a scene.
cargo run -p balaur_cli --features window -- edit examples/objects
angrynerds
A 2D game
A slingshot game: 2D shapes, 2D physics on a fixed step, and a HUD of widgets.
cargo run -p balaur_cli --features window -- edit examples/angrynerds
rig
A 2D skeleton
A 2d bone skinned object keyframed on repeat.
cargo run -p balaur_cli --features window -- edit examples/rig
rig3d
A 3D rig from glTF
A column imported from a `.glb`: three bones deforming the mesh.
cargo run -p balaur_cli --features window -- edit examples/rig3d
text
Text
A bunch of titles: with an outline, with a shadow, etc.
cargo run -p balaur_cli --features window -- edit examples/text
shaders
A material and its shader
A glow material written in WESL.
cargo run -p balaur_cli --features window -- edit examples/shaders
extension_greeter
Rust and from C
Plugins as shared libraries.
cargo run -p balaur_cli --features window -- run examples/extension_greeter
Every scene is TOML and every script is Rune, so the fastest way to learn the engine is to open one and change something. The editor shows its workspaces on them, and the editor in the browser opens the same projects for editing.