Cube2D, a header only 2D easy-to-use game framework for making video games with raylib even easier written in C++11.
- Easy To Use
- Header Only
- Customization
- Only raylib required
- Easier Rectangle Manipulation
- Sprite Management
- Network Management
- Audio Management
git clone https://github.com/mastercuber55/Cube2D-Game-Framework.git
In just a SINGLE file #define CGE_IMPL
before #include <Cube2D.hpp>
Create a file named Cube2D.cpp
with contents of Cube2D.hpp
in it and run the following.
g++ -o Cube2D.o -c Cube2D.cpp -D CGE_IMPL -I"C:/raylib/include" && ar rcs libCube2D.a -o Cube2D.o
and link to it using -lCube2D
Everything is plain and simple so just look into the header's top part and you'll understand everything.