Skip to content

2D game engine in C++. Sharing but this is mostly for personal use - once a project has been released I'll update the documentation and make it more user friendly :) Bear with me!

Notifications You must be signed in to change notification settings

bendmorris/krit

Repository files navigation

Krit is a 2D game engine written in C++.

Features:

  • Batching SDL/OpenGL renderer
  • Flexible rendering pipeline makes custom shaders, render to texture, etc. painless
  • Entity component system
  • XML layouts with responsive layout engine
  • Behavior trees
  • Utilities for loading and parsing static game data files
  • Scoped asset manager for textures, sound, data files and custom asset types
  • Text rendering with UTF-8 and rich text support, via freetype and harfbuzz
  • Built-in support for Spine skeletal animation
  • Play sounds or stream music via OpenAL
  • Cross-platform support: Linux, Windows (cross-compile via mingw-w64), and Emscripten (WIP)
  • Load assets from filesystem, with ZIP archive support
  • Scripting
    • Script in JavaScript or TypeScript using the ultra-lightweight QuickJS
    • Painless native interoperability: write Typescript type definitions to generate binding code for native types automatically
    • JSX support for generating layouts

About

2D game engine in C++. Sharing but this is mostly for personal use - once a project has been released I'll update the documentation and make it more user friendly :) Bear with me!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published