bendmorris / krit

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!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!


Languages

Language:C++ 64.2%Language:C 34.5%Language:TypeScript 0.5%Language:Nunjucks 0.2%Language:Kit 0.2%Language:CMake 0.2%Language:Python 0.1%Language:GLSL 0.0%Language:Shell 0.0%Language:Jinja 0.0%