devo-ody / gl2d

a simple 2d library made in opengl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gl2d

A simple 2D library made with OpenGL.

Why gl2d?

Because you can just drop it into your already configured OpenGL project and you have a lightweight 2D library ready to go! It all boils down to one render rectangle function so you can even easily integrate it into your framework if needed.


Setup: just copy the header and the cpp Call gl2d::init(); Create a renderer class. Update its window size if the window size changed

Check out the wiki!


features:

  • draw rectangles
  • draw textures
  • draw lines
  • texture atlases
  • add paddings to texture atlases
  • draw text (with fonts and add shadow)
  • camera controll
  • shaders
  • frame buffers
  • particle system (with a post-process effect to make it look lo poly)
  • add cmake

About

a simple 2d library made in opengl

License:MIT License


Languages

Language:C++ 98.0%Language:CMake 2.0%