Grape2D is an open-source 2D game engine focused on performance and simplicity written in C++. It supports Linux and Windows and interacts with hardware using SDL
If you want to compile it on Windows, you will need to install MingW. The instructions below works on both Windows and Linux.
First of all, you must install the following libraries:
- SDL2
- SDL2_ttf
- SDL2_image
- SDL2_mixer
You will get all of them by just typing
sudo apt install libsdl2-*
To build it, first clone this repository
git clone https://github.com/lincolncpp/grape2d
Then, use the make command
make
You can install it from release version or from source code.
For the second option, use the make command (after you have already built)
make install
texture
— Shows a simple texture on the screenaudio
— Plays music and sound with a 2D ambient effect
To run any example code, first use the make command in the respective folder in order to build it
make
And then, execute the generated file
- Fernando Lincoln - lincolncpp
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details