Skip to content

ashkann/vulkan

Repository files navigation

Vulkan 2D Engine

Trying to learn Vulkan and Haskell hand in hand by doing a 2D engine.

How to

Compile the shaders:

./compile-shaders.sh

Generate the atlas

./pack-texture.sh

Initial attempts

first

  • Vulkan pipeline
  • Basic sprites
  • Basic transformations
  • No separate Screen and World spaces

Affine transformations

affine

  • SRT (Scale, Rotate, Translate)
  • View Projection
  • Screen and World spaces

Text

text

  • Gnu unifont
  • Font atlas

Colored Text

colored text

  • Colored vertices
  • Text in Screen space (fixed on screen, doesn't move with the world)

World Text

world text

  • Text in World space (moves with the world)

About

Vulkan 2D Engine in Haskell

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages