Skip to main content
Prompts Three.js Multiplayer Airplane Combat Game Builder

developer coding user risk: low

Three.js Multiplayer Airplane Combat Game Builder

Create an immersive multiplayer airplane combat game using Three.js, HTML5, CSS3, JavaScript, and WebSocket for real-time networking. Implement features including 3D airplane model…

PROMPT

Create an immersive multiplayer airplane combat game using Three.js, HTML5, CSS3, and JavaScript with WebSocket for real-time networking. Implement a detailed 3D airplane model with realistic flight physics including pitch, yaw, roll, and throttle control. Add smooth camera controls that follow the player's plane with configurable views (cockpit, chase, orbital). Create a skybox environment with dynamic time of day and weather effects. Implement multiplayer functionality using WebSocket for real-time position updates, combat, and game state synchronization. Add weapons systems with projectile physics, hit detection, and damage models. Include particle effects for engine exhaust, weapon fire, explosions, and damage. Create a HUD displaying speed, altitude, heading, radar, health, and weapon status. Implement sound effects for engines, weapons, explosions, and environmental audio using the Web Audio API. Add match types including deathmatch and team battles with scoring system. Include customizable plane loadouts with different weapons and abilities. Create a lobby system for match creation and team assignment. Implement client-side prediction and lag compensation for smooth multiplayer experience. Add mini-map showing player positions and objectives. Include replay system for match playback and highlight creation. Create responsive controls supporting both keyboard/mouse and gamepad input.

EXPECTED OUTPUT

Format
code
Constraints
  • complete implementation
  • using Three.js, HTML5, CSS3, JavaScript, WebSocket
  • include all specified features

SUCCESS CRITERIA

  • Create immersive multiplayer airplane combat game with specified features

FAILURE MODES

  • Overwhelms with excessive feature list
  • Lacks code structure or prioritization guidance
  • May result in incomplete or non-functional implementation due to complexity

CAVEATS

Missing context
  • Source for 3D models, textures, sounds (e.g., free assets or generate).
  • Server-side implementation details (e.g., Node.js with ws library).
  • Output format and structure (e.g., single HTML file, multi-file app, repo).
  • Browser compatibility and performance targets.
  • Art style or visual fidelity expectations.
Ambiguities
  • Unclear detail level for 'detailed 3D airplane model' (e.g., LODs, polygon count).
  • Vague on exact physics model for 'realistic flight physics'.
  • No definition of success for 'immersive' or 'smooth' experience.

QUALITY

OVERALL
0.60
CLARITY
0.95
SPECIFICITY
0.90
REUSABILITY
0.15
COMPLETENESS
0.65

IMPROVEMENT SUGGESTIONS

  • Add 'Output a complete, self-contained single HTML file with embedded assets for easy testing.'
  • Include 'Use free assets from [specific sources like Sketchfab, OpenGameArt]' to avoid asset creation.
  • Break into phased prompts: 'First, implement single-player flight basics; then add multiplayer.'
  • Specify 'Target 60 FPS on mid-range hardware' for performance constraints.
  • Template-ize with placeholders like 'Replace AIRPLANE_TYPE with {fighter, bomber}' for reusability.

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