Roller Coaster Builder 2

Seele01-Flash
By
Roller Coaster Builder 2 is an exciting construction simulation game where you design and build thrilling roller coasters. Create amazing theme park attractions with loops, drops, and spectacular twists that will amaze virtual visitors.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Roller Coaster Builder 2". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Adopt a **clean, vibrant low-poly aesthetic** that mimics the bright contrast of the reference image. The skybox should be a clear, deep azure blue (CSS `DeepSkyBlue` or similar). * **The Coaster**: The primary asset is the track generator. The track itself should be **bright red** with a tubular design, and the structural supports (pillars) must be **white** with lattice-work textures or geometry. * **Track Generation**: Use `THREE.CatmullRomCurve3` to generate smooth tube geometries dynamically based on user input points. The supports should automatically extend from the track down to the ground plane (y=0). * **Environment**: A flat, grassy green grid based ground (infinite plane) to serve as the construction canvas. Floating "Star" or "Coin" tokens should be placed in the sky as objectives for the coaster to hit. * **Mobile Optimization**: Use `InstancedMesh` for repeated track ties/sleepers and supports to maintain high FPS on mobile devices. Limit shadows to the coaster cart only. ### 2. Audio Requirements * **BGM**: An upbeat, creative "simulation/tycoon" style track—light acoustic guitar or synth-pop that implies productivity and fun. * **SFX - Construction**: * *Placement*: A satisfying metallic "Clank" or "Snap" sound when a track segment is placed. * *Delete*: A "Whoosh" or crumple sound. * **SFX - Simulation**: * *Chain Lift*: The iconic "Clack-clack-clack" mechanical sound when the cart is going up steep hills. * *Coaster Roar*: A looping wind/rumble noise that changes pitch based on the cart's velocity. * *Success/Fail*: A cheerful chime for reaching the goal; a comical "crash" sound if the cart flies off. ### 3. Gameplay Loop * **Phase 1: Construction (The "BUILD" Mode)**: The player is presented with a Start Point and an End Point in 3D space. Between them are floating obstacles and collectible coins. The player must draw/place track nodes to connect the start to the finish. * **Phase 2: Simulation (The "RIDE" Mode)**: The player presses "Play." A physics-based cart spawns at the start. * **Physics Logic**: The cart must obey conservation of energy (momentum). If a hill is too high relative to the previous drop, the cart rolls back (Fail). If a turn is too sharp at high speed, the cart derails (Fail). * **Win Condition**: The cart successfully travels the entire track, collects at least one star/coin, and stops safely at the finish zone. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** is preferred for a wider construction view. * **Camera Controls**: * *Two-finger pinch*: Zoom in/out. * *Two-finger pan*: Move the camera across the build plane. * **Building Controls (Touch)**: * implement a **"Draw Mode" toggle**. When active, dragging one finger on the screen draws the 3D curve (projected onto a depth plane). * Alternatively, provide **"Add Node" buttons** (Up, Down, Left, Right) for precise piece-by-piece construction if free-drawing is too complex for the touch interface. * **UI Layout**: * Action buttons (Play, Reset, Delete, Undo) must be at least **48x48px** and anchored to the right thumb zone. * A prominent "Test Run" button in Green. * **Feedback**: Trigger **Haptic Feedback (Vibration)** when a track piece snaps to the grid or when the coaster collects a coin during the simulation. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Roller Coaster Builder 2 is the ultimate theme park construction simulation that puts you in control of designing the world's most thrilling roller coasters. This free online game combines creativity, engineering, and excitement as you build spectacular rides that push the boundaries of imagination. Whether you're creating gentle family coasters or heart-pounding extreme rides, this game offers endless possibilities for aspiring theme park designers.

Core Features

Experience the thrill of being a master roller coaster architect:

  • Advanced Building Tools : Professional-grade construction interface with precision controls for creating complex track layouts
  • Realistic Physics Engine : Watch your creations come to life with authentic roller coaster physics and momentum
  • Unlimited Creativity : No restrictions on design - build towering loops, steep drops, corkscrews, and death-defying inversions
  • 3D Visualization : See your roller coasters from every angle with smooth 3D graphics and realistic environments
  • Safety Testing : Test your rides before opening to ensure they're both thrilling and safe for virtual passengers
  • Multiple Environments : Build in various scenic locations from mountain peaks to seaside boardwalks

Engineering Meets Entertainment

This isn't just about placing tracks randomly. Roller Coaster Builder 2 challenges you to think like a real engineer. Consider factors like speed, G-forces, and passenger comfort while creating rides that are both exciting and structurally sound. The game teaches basic physics principles through hands-on experimentation.

Theme Park Management Elements

Beyond construction, manage the business side of your theme park. Monitor visitor satisfaction, adjust ticket prices, and ensure your roller coasters attract crowds while maintaining profitability. Balance thrill levels with safety ratings to create the perfect attraction portfolio.

Gameplay Mechanics

Master the art of roller coaster construction:

Design Phase : Start with terrain selection and plan your coaster's path. Use elevation tools to create hills, valleys, and dramatic elevation changes that maximize excitement.

Construction Process : Place track pieces with precision, ensuring smooth connections and proper banking on curves. Add support structures to maintain stability and realism.

Customization Options : Choose from various track types, car designs, and theming elements. Create unique experiences with different coaster styles from wooden classics to modern steel monsters.

Testing and Optimization : Run test rides to analyze speed, excitement levels, and safety ratings. Make adjustments to improve performance and passenger satisfaction.

Operation Controls

The game features intuitive controls designed for both beginners and advanced builders:

  • Mouse Controls : Primary tool for placing, moving, and adjusting track pieces and structures
  • Camera System : Use mouse wheel and drag to navigate around your construction site from any angle
  • Keyboard Shortcuts : Quick access to frequently used tools and building options
  • Grid System : Snap-to-grid functionality ensures precise alignment and professional-looking results
  • Undo/Redo : Easily correct mistakes or experiment with different design approaches

Why Play Roller Coaster Builder 2

This game appeals to anyone fascinated by engineering, construction, or theme parks. It's perfect for:

  • Creative Minds : Express your architectural vision through unlimited design possibilities
  • Problem Solvers : Tackle engineering challenges while balancing multiple design constraints
  • Theme Park Enthusiasts : Experience the behind-the-scenes magic of creating world-class attractions
  • Students : Learn physics and engineering principles through interactive gameplay
  • Casual Gamers : Enjoy relaxing, creative gameplay without time pressure or competition

The game runs entirely in your web browser, requiring no downloads or installations. Compatible with all modern devices, you can build your dream theme park anywhere, anytime. Start with simple designs and gradually master advanced techniques to create increasingly spectacular roller coasters that would make real theme park designers envious.

Frequently Asked Questions (FAQ)