olcPixelGameEngine is a single file library for game development created in C++.
It is cross-platform, compiling on Windows via Visual Studio, MinGW and Code::Blocks , and in GNU/Linux with a modern g++.
The olcPixelGameEngine
was developed by the legendary programmer C++ and youtuber: javidx9.
How to use
On Linux based systems you will need the following dependencies:
Example of installing dependencies on some GNU/Linux distros:
After that just create a basic code (for testing), copy the example code below:
main.cpp
Now download the file olcPixelGameEngine.h:
And compile with the following command:
After running ./a.out
if a window appears like “no channel tuning on old TVs” like the image below, everything is fine!
To run on Windows via Visual Studio, watch the video below:
To run on Windows with MinGW:
To run on Windows with Code::Blocks:
cpp
gamedev
terminal
windows
macos
Marcos Oliveira
Software developer