Skip to content

otaviocozer/T3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T3

T3 is a game for my computer graphics class. It's made in CPP using OpenGL. Here is a video of the game running: https://www.youtube.com/watch?v=quHvdM2pwwk.

alt text

Installation

Install OpenGL dependencies.

sudo apt-get install freeglut3-dev

Compile the program.

make all

Usage

You need to pass one of the arenas below as a parameter to the executable.

./trabalhocg ../tests/arena_1.svg 
./trabalhocg ../tests/arena_2.svg 

Commands

  • 'w', 'a', 's', and 'd' to move
  • 'q' to punch. You must wait for the end of the animation to move or punch again
  • SPACE key to activate or deactivate the enemy
  • '1', '2', and '3' to change cameras
  • 'n' to change lighting mode
  • 't' to enable or disable textures. Disabling textures allows for better observation of lighting
  • 'l' to show the position of lights
  • 'm' to enable or disable side walls
  • 'e' to activate axes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages