A simple 2d framework for rendering graphics in a GLESv2 context.
Heavily inspired by raylib
Note: If you use glfw on wayland you must call glfwWindowHint(GLFW_ALPHA_BITS, 0) before creating a window to prevent any transparency showing the window behind it.
- Try to keep a small managable base that is flexible but not lacking in features.
- Try to minimize external library dependencies if possible use single header file libraries
- 2D Only(This is just my personal preference I have no need for 3d and if I do I can just directly call opengl)
- Minimize reliance on dynamic memory allocation
- Be able to use in any GLES2 context.
Thank you to the following sources for either inspiration or an amazing header that is used in this project!
- Raylib(inspired by and uses raymath)
- stb_headers(image loading)
- miniaudio(audio)
- cute_c2(collision)
It is portable and specifically for my use case I wanted a library that worked with xorg libs on wayland.
- GLES2(With vao extension support; however, always willing to have it be optional if I get around to it)
- EGL
- glfw(optional for examples)
- Golang support
- Audio
- Collision
- Having an optional single file header library for window/input related things with glfw
- More types of shapes
The examples are coded very poorly. I plan on going back through and cleaning them up but currently I just want to get features in.
Raymath is slightly modified currently just a Vector2Transform