A simple OpenGL based 2d game engine/libray, with batching support and simple input and collision detection.
A simple level editor based on layers, you can choose between 5 diferent layers, 0 being the background and 5 the foreground. The first entity on the list allows you to place static collision regions which are rendered as black semi-transparent squares.
- You can change between layers using the Q and E keys.
- You can move the camera with the arrow keys and zoom in and out with the mouse wheel.
- Tiles and entities cam be removed by right clicking on them.
- To go in and out of test mode press Space bar.
The blue area represents the editable area of the level.
To save and load levels you can open the console by pressing the backtick key ` key while on edit mode. The current commands are:
- save_new LEVEL_NAME (Save a new level called LEVEL_NAME)
- save (Save the progress on the current level)
- load LEVEL_NAME (Load a level named LEVEL_NAME. The level is looked up at the levels folder)
- new (Generates a new blank level)
- exit (Terminates the program)
- Go to this website: https://www.openal.org/downloads/
- 'Select OpenAL 1.1 Windows Installer (zip)'
- Download will start, extract it and run the installer.
- Done.
This engine needs to be build using mingw32 (not mingw64) and requires make. If make is install just run the make command. In case of any issues run the command 'premake5 gmake2' to re-generate the makefiles, then run the make command.