Unity3D: Developing an FPS Game
Project details
⚙️ Technologies Used
Unity 3D Game Engine
C# Programming Language
Unity Physics & Character Controller
Input System (Mouse + Keyboard)
🎯 Implemented Mechanics
1. 👁️🗨️ First-Person Camera System
The camera directly follows the player's orientation
Mouse movements allow the player to look around the environment
2. 🕹️ Character Movement
Move forward, backward, and sideways using the WASD keys
Additional actions like jumping or crouching can be added
3. 🔫 Weapon Mechanics
Shooting: Left mouse button triggers bullet firing
Includes muzzle flash and shooting sound effects
Bullet hit detection via Raycast
4. 🎯 Target Hitting
Raycast used to detect collision with target objects
Targets disappear or trigger an animation when hit
🗂️ Project Structure
Assets/Scripts
: Scripts for camera, character, and weapon controlPrefabs
: Player, weapon, and target object prefabsScenes/MainScene
: The playable game environmentSounds & Particles
: Firing effects and sound assets
🧪 Development Notes
Contains core mechanics for building a simple FPS system
Ideal for developers looking to learn basic FPS game logic
Code is clean, easy to understand, and written for scalability