grand city

Prompt

You are a senior JavaScript and Three.js game developer. Create the first playable prototype of GRAND CITY: THE LAST EMPIRE. TECH STACK: HTML CSS JavaScript ES modules Three.js Vite GRAPHICS: Stylized 3D graphics. Colorful buildings. Low-poly environmental assets. Attractive lighting and shadows. Optimized for low-end computers. GAMEPLAY: Create a third-person player character. WASD movement. Mouse-controlled camera. Jumping. Collision with buildings and objects. A large playable test environment. A visible ground plane with roads, sidewalks and buildings. Basic lighting and sky. A simple HUD showing player information. CONTROLS: W: Move forward S: Move backward A/D: Move sideways Space: Jump Mouse: Rotate camera ENGINEERING: Use modular JavaScript files. Use delta time for movement. Prevent the player from falling through the ground. Include collision detection. Add a pause function. Make sure the game works in a browser. DELIVERABLE: Create a complete working project with all necessary files. Include installation and launch instructions. Do not use fake buttons or placeholder gameplay. Test the implementation and fix errors before finishing. Upgrade the existing GRAND CITY project with a complete vehicle system. FEATURES: Create a drivable sports car. Enter the vehicle using E. Exit using E. WASD driving controls. Space for handbrake. Smooth steering. Acceleration and braking. Vehicle collision. Follow camera with smooth movement. Speedometer in the HUD. Vehicle engine sound. Three different vehicle types. Make vehicle handling enjoyable and believable. IMPORTANT: Preserve the existing player and world systems. Keep vehicle code modular. The player must be able to enter and exit vehicles. Fix camera switching bugs. Test the driving system. Expand GRAND CITY into a massive open-world environment. Create eight connected regions: Vice Bay, Grand Downtown, East Borough, Ironport, Richwood, Redstone County, Mount Horizon and Airport City. WORLD REQUIREMENTS: A connected road network. Major highways. Bridges and tunnels. Small roads and shortcuts. Forests and lakes. Beaches and ports. Distinctive buildings and landmarks. Hidden exploration locations. TECHNICAL REQUIREMENTS: Implement chunk-based world streaming. Load nearby chunks around the player. Unload distant chunks. Use level-of-detail systems. Use instanced meshes for repeated objects. Add collision only where necessary. Avoid loading every building simultaneously. MAP: Full-screen map. Player location. District boundaries. Mission markers. Racing markers. Waypoints. Make the regions physically connected and explorable. Do not create eight disconnected demonstration scenes. Create a living-city simulation system for GRAND CITY. TRAFFIC: Cars follow road paths. Traffic lights. Stop and go behavior. Vehicle avoidance. Different driving speeds. PEDESTRIANS: Pedestrians walk on sidewalks. Basic crossing behavior. Random destinations. Simple conversations and reactions. WORLD: Day/night cycle. Rain and fog. Ambient environmental sounds. Different lighting in different districts. Dynamic weather transitions. OPTIMIZATION: Limit AI simulation to nearby areas. Reduce distant NPC updates. Reuse objects. Avoid unnecessary calculations. Integrate everything with the existing world streamer. Do not destroy existing systems. Create the main story campaign for GRAND CITY: THE LAST EMPIRE. Protagonists: Alex Carter — former professional street racer. Marcus Reed — ambitious businessman. Sofia Hayes — underground racing champion and mechanic. Create a 30-mission campaign with interconnected storylines. Every mission must have: A title. A briefing. Dialogue. Objectives. Mission markers. Completion conditions. Rewards. Story consequences. Add: Mission selection. Mission introduction screens. Character switching. Dialogue boxes. Cinematic camera sequences. Multiple possible endings. Include emotional storytelling, friendship, rivalry, betrayal and unexpected revelations. Make the story original. Avoid copying existing GTA missions or characters. Implement a functional mission manager and integrate it with the existing map. Build a full racing championship system for GRAND CITY. Create: 5 street races. 3 highway races. 3 mountain races. 2 off-road races. 2 time trials. FEATURES: Race countdown. Checkpoints. Lap counter. AI opponents. Race positions. Finish screen. Rewards. Unlockable vehicles. Race map markers. Championship progression. Each race must have a different route and difficulty. Integrate with the existing vehicle system and world map.Build an immersive in-game radio system for GRAND CITY. Create eight stations: Grand FM — Pop. Vice Wave — Electronic. Rock Nation — Rock. Underground 99 — Hip-hop. Country Roads — Country. Retro Gold — Classic-style original music. News 24 — News and talk. Night Drive — Synthwave. FEATURES: Radio station switching. Station display. Track title display. DJ commentary. Dynamic news bulletins. Radio automatically turns on when entering a car. Radio fades when exiting. Volume controls. Use original music or properly licensed royalty-free music. Never copy commercial songs. Make the system modular and compatible with the vehicle system. Create a professional interface for GRAND CITY. MAIN MENU: New Game. Continue. Settings. Credits. IN-GAME HUD: Minimap. Health indicator. Current mission. Objective tracker. Money counter. Speedometer. District name. IN-GAME PHONE: Contacts. Mission notifications. Map. Racing events. Settings. PAUSE MENU: Resume. Map. Missions. Statistics. Settings. Save Game. STYLE: Use a modern, colorful, premium open-world game interface. Make every button functional and connect all menus to the actual game systems. Act as a senior browser game performance engineer. Audit GRAND CITY: THE LAST EMPIRE. Optimize: Three.js rendering. Memory usage. World streaming. Traffic AI. Pedestrian AI. Texture loading. Model loading. Shadow rendering. Draw calls. JavaScript performance. Add: Low, Medium and High graphics settings. FPS counter. Resolution scaling. Adjustable render distance. Shadow quality controls. Audio settings. Fix: Console errors. Broken controls. Collision bugs. Vehicle bugs. Mission progression bugs. Save/load bugs. Test the entire game from starting the application to completing a mission. Do not remove gameplay features just to make the game appear optimized.

A system prompt was added to support web rendering

Response not available

Drag to resize
Drag to resize
Drag to resize