Skip to content

esc5221/OpenGL_FPS-Training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL FPS Training

Preview

image info

Demo

image info

How to run (Windows)

  • Download zip here
  • unzip, run OpenGL_FPS-Training.exe

Implementation

  • Object loading
  • Bullet collision detection (using Ray-OBB intersection)

Functions

  • Shootiing(Left mouse button), Moving(WASD), Jumping(Space)
  • Press key 1 to toggle hitbox display mode.

Features

  • When bullet hit a bot, eliminate the bot.
  • Eliminated bots are respawned after 3 seconds.
  • Displaying bullet trajectory.
  • Displaying crosshair.
  • Displaying hit marker when bullet hit a bot.
  • Displaying scores (Killed, Missed, Accuracy).

References