{"id":25249425,"url":"https://github.com/nycalexander/prototypefps","last_synced_at":"2025-07-19T06:35:09.236Z","repository":{"id":276315480,"uuid":"927145008","full_name":"nycalexander/prototypefps","owner":"nycalexander","description":"Showcase of my FPS prototype in Unity with customizable mechanics, advanced crosshair, modular weapons, and AI target practice.","archived":false,"fork":false,"pushed_at":"2025-02-07T13:19:32.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-07T14:26:10.766Z","etag":null,"topics":["crosshair","fps","game","game-development","multiplayer","practice","target","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nycalexander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T13:34:42.000Z","updated_at":"2025-02-07T13:19:36.000Z","dependencies_parsed_at":"2025-02-07T14:26:14.869Z","dependency_job_id":"9a0c1db1-0b1f-48c0-9b33-ef155d79cace","html_url":"https://github.com/nycalexander/prototypefps","commit_stats":null,"previous_names":["nycalexander/prototypefps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nycalexander%2Fprototypefps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nycalexander%2Fprototypefps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nycalexander%2Fprototypefps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nycalexander%2Fprototypefps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nycalexander","download_url":"https://codeload.github.com/nycalexander/prototypefps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406068,"owners_count":20933802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crosshair","fps","game","game-development","multiplayer","practice","target","unity","unity3d"],"created_at":"2025-02-12T03:21:49.957Z","updated_at":"2025-04-05T21:43:33.363Z","avatar_url":"https://github.com/nycalexander.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prototype FPS (Showcase)\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n  - [Core Gameplay Mechanics](#core-gameplay-mechanics)\n  - [Advanced Crosshair System](#advanced-crosshair-system)\n  - [Player Kinematics and Input Handling](#player-kinematics-and-input-handling)\n  - [Weapon Framework](#weapon-framework)\n  - [UI \u0026 System Management](#ui--system-management)\n  - [AI \u0026 Target Practice Environment](#ai--target-practice-environment)\n- [Demos (Video previews)](#demos)\n\n\n\n## Overview\n\nThis project represents a prototype first-person shooter (FPS) game developed within the **Unity** engine utilizing the **Universal Render Pipeline (URP)**. The game is designed with modularity in mind, allowing for easy customization and expansion.\n\n## Features\n\n### Core Gameplay Mechanics\n\n- **Killfeed System**: Provides real-time elimination notifications with corresponding weapon icons and player identifiers.\n\n| Preview |\n|---------|\n| ![Killfeed System](assets/killfeed.png) |\n\n- **Diagnostic Overlay**: Offers in-depth performance analytics, including:\n  - Frame rate monitoring\n  - Frame time computation\n  - Current GPU\n  - Current game engine API\n  - Resolution details\n  - Threading type\n\n| Preview |\n|---------|\n| ![Debug Overlay](assets/debug.PNG) |\n\n### Advanced Crosshair System\n\n- **Modular Crosshair System**: Adjustable dimensions and real-time customization.\n- **Dynamic Crosshair Adaptation**: Synchronizes crosshair movement with weapon recoil, optionally enabled.\n- **Crosshair Customization Interface**: Features a dropdown menu for selecting predefined crosshair styles.\n- **Hitmarker Mechanics**:\n  - Real-time hitmarker overlay fades upon successful target engagement.\n  - Debug functionality for spatially visualizing hit area on enemy models.\n\n### Player Kinematics and Input Handling\n\n- **Highly Configurable Movement System**:\n  - Adjustable walk speed\n  - Sprinting velocity control\n  - Jump height calibration\n  - Half-Life-style bunny hopping implementation\n  - Gravity modification parameters\n  - Customizable ground mask\n\n| Script preview |\n|---------|\n| ![Movement Mechanics](assets/movement.PNG) |\n\n- **Input Management**: Standardized input processing framework.\n  - Unprocessed Windows raw input for precise aim control (disables mouse acceleration).\n\n| Script preview |\n|---------|\n| ![Input Manager](assets/input.PNG) |\n| ![Player Look](assets/look.PNG) |\n\n- **Head Bobbing Simulation**: Adjustable amplitude and frequency for immersive movement dynamics.\n\n| Script preview |\n|---------|\n| ![Head Bobbing](assets/bob.PNG) |\n\n### Weapon Framework\n\n- **Modular Firearm System**: Extensible weapon scripting with minimal integration overhead.\n- **Weapon Sway Model**:\n  - Smooth motion blending for camera responsiveness\n  - Adjustable parameters including smoothing and sway intensity multipliers\n\n| Script preview |\n|---------|\n| ![Weapon Sway](assets/sway.PNG) |\n\n- **Firearm Attributes**:\n  - Configurable hitmarker activation logic\n  - Ray-traced projectile trajectory visualization\n  - Semi-/fully automatic firing toggle\n  - Integrated muzzle flash effects\n  - Parametric damage scaling based on shot range\n  - Adjustable projectile origin point\n  - Assignable audio profiles for gunfire events\n  - Killfeed-linked weapon imagery\n  - Tunable fire rate settings\n- **Recoil Mechanism**:\n  - Precomputed spray patterns\n  - Optional random deviation for non-deterministic shot distribution\n  - Adjustable visual recoil snappiness and recovery velocity\n\n| Script preview |\n|---------|\n| ![Gun System](assets/gun.PNG) |\n\n\n### UI \u0026 System Management\n\n- **Comprehensive Menu System**: Represents multiple user interface elements:\n  - Real-time diagnostic overlay\n  - FPS counter display\n  - Game settings panel\n  - Pause menu functionality\n  - Crosshair configuration interface\n\n| Script preview |\n|---------|\n| ![Menu System](assets/menu.PNG) |\n\n- **Sound Manager**: Manages all in-game sound effects and audio playback:\n  - Assignable audio clips for various events.\n  - Configurable volume scaling and attenuation based on in-game environment.\n  - 3D positional sound effects for improved immersion.\n\n| Script preview |\n|---------|\n| ![Sound Manager](assets/sound.PNG) |\n\n### AI \u0026 Target Practice Environment\n\n- **Adaptive Enemy Scripting**:\n  - Configurable health values\n  - Immunity parameter toggle\n- **Training Mode**:\n  - Target dummy exhibiting variable movement speeds\n  - Modifiable pathing nodes (A/B positional assignments via transform components)\n  - Optional randomized trajectory oscillations (RNG) to introduce unpredictability\n\n| Script preview |\n|---------|\n| ![Enemy System](assets/enemy.PNG) |\n| ![Dummy Range](assets/dummy_range.PNG) |\n\n### Demos\n\n\u003cdiv\u003e\n\u003cvideo src=\"https://github.com/user-attachments/assets/ec1df07a-99fb-4fe4-82f8-9b7f1d2b3858\" autoplay loop muted /\u003e\n\u003c/div\u003e\n\n\u003cdiv\u003e\n\u003cvideo src=\"https://github.com/user-attachments/assets/6e67172b-5c50-443b-b3fd-75bd775f8d9b\" autoplay loop muted /\u003e\n\u003c/div\u003e\n\n\u003cdiv\u003e\n\u003cvideo src=\"https://github.com/user-attachments/assets/3671dce8-53ea-49e7-bca6-46380788aa0a\" autoplay loop muted /\u003e\n\u003c/div\u003e\n\n\u003cdiv\u003e\n\u003cvideo src=\"https://github.com/user-attachments/assets/993e4b7f-fa66-432f-a706-c57daf6de4c2\" autoplay loop muted /\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnycalexander%2Fprototypefps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnycalexander%2Fprototypefps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnycalexander%2Fprototypefps/lists"}