All MicroEvals
Role & Task: Act as an expert 3D game developer specializin...
Create MicroEval
Header image for Role & Task:

Act as an expert 3D game developer specializin...

Role & Task: Act as an expert 3D game developer specializin...

Prompt

Role & Task: Act as an expert 3D game developer specializing in First-Person Shooters (FPS). I want to create a Call of Duty-style 3D FPS prototype with PC mouse-and-keyboard controls. Help me design and code the core architecture and mechanics for this project. Project Specifications: Perspective: 3D First-Person Perspective (FPP) Platform & Controls: PC (WASD movement, Space to jump, Left Shift to sprint, C/Ctrl to crouch, Left-Click to fire, Right-Click to Aim Down Sights [ADS], 'R' to reload, Mouse for pointer-lock camera looking) Engine/Tech Stack: [Specify here: Unity (C#) / Unreal Engine 5 (C++/Blueprints) / Godot 4 / WebGL + Three.js] Core Game Mechanics Required: FPS Player Controller: Smooth movement including walking, sprinting, crouching, jumping, and Pointer Lock API / Mouse Look with configurable sensitivity. Gunplay & ADS System: Weapon positioning, procedural recoil, gun sway, crosshair dynamics, and smooth transition to Aim Down Sights (ADS). Shooting Logic: Hitscan or fast-projectile shooting system, ammo management (clip/reserve), reload state machine, and hit detection. Basic Enemy AI & Combat Loop: Simple enemy targets/bots with health, damage reaction, basic pathfinding, and a minimal HUD (health bar, ammo counter, crosshair). Please provide: Core Feature Roadmap: A step-by-step breakdown to build this FPS MVP efficiently. Code Implementation: Complete, well-commented code scripts for the First-Person Character Controller and Weapon/ADS controller in [insert your engine/language]. Camera & FX Setup: Guidelines for implementing screen shake, recoil, and realistic camera field-of-view (FOV) transitions during aiming.