Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Latest commit

 

History

History
64 lines (50 loc) · 2.22 KB

README.md

File metadata and controls

64 lines (50 loc) · 2.22 KB

Logo

release platform issues open pull request license

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

Getting started

If you want to compile it on Windows, you will need to install MingW. The instructions below works on both Windows and Linux.

Prerequisites

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-*

Building from source

To build it, first clone this repository

git clone https://github.com/lincolncpp/grape2d

Then, use the make command

make

Installing

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

Demos

  • texture — Shows a simple texture on the screen
  • audio — Plays music and sound with a 2D ambient effect

Running

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

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details