Skip to main content
Prompts Three.js JavaScript FPS Game Developer

developer coding user risk: low

Three.js JavaScript FPS Game Developer

Develop a first-person shooter game using Three.js and JavaScript, featuring detailed weapon models with animations and effects, precise hit detection, multiple levels, AI enemies…

PROMPT

Develop a first-person shooter game using Three.js and JavaScript. Create detailed weapon models with realistic animations and effects. Implement precise hit detection and damage systems. Design multiple game levels with various environments and objectives. Add AI enemies with pathfinding and combat behaviors. Create particle effects for muzzle flashes, impacts, and explosions. Implement multiplayer mode with team-based objectives. Include weapon pickup and inventory system. Add sound effects for weapons, footsteps, and environment. Create detailed scoring and statistics tracking. Implement replay system for kill cams and match highlights.

EXPECTED OUTPUT

Format
code

SUCCESS CRITERIA

  • Develop a first-person shooter game using Three.js and JavaScript.
  • Create detailed weapon models with realistic animations and effects.
  • Implement precise hit detection and damage systems.
  • Design multiple game levels with various environments and objectives.
  • Add AI enemies with pathfinding and combat behaviors.
  • Create particle effects for muzzle flashes, impacts, and explosions.
  • Implement multiplayer mode with team-based objectives.
  • Include weapon pickup and inventory system.
  • Add sound effects for weapons, footsteps, and environment.
  • Create detailed scoring and statistics tracking.
  • Implement replay system for kill cams and match highlights.

CAVEATS

Missing context
  • Source of assets (3D models, textures, sounds)
  • Input controls (keyboard/mouse scheme)
  • Performance targets (FPS, device compatibility)
  • Project structure/output format (single file, repo with folders)
  • Number/scope of weapons, levels, enemies
Ambiguities
  • 'Detailed weapon models' unclear: procedural generation, imported assets, or simple geometries?
  • 'Precise hit detection' ambiguous without specifying raycasting details or collision library.
  • 'Multiple game levels' does not specify number or types.
  • 'Multiplayer mode' lacks networking protocol or library (e.g., WebSockets, Socket.io).
  • No definition of 'team-based objectives' or replay system details.

QUALITY

OVERALL
0.45
CLARITY
0.85
SPECIFICITY
0.40
REUSABILITY
0.15
COMPLETENESS
0.45

IMPROVEMENT SUGGESTIONS

  • Add scope limits: e.g., '2 weapons, 3 levels, 5 enemy types'.
  • Specify output: 'Provide complete, runnable code in a single HTML file with embedded assets'.
  • Break into phases: 'First, implement core FPS mechanics; then add AI; finally multiplayer'.
  • List required libraries beyond Three.js (e.g., Cannon.js for physics).
  • Define success criteria: 'Game must run at 60 FPS on modern browsers'.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR DEVELOPER