1
3
Fork
You've already forked Orgon2D
0
Easy, lightweight, and beautiful C++ game framework. (WIP!!)
  • C++ 98.5%
  • Meson 1.5%
2025年03月15日 16:59:55 +01:00
assets Easy way to use custom shaders 2025年03月06日 00:49:20 +01:00
src Spritebatch shouldn't systematically flush when drawing text. 2025年03月15日 16:59:55 +01:00
test Spritebatch shouldn't systematically flush when drawing text. 2025年03月15日 16:59:55 +01:00
.gitignore some more comments + add doxygen 2025年02月23日 19:22:41 +01:00
BUILDING.md better docs about buildtypes 2025年02月24日 22:56:58 +01:00
Doxyfile exclude test directory from docs 2025年02月24日 00:08:50 +01:00
LICENSE add license 2025年02月16日 15:29:58 +01:00
meson.build Simple object pooling utils 2025年03月15日 16:24:41 +01:00
README.md the minimal example looks much sexier like that 2025年02月23日 18:17:50 +01:00

Orgon2D provides a simple and concise interface to program games while shielding developers from the horrors of C++ and exposing them to its strengths.
It aims to limit abstraction, or harness it to make game development less and not more painful.

int main(int argc, char **argv) {
 Orgon orgon = Orgon();
 orgon.init(1000, 1000);
 orgon.window->setWindowTitle("My first Orgon2D window!!");
 Font *font = orgon.graphics->newFont("assets/Roboto-Regular.ttf", 32);
 const char *txt = "Boxers had zap of gay jock love, quit women";
 while (orgon.running()) {
 orgon.processEvents();
 orgon.graphics->clear(1, 0, 0, 1);
 orgon.graphics->drawText(txt, 100, 500, font);
 orgon.graphics->flip();
 orgon.clock->tick();
 }
 delete font;
}

Originally written as a toy framework to learn OpenGL and SDL, Orgon2D can occasionally be useful for games and graphical applications in general.
The framework contains the following modules:

  • graphics
  • audio
  • input
  • window
  • math
  • clock

The following dependencies are required:

  • SDL2
  • SDL2_Mixer
  • SDL2_Image
  • OpenGL
  • glm
  • Freetype

Enjoy making games :)!

Fun fact: Orgon2D is named after the mystical energy of Orgone