Space Waves - Online Arcade Obstacle Game

Seele01-Flash
By
Space Waves is a challenging arcade game where precision and quick reflexes are key. Navigate an arrow through 33 increasingly difficult levels filled with obstacles, rotating cogs, and deadly spikes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Space Waves". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Cyberpunk/Synthwave aesthetic. The game should utilize an **Orthographic Camera** to simulate a precise 2D arcade feel within the 3D engine. * **Color Palette**: High contrast. Deep violet/dark purple background (`#220033`) with a subtle scrolling grid texture. Foreground elements (walls/obstacles) should be dark with bright, glowing white or neon pink outlines. * **Player Model**: A sleek, low-poly arrow or paper-plane shape (white body with yellow accents). Crucially, the player must leave a **glowing yellow trail** (ribbon line) behind them that persists for ~1 second, visualizing the "wave" pattern. * **Obstacles**: * **Static Walls**: Jagged geometry forming a tunnel. * **Spikes**: Neon triangular shapes lining the walls. * **Moving Hazards**: Rotating cogs or floating geometric shapes. * **Mobile Optimization**: * Use `MeshBasicMaterial` with color properties instead of complex PBR materials to ensure 60 FPS on mobile. * Simulate "Glow" using additive blending on outline textures rather than expensive post-processing bloom, unless the device detects high-end GPU capabilities. ### 2. Audio Requirements * **BGM (Background Music)**: Fast-paced, driving **Synthwave or Electro-House** track. The tempo should match the speed of the player's forward movement to create flow. * **Sound Effects (SFX)**: * **Movement**: A subtle, digital "whoosh" or pitch shift when the player changes direction (on press/release). * **Death**: A "glass shattering" or "digital glitch" sound effect upon collision. * **Win**: A euphoric ascending synth chord. * **UI**: Crisp, mechanical clicks for pausing or selecting levels. ### 3. Gameplay Loop * **Core Mechanic**: The player moves automatically to the right at a constant speed. * **Input Logic**: When the screen is touched/held, the arrow flies diagonally **UP** (45 degrees). When released, the arrow flies diagonally **DOWN** (45 degrees). This creates a zigzag "wave" trajectory. * **Collision**: Instant death upon touching any wall, spike, or obstacle. The level restarts immediately (quick respawn is essential for "try again" addiction). * **Level Design**: The game should feature a progression system. Start with a wide tunnel (Green difficulty) and progressively narrow the path, introducing sharper angles and moving obstacles in later stages. * **Victory**: Reaching the end of the coordinate map triggers a "Level Complete" slowed-down animation and a victory menu. ### 4. Mobile Controls & Interaction * **Control Scheme**: "One Button" gameplay. * **Action**: Touch and Hold anywhere on the screen to ascend. Release to descend. * **Responsiveness**: Input must be processed immediately (0 latency) to allow for tight maneuvering. * **Screen Orientation**: **Landscape** is mandatory to see upcoming obstacles. * **UI Layout**: * **Pause Button**: Top-right corner (minimum 44x44px touch target). * **Progress Bar**: A thin line at the top of the screen showing % completion of the level. * **Feedback**: * **Visual**: A small particle explosion at the point of impact on death. * **Haptic**: Trigger `navigator.vibrate(200)` on death/collision to provide tactile failure feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Space Waves

Space Waves is an intense arcade-style obstacle avoidance game that tests your precision and reflexes. With its vibrant purple space theme and sleek 2D graphics, this game challenges players to navigate a yellow arrow through increasingly complex obstacle courses. The game features 33 unique levels, each with its own difficulty rating system that lets you choose your challenge level.

The game's appeal lies in its simple yet addictive gameplay mechanics. Using just one control input, you'll guide your arrow through tight spaces, past rotating mechanical cogs, and around sharp spikes that spell instant death for the unwary pilot.

Core Features

33 Unique Challenging Levels

Each level in Space Waves presents a unique obstacle course with varying difficulty ratings. The game uses a color-coded system where "green" levels offer wider spaces and gentler angles for beginners, while advanced levels feature tighter corridors and more complex obstacle patterns.

Level Selection Freedom

Unlike many arcade games that force linear progression, Space Waves allows you to jump to any level at any time. This means you can start with the most challenging levels if you're feeling brave, or warm up with easier stages to build your skills.

Minimalist One-Button Control

The game's genius lies in its simplicity. With just one input - holding to go up, releasing to go down - you'll need to master the art of momentum and timing to succeed.

Cross-Platform Compatibility

Space Waves runs smoothly on both desktop and mobile browsers, making it perfect for quick gaming sessions whether you're at your computer or on the go.

Game Mechanics

Core Objective

Your mission is straightforward: guide your arrow from the starting point to the end of each level without colliding with any obstacles. However, the execution requires precise timing and smooth control.

Obstacle Types

  • Walls : Solid barriers that require careful navigation
  • Rotating Cogs : Moving mechanical obstacles that demand timing
  • Spikes/Thorns : Sharp hazards positioned to catch careless players
  • Tight Passages : Narrow corridors that test your precision

Operation Guide

Desktop Controls

  • Hold Left Mouse Button, W Key, or Spacebar : Makes the arrow move upward
  • Release the Control : Arrow moves downward due to gravity
  • P Key : Pause the game

Mobile Controls

  • Hold Screen : Arrow goes up
  • Release Screen : Arrow falls down

Mastering the controls requires understanding the physics. Your arrow has momentum, so smooth movements work better than erratic tapping. The key is finding the rhythm between holding and releasing to maintain steady flight through obstacles.

Strategy Tips

Master the Zigzag Technique

When facing dense obstacle fields, move in a zigzag pattern. This technique gives you the momentum benefit of straight-line movement while allowing you to navigate around barriers effectively.

Start with Your Comfort Zone

While you can jump to any level, consider starting with easier "green" levels to understand the physics and timing before tackling the more challenging stages.

Practice Smooth Control

Avoid rapid tapping or jerky movements. Smooth, controlled inputs will help you navigate tight spaces more effectively.

Why Play Space Waves

Space Waves offers the perfect blend of simplicity and challenge that makes arcade games addictive. The game respects your time with its level selection system while providing enough difficulty variation to keep you engaged. Whether you have two minutes or two hours, you can jump in and test your skills.

The game's free-to-play model with no downloads required makes it instantly accessible. Its mobile-friendly design ensures you can practice your obstacle navigation skills anywhere, anytime.

For players who enjoy skill-based challenges, Space Waves delivers that "just one more try" feeling that keeps you coming back to master those particularly tricky levels.

Frequently Asked Questions (FAQ)