-
-
Notifications
You must be signed in to change notification settings - Fork 26
Examples
Examples are small working programs used to demonstrate and test specific areas of engine functionality. Please refer to the individual example source code for more information.
Base engine examples are used to directly test the engine packages.
Audio: au.go
Audio plays a sound using only the vu/audio package.
Vulkan Version vv.go
Tests the vu/render package by initializing Vulkan and printing the version on the console.
Essentially checks that Vulkan is available.
Shell sh.go
Tests that the vu/device layer is working by creating a window and dumping
user input to the console.
Engine examples use the main engine game loop and all the engine sub-packages.
Keyboard Controller kc.go
Demonstrates using the keyboard as a game controller.

Monkey Heads mh.go
Demonstrates loading binary GLTF (GLB) files and rendering with Physically Based Render (PBR) shaders.

Collision Resolution cr.go
Demonstrates physics collisions for spheres and boxes.

Instanced Stars is.go
Demonstrates instanced rendering by drawing over 9000 stars with a single Vulkan draw call.
