Jumping Cube

Seele01-Flash
By
Jumping Cube is an addictive endless jumping arcade game featuring colorful 3D blocks and simple one-click controls. Challenge yourself to cross moving block roads without falling while aiming for the highest score possible.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Jumping Cube". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Minimalist Arcade / Synthwave aesthetic. Use an **Orthographic Camera** (Isometric view) to match the reference screenshot perfectly. * **Color Palette:** * **Background:** Solid Deep Black (`#000000`). * **Platforms:** Neon/Pastel distinct colors (Cyan `#00FFFF`, Magenta `#FF00FF`, Purple `#9D00FF`, Deep Blue `#0000FF`). The sides of the blocks should be shaded darker to emphasize depth. * **Player:** A bright, pure White (`#FFFFFF`) cube. * **Geometries:** Use simple `BoxGeometry` for all elements to ensure high performance on mobile. * **Lighting:** Use `AmbientLight` (soft) + `DirectionalLight` (positioned top-left) to create distinct shadows that define the isometric geometry. * **Performance:** Use **InstancedMesh** for the moving platform rows if possible, or efficient object pooling, as this is an endless runner. Limit the draw distance to keep the frame rate high on mobile devices. ### 2. Audio Requirements * **BGM:** A looping, rhythmic **Synthwave/Chiptune** track. It should be low-key and not distracting, providing a steady beat for timing jumps. * **Sound Effects (SFX):** * **Jump:** A short, retro 8-bit "whoosh" or "bloop". * **Land:** A subtle "thud" when hitting a platform. * **Collect:** A high-pitched "ding" or "chime" when collecting bonus mini-cubes. * **Game Over:** A falling "whistle" effect or a digital "crunch" sound when the player falls into the void. ### 3. Gameplay Loop * **Core Mechanics:** The game functions like "Crossy Road" but with a distinct rhythm. The player controls a white cube attempting to cross endless rows of moving platforms. * **The Environment:** * The world consists of rows. Some rows are static (safe zones), but most act as conveyor belts moving either Left or Right at varying speeds. * There are gaps between blocks. * **Player Action:** * The player starts on a static platform. * **Click/Tap:** The cube jumps forward one row (z-axis movement). * While on a moving platform, the player is carried sideways by the platform's velocity. * **Fail Conditions (Game Over):** 1. **Falling:** Jumping into a gap between blocks (falling into the black void). 2. **Drifting:** Riding a moving block off the edge of the screen. * **Scoring:** +1 point for every successful forward jump. * **Bonus:** Randomly spawn "mini-cubes" on some platforms. landing on them awards +5 bonus points. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Full-screen tap detection**. The user can tap anywhere on the screen to trigger the `Jump` action. * **Responsiveness:** The jump must be instant (zero input lag). Add a visual "Squash and Stretch" animation to the cube during the jump to make the physics feel juicy and responsive. * **Camera Behavior:** The camera should smoothly follow the player's forward progress but **not** their lateral (left/right) movement. This forces the player to manage their position relative to the screen edges. * **UI/UX:** * **Score Display:** A large, minimalist font (white sans-serif) at the top center. * **Game Over Screen:** An overlay that appears instantly upon death, showing "Final Score" and a large "Restart" button (minimum 44x44px touch target) centered on the screen. * **Orientation:** Support **Portrait Mode** primarily (easier for one-handed play), but ensure the camera scales correctly if the user switches to Landscape. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Jumping Cube is an engaging endless jumping arcade game that combines simple mechanics with challenging gameplay. Featuring beautiful 3D block animation with vibrant pastel-colored cubes set against a sleek black background, this game offers a visually appealing twist on classic jumping games like Frogger. With a solid 3.6/5 rating from players, it has proven to be both entertaining and addictive.

Unlike traditional obstacle-course games, Jumping Cube takes a safer approach while maintaining the excitement. Instead of dodging cars or avoiding deadly traps, players focus purely on precision jumping and timing to navigate through moving block roads.

Core Features

Endless Arcade Action

Experience unlimited gameplay with no levels or endpoints. The challenge continuously increases as you progress, testing your reflexes and timing skills to the maximum.

Beautiful 3D Graphics

Enjoy stunning 3D block animation featuring: - Vibrant pastel-colored blocks - Smooth animations and transitions - Clean, minimalist black background design - Eye-catching visual effects

Simple Yet Challenging Gameplay

The game follows the "easy to learn, hard to master" principle. While the controls are incredibly simple (just click or tap), achieving high scores requires skill, practice, and perfect timing.

Cross-Platform Compatibility

  • Free to play : No payment required, completely free
  • Instant play : No downloads or installations needed
  • Mobile optimized : Perfect for smartphones and tablets
  • HTML5 technology : Runs smoothly in any modern browser
  • All ages friendly : Suitable for players of all skill levels

Physics-Based Movement

Experience realistic physics as your cube bounces and moves across the moving block roads. The physics engine adds authenticity to every jump and landing.

Gameplay Mechanics

Objective

Your main goal is to guide your jumping cube across as many moving block roads as possible without falling between blocks or running off the screen. Each successful crossing increases your score.

Scoring System

  • Cross block roads to earn points
  • Target blocks with smaller cubes for bonus points
  • Aim for consecutive successful jumps to build momentum
  • Track your best and most recent scores after each session

Moving Block Roads

Navigate through roads of blocks that move in opposite directions. This creates a dynamic challenge where timing becomes crucial for success. The blocks move at different speeds, requiring you to adapt your jumping rhythm accordingly.

Operation Guide

Controls

  • Mouse : Click anywhere on the screen to make your cube jump
  • Touch : Tap anywhere on the screen (mobile devices)
  • Timing : Click/tap at the right moment to land safely on moving blocks

Pro Tips

  • Watch the movement patterns of the block roads
  • Time your jumps carefully to land on stable platforms
  • Don't rush - patience often leads to higher scores
  • Focus on blocks with smaller cubes for extra points
  • Use the leaderboard to track your progress against other players

Getting Started

No tutorial needed! Simply: 1. Click or tap the screen to start 2. Make your cube jump by clicking/tapping 3. Avoid falling between blocks 4. Keep jumping to increase your score 5. Try to beat your personal best

Why Play Jumping Cube

Perfect for Quick Gaming Sessions

Ideal for short breaks or commuting, this instant-play game requires no commitment while providing immediate entertainment.

Skill Development

  • Improves hand-eye coordination
  • Enhances timing and rhythm skills
  • Develops patience and strategic thinking
  • Builds concentration and focus

Stress-Free Entertainment

Unlike violent or complex games, Jumping Cube offers relaxing yet engaging gameplay that's perfect for unwinding while still providing a satisfying challenge.

Competitive Element

Check the leaderboard to see how you rank against other players worldwide. This adds a competitive aspect that keeps you coming back to improve your scores.

Accessibility

With its simple controls and all-ages content rating, Jumping Cube is accessible to players of all ages and skill levels. Whether you're a casual gamer or a hardcore player, you'll find something to enjoy.

Frequently Asked Questions (FAQ)