Skip to content

FPS Demo in Custom Game Engine using SDL2/OpenGL

License

Notifications You must be signed in to change notification settings

Ligh7ninG1118/hereford

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hereford

Hereford is an FPS demo planned to recreate the CQB test from the F.N.G. level of Call of Duty 4: Modern Warfare. The demo is developed using a simple game engine made from scratch, with SDL2 and OpenGL.

The project's main purpose is for me to learn more about game engine development, modern C++ and features (Also, to pay homeage to the great game that inspired me to become a game developer)

Note: Due to different license requirements, assets used aren't included in this repo

Progress Showcase (Updated 12/10/2024)

General Showcase (Gameplay, Audio, Animation, UI)

Hereford Progress Showcase

Render Sample

HelmetShowcase

Features Developed

or at least, "it's working!"

Engine

  • Windows Context Handling
  • Asset Loading and Management (Textures, Models, Shaders)
  • Math Library (Vector, Matrix, Quaternion)
  • Actor and Component Structure
  • Event
  • Delayed Action
  • Timeline Action
  • Reflection
  • Scene Content (JSON)

Gameplay

  • First Person Camera and Control
  • Animation State Machine
  • Gameplay Actions
  • Movement States (Crouch, Sprint)
  • Weapon
  • Object Interaction

Phyiscs

  • Raycast Query (Against Sphere, AABB)

Visual

  • Basic Forward Rendering
  • PBR Shading
  • Skybox
  • UI and Text Rendering
  • Skeletal Animation

Audio

  • Sound Effects

Libraries Used

  • SDL2
  • OpenGL 4.6
  • Assimp
  • stb_image
  • Freetype
  • JSON for Modern C++
  • ImGUI

Assets Used

  • Mark 23 (Mesh and Animations)
  • MP5SD (Mesh and Animations)
  • Shooting Range Target
  • Plywood Walls
  • SWAT Guy (Mesh)
  • Silly Dancing (Animation)
  • Sound Effects
  • PBR Textures
  • Skyboxes

References

Trivia

  • The project name hereford comes from Herefordshire, the real-life location of the Special Air Service headquarters, and the location of the F.N.G. level from Call of Duty 4: Modern Warfare.

About

FPS Demo in Custom Game Engine using SDL2/OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages