Rio Rex

Seele01-Flash
By
Rio Rex is an explosive dinosaur action game where you control a powerful T-Rex on a destructive rampage through Rio de Janeiro. Breathe fire, devour humans, and demolish buildings in this thrilling free-to-play browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rio Rex Rampage**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A **2.5D Side-Scroller** using a "Gritty Arcade" aesthetic. The world should be rendered in 3D but gameplay is on a 2D plane. Use bright, saturated colors typical of Rio de Janeiro (sunny skies, green palm trees) contrasted with industrial concrete and blood-red destruction effects. * **Main Character (T-Rex)**: A robust, low-poly T-Rex model with detailed skin textures (scales). The model needs distinct animations: Idle (heaving chest), Run (heavy stomping), Jump, Bite (snap jaw), and Fire Breath (head rearing back). * **Environment**: An urban Rio setting. Background layers (parallax scrolling) should show favelas and city skylines. Foreground elements include destructible objects like wooden crates, explosive red barrels, and small cars. * **Effects**: Use `THREE.Points` or simple shader-based particles for the **Fire Breath** effect. Implement blood splatters (simple red quads) when enemies are eaten. * **Performance**: Use instanced meshes for repetitive environment objects (fences, debris). Limit the T-Rex poly count to under 3000 tris for smooth mobile performance. ### 2. Audio Requirements * **BGM**: A high-energy, driving **Hard Rock / Heavy Metal** track with chugging guitars to match the aggressive gameplay. * **SFX**: * **Roar**: A loud, distorted dinosaur roar when the level starts or upon special attacks. * **Footsteps**: Heavy, bass-filled thuds that synchronize with the T-Rex's run cycle (screenshake audio cue). * **Crunch**: A visceral "snap" sound when biting enemies. * **Fire**: A continuous "whoosh/flamethrower" sound loop while the fire button is held. ### 3. Gameplay Loop * **Core Mechanics**: The player controls a T-Rex moving from left to right. The goal is to reach the "Exit" sign at the end of the level while causing maximum destruction. * **Combat**: * **Bite**: Instant melee attack. Kills human enemies instantly and restores a small amount of health. * **Fire Breath**: Mid-range area-of-effect attack. Destroys armored enemies or vehicles but has a "Stamina/Gas" bar that depletes when used and recharges slowly. * **Enemies**: Unarmed civilians (run away), armed soldiers (shoot at Rex), and static obstacles (turrets/cars). * **Win/Loss**: * **Win**: Reach the end of the stage. * **Loss**: Health drops to zero (from enemy bullets or exploding barrels). ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (Fixed). * **Virtual Controls**: * **Left Side**: A virtual analog joystick or D-Pad for Left/Right movement. * **Right Side**: Three distinct action buttons (minimum 60px diameter for touch targets): 1. **Jump Button**: Bottom-right. 2. **Bite Button**: Center-right (rapid tap). 3. **Fire Breath Button**: Top-right (Press and Hold functionality). * **Feedback**: * **Camera Shake**: Crucial for mobile "feel". The camera must shake slightly when the T-Rex lands a jump, roars, or destroys a car. * **Haptics**: Trigger device vibration (using `navigator.vibrate`) on taking damage or eating an enemy. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rio Rex is an action-packed dinosaur destruction game that puts you in control of a fearsome Tyrannosaurus Rex unleashed upon the vibrant city of Rio de Janeiro. This free online browser game combines prehistoric power with modern urban chaos, creating an addictive gaming experience that has captivated players worldwide.

In Rio Rex, you embody the ultimate apex predator as it rampages through Brazil's iconic city. The game features stunning visuals of Rio's famous landmarks being reduced to rubble under your massive claws and fiery breath. From Copacabana Beach to the Christ the Redeemer statue, no part of the city is safe from your dinosaur's wrath.

Core Features

Massive Destruction Gameplay

Experience unparalleled destruction as you control a giant T-Rex with devastating abilities. Crush cars, demolish buildings, and create chaos throughout Rio's streets. The physics-based destruction system ensures every rampage feels unique and satisfying.

Fire-Breathing Mechanics

Unleash your inner dragon with the T-Rex's fire-breathing ability. Hold the attack button to charge up a powerful flame attack that can melt vehicles, incinerate obstacles, and clear entire city blocks. Strategic use of fire breath is key to maximizing destruction.

Dynamic Urban Environment

Rio de Janeiro serves as your destructible playground, featuring authentic Brazilian architecture and landmarks. Navigate through favelas, beaches, downtown districts, and tourist areas, each offering unique destruction opportunities and challenges.

Intuitive Control System

The game features simple yet responsive controls that make destruction feel natural. Move with arrow keys or WASD, jump to reach higher buildings, and attack with simple mouse clicks. Easy to learn but satisfying to master.

Game Mechanics

Feeding and Growth System

Your T-Rex grows stronger by devouring humans and consuming destruction targets. Each meal increases your dinosaur's power and unlocks new destructive capabilities. Strategic feeding keeps your rampage going longer.

Score-Based Progression

Earn points for every building destroyed, vehicle crushed, and human consumed. Higher scores unlock achievements and bragging rights. Compete with friends to see who can cause the most comprehensive destruction.

Operation Guide

Movement Controls: - A/D Keys or Left/Right Arrows : Move your T-Rex left and right through the city - W Key or Up Arrow : Jump to reach higher platforms and buildings

Combat Controls: - Left Mouse Button (Click) : Perform basic bite and claw attacks - Left Mouse Button (Hold) : Charge and release devastating fire breath

Gameplay Tips: - Use fire breath strategically to clear large areas quickly - Jump onto buildings to access upper floors for maximum destruction - Keep moving to avoid getting stuck and maintain momentum - Target groups of humans and vehicles for higher score multipliers

Why Play Rio Rex

Stress Relief Gaming

Rio Rex provides the perfect outlet for stress relief through consequence-free destruction. There's something deeply satisfying about watching a massive dinosaur reduce a city to rubble, making it an ideal game for unwinding after a long day.

Nostalgic Monster Movie Experience

The game captures the classic monster movie aesthetic, reminiscent of Godzilla and other kaiju films. It's a love letter to the giant monster genre that lets you be the star of your own destruction movie.

Accessible Browser Gaming

No downloads required - Rio Rex runs smoothly in any modern web browser. Whether you're on a computer, tablet, or smartphone, you can start your dinosaur rampage within seconds of loading the page.

Perfect for Quick Gaming Sessions

With its pickup-and-play nature, Rio Rex is perfect for short gaming breaks. Each session delivers immediate satisfaction without requiring long-term commitment or complex learning curves.

Family-Friendly Fun

Despite the destruction theme, Rio Rex maintains a cartoonish, lighthearted tone that's appropriate for players of all ages. It's violent enough to be exciting but stylized enough to remain family-friendly.

Frequently Asked Questions (FAQ)