This repo attempts at recreating Super Mario (1986) in OpenGL from scratch!
This project was created for Ubuntu Linux and so some of the requirements and functionality might change on other operating systems.
This project uses OpenGL libraries (FreeGLUT specifically) as well as a basic version of GNU GCC G++ for compiling the C++ file.
sudo apt install g++to install the default version of G++.sudo apt install freeglut3-devto install FreeGLUT.
This section will include more info on running on windows in the future.
- Clone the repository.
- Go to
main.cpp. - Build the file using the default g++ commands and link the GL libraries:
g++ -O2 main.cpp -o main -lglut -lGL -lGLU(Make sure you have OpenGL libraries installed beforehand!)
Just run the executable main that was created earlier!
