Skip to content

A 3D haunted house game demo built using C++, OpenGL, glut, glew, sdl2 mixer.

Notifications You must be signed in to change notification settings

mattearly/TheOnlyEscapeIsESC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THE ONLY ESCAPE... IS ESC!

what is this?

A game I made for a class to demonstrate some stuff you can do with OpenGL, C++, and SDL2 libraries.

how to win the game:

  • escape the house

controls:

  • wasd - move
  • space - jump
  • mouse wheel - zoom in/out
  • e and/or left click - interact/use
  • ESC - win the game by giving up like a sissy

build

linux

requirements to compile with debian (built on Linux Mint, these instructions should work with any Debian based distro)

  • glut

    apt install freeglut3-dev
    
  • glew

    apt install libglew-dev 
    
  • opengl32 - usually comes with your graphics card drivers

  • sdl2-mixer

    apt install libsdl2-mixer-dev
    
  • glm

    apt install libglm-dev
    

compile

  • clone this repo

    cd TheOnlyEscapeIsESC
    mkdir build/
    cd build/
    cmake -S .
    
  • if it fails, address requirements/dependencies and try again

Windows

requirements

compile

  • clone repo

  • option1: use Visual Studio

    • continue without code...
    • File->Open->CMake...
    • use IDE build/run commands
  • option2: use cmake

    • see linux version, same commands

future?

There may be furture iterations of this project that include textures, lighting, more content, and other various improvements if I can find time to work on it. Anyone checking this out, feel free to work on it if you want, there is a lot of room for improvements. Submit a Pull Request if you think the changes benefit the overall program.

About

A 3D haunted house game demo built using C++, OpenGL, glut, glew, sdl2 mixer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published