Overview
This prompt aims to guide developers in creating a 3D Battle Royale game with specific mechanics and features. Game developers and programmers will benefit from the structured approach and detailed requirements provided.
Prompt Overview
Purpose: This game aims to deliver an engaging 3D Battle Royale experience inspired by Free Fire.
Audience: Targeted at gamers who enjoy competitive multiplayer experiences in immersive environments.
Distinctive Feature: The game features realistic physics and a diverse tropical island terrain for dynamic gameplay.
Outcome: Players will engage in thrilling battles while utilizing strategic movement and weapon management.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Animation & VFX, Content & Media Creation, Creative Writing & Storytelling
- Techniques: Decomposition, Role/Persona Prompting, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Create a complete 3D Battle Royale-style game featuring a player character inspired by Free Fire with the following specifications:
**Character Properties:**
– Realistic height of 1.75 meters.
– Realistic physics including gravity, mass, and collision detection.
**Environment:**
– Tropical island terrain with diverse elements including:
– Buildings
– Trees
– Mountains
– Roads
– Obstacles
– Spawn points for players or items.
**Camera:**
– Third-person camera that follows the player.
– Camera allows free movement and rotation controlled by the mouse.
**Player Controls:**
– Movement:
– Run using WASD keys.
– Sprint with Shift key.
– Jump with Space key (realistic jump height ~1.5 meters).
– Crouch using ‘C’ key.
– Aim and Shoot:
– Aim with mouse right-click.
– Shoot with mouse left-click.
– Weapon Management:
– Switch among multiple weapon types:
– Assault Rifle (AR)
– Submachine Gun (SMG)
– Shotgun
– Interaction:
– Pick up weapons and shields from the environment.
– Throw grenades and use healing items during gameplay.
**Animations:**
– Idle animation when standing still.
– Running animation during movement.
– Jumping animation.
– Aiming and shooting animations.
**Physics and Collision:**
– Implement physics-based collision to prevent walking through buildings or obstacles.
– Ensure jumping does not cause unnatural flying into the sky.
**Development Requirements:**
– Export all game logic in TypeScript (TSX).
– Use React Three Fiber for 3D rendering.
– Use @react-three/rapier physics engine for realistic physics.
– Structure code to be modular, scalable, and optimized for performance.
**Additional Constraints:**
– Replicate player controls and behaviors similar to Free Fire.
**Steps:**
1. Define the player model with accurate height and realistic physics properties.
2. Generate a detailed tropical island environment including:
– Buildings
– Trees
– Roads
– Mountains
– Spawn points
– Obstacles
3. Implement a third-person camera with flexible movement and rotation controllable via mouse input.
4. Setup player input controls for:
– Running
– Sprinting
– Jumping
– Crouching
– Aiming
– Shooting
– Switching weapons
– Picking up items
– Throwing grenades
– Using healing items
5. Integrate animations for all player states and actions.
6. Apply physics and collision detection ensuring natural interaction with the environment and no unreal jumps.
7. Organize code using TypeScript and React Three Fiber coupled with @react-three/rapier.
8. Ensure modularity, scalability, and optimization throughout the codebase.
**Output Format:**
Provide the full game logic code in **TypeScript (TSX)**, compatible with **React Three Fiber** and **@react-three/rapier** physics engine. Ensure the code is:
– Well-commented
– Modularized for scalability and performance
Include all player control implementations, animations, physics setups, environment generation, and camera controls as described. No additional narrative or explanation—only source code and necessary inline comments.
**Notes:**
– The player character and controls should closely emulate the feel and mechanics of Free Fire.
– Use realistic physics parameters for gravity, mass, and collisions.
– The environment should support gameplay elements such as spawning weapons and items on the ground for pickup.
– Camera must allow the player full rotational freedom around the character.
– Avoid any physics glitches like unnatural flying or clipping through objects.
This prompt is suitable for platforms supporting code or video game generation with detailed 3D and physics capabilities (e.g., Sora or similar).
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Paste it into a suitable game development platform.
- Ensure the platform supports TypeScript and React Three Fiber.
- Follow the outlined steps to implement game features.
- Test the game for functionality and performance.
- Optimize the code for modularity and scalability.
Tips for Best Results
- Define Player Model: Create a player character with a height of 1.75 meters and realistic physics properties for gravity and mass.
- Generate Environment: Design a tropical island with diverse terrains including buildings, trees, roads, and obstacles for immersive gameplay.
- Implement Camera Controls: Set up a third-person camera that allows free movement and rotation using mouse input for better player perspective.
- Setup Player Controls: Code player actions such as running, jumping, aiming, and shooting, ensuring smooth and responsive gameplay mechanics.
FAQ
- What is the height of the player character?
The player character has a realistic height of 1.75 meters. - What controls are used for player movement?
Players use WASD keys for movement, Shift for sprinting, and Space for jumping. - How does the camera function in the game?
The third-person camera follows the player and allows free movement and rotation with the mouse. - What physics engine is used for realistic interactions?
The game utilizes the @react-three/rapier physics engine for realistic physics and collision detection.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


