Skip to content

Game demo utilizing Vulkan for real-time, physically-based simulation and rendering on the GPU

License

Notifications You must be signed in to change notification settings

ruberith/little-star

Repository files navigation

Little Star

Game demo utilizing Vulkan for real-time, physically-based simulation and rendering on the GPU

Watch on YouTube | Play on Windows

Features

  • simulation of soft, deformable bodies and thousands of particles via XPBD
  • Frostbite rendering model with optional cel shading
  • third-person camera on a spherical world
  • import of (animated) glTF models

Objective

The light of the little star is fading. Collect star particles and bring them back to the star to regenerate its light.

Controls

  • Escape – Toggle cursor lock
  • C – Toggle cel shading
  • W|A|S|D – Move
  • Shift – Run
  • Mouse – Rotate camera
  • Scroll – Adjust camera distance

Build

  1. Install Git, Git LFS, CMake, a build tool like Ninja, a C++20 compiler (tested are Clang on macOS and MSVC on Windows), and the Vulkan SDK.
  2. Clone the repository using Git.
  3. Configure and build the demo using CMake. You can also do this in an IDE like Visual Studio (Code).
  4. Run the demo executable.

Credits

Dependencies

References

About

Game demo utilizing Vulkan for real-time, physically-based simulation and rendering on the GPU

Resources

License

Stars

Watchers

Forks