Skip to content
Notifications You must be signed in to change notification settings

shahd-moh-abdel/fps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

02afea9 · · Oct 1, 2025

History

51 Commits
Sep 30, 2025
Sep 30, 2025
Sep 30, 2025
Oct 1, 2025
Sep 17, 2025
Sep 30, 2025
Sep 30, 2025
Sep 26, 2025

Repository files navigation

First Person Shooter

a doom style fps game built with OpenGL. walk through the maze and find the enemies (a red cube for now).

demo

Features

  • Camera with mouse look
  • grid based level system
  • level loading form text files (you cant change it live)
  • shooting mechanics
  • lighting
  • textures

Controls

  • WASD: move around
  • mouse: look around
  • left click shoot
  • R: reload level
  • M: print map to console
  • TAB: show cursor
  • ESC: exit game

Building

Requirements

  • Cmake
  • c++ compiler
  • GLFW 3.3+
  • GLM

compilation

mkdir build

cd build
cmake ..
make
./fps
ps

or download the pre built version from itch.io here

Level making

levels are stored in 'levels/' folder.

level format


# = Wall
. = empty space
P = pillar
S = player spawn point
E = enemy spawn point

int

What next?

I still have a lot to add, like doors, items, real monsters, sounds, and shadows.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages