Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS352 Project (UNI) : OpenGL

This repo attempts at recreating Super Mario (1986) in OpenGL from scratch!

Getting Started

This project was created for Ubuntu Linux and so some of the requirements and functionality might change on other operating systems.

Libraries and Prerequisites

This project uses OpenGL libraries (FreeGLUT specifically) as well as a basic version of GNU GCC G++ for compiling the C++ file.

  1. sudo apt install g++ to install the default version of G++.
  2. sudo apt install freeglut3-dev to install FreeGLUT.

This section will include more info on running on windows in the future.

Build instructions

  1. Clone the repository.
  2. Go to main.cpp.
  3. 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!)

Running the game

Just run the executable main that was created earlier!

image

About

Super Mario in OpenGL!

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages