Only Up Balls - Physics Platform Game

Seele01-Flash
By
Only Up Balls is an exciting physics-based platform game where you guide a ball through challenging vertical levels. Master gravity-defying jumps, avoid obstacles, and race to reach the top in single or 2-player mode.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Only Up Balls". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, semi-realistic "Urban Sky Parkour" aesthetic. * **Player Character:** A realistic basketball model with high-resolution textures (orange rubber with black channels). The ball must rotate visually to match its physics velocity. * **Environment (The Track):** Floating industrial platforms using "Diamond Plate" metal textures with yellow and black "Hazard" stripes on the edges. Platforms should vary in shape (straight narrow beams, wide landing pads, inclined ramps). * **Background:** A bright blue skybox with volumetric-looking clouds. Below the platforms (far down), render a low-poly abstract cityscape or a dense fog layer to convey extreme height and vertigo. * **Performance (Mobile):** Use `InstancedMesh` for repeated platform segments. Limit dynamic lights to one directional light (Sun) casting shadows. Use baked ambient occlusion on textures where possible. ### 2. Audio Requirements * **BGM:** Upbeat, urban "Chillhop" or Lo-Fi Hip Hop beat that encourages focus but keeps energy high. * **Sound Effects (SFX):** * *Movement:* distinct "thud" sound when the ball lands on metal (pitch slightly randomized). * *Physics:* Rolling sound loops that increase in volume with speed. * *Environment:* A "Whoosh" wind sound effect that triggers only when the player falls off a platform. * *UI:* Positive "Ding" for reaching checkpoints; Digital "Glitch" sound for respawning. ### 3. Gameplay Loop * **Core Mechanic:** A vertical 3D platformer where the player controls a physics-based ball. The goal is to ascend from the bottom to the top without falling. * **Physics:** Use a physics engine (like Cannon.js or Ammo.js integrated with Three.js). The ball should have weight/inertia—it shouldn't stop instantly. Momentum is key for long jumps. * **Obstacles:** Static gaps, rotating platforms, and "Elevator" platforms that move vertically. * **Checkpoints:** Golden flagpoles placed at stable intervals. If the player falls off the map (y < -50), they instantly respawn at the last triggered checkpoint. * **Victory:** Reaching the highest platform triggers a particle confetti explosion and a "Course Completed" UI modal with the final time. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** (Force landscape if possible, or design UI to adapt). * **Control Scheme (Touch):** * **Left Half of Screen:** Invisible Virtual Joystick for movement (XZ plane forces). * **Right Bottom Corner:** Large, semi-transparent circular button for **JUMP** (impulse force upward). * **Right Side Swipe (Empty area):** Rotates the camera around the ball for better depth perception. * **Camera:** Third-person view following the ball. Implement smooth damping (`lerp`) so the camera doesn't jitter. The camera should look slightly downward to help the player see the landing spot. * **Feedback:** Add `navigator.vibrate(50)` on jump and `navigator.vibrate(200)` on impact/landing to provide tactile weight. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Only Up Balls is an addictive physics-based platform game that challenges players to guide a ball through increasingly difficult vertical levels. Set against stunning city skylines, this casual game combines precise physics mechanics with thrilling platform jumping action. Your mission is simple yet challenging: navigate your ball from platform to platform, defying gravity as you climb higher and higher toward the ultimate goal.

The game features vibrant 3D graphics showcasing towering skyscrapers and urban landscapes that create an immersive vertical climbing experience. Each level presents unique challenges that test your timing, precision, and understanding of physics-based movement.

Core Features

Exciting Physics-Based Gameplay

Experience realistic ball physics that make every jump and movement feel authentic. The game's sophisticated physics engine ensures that momentum, gravity, and collision detection work together to create challenging yet fair gameplay mechanics.

Dual Player Support

Enjoy the game solo or challenge a friend in exciting 2-player mode. Compete to see who can reach the top first, or work together to overcome particularly challenging sections. The multiplayer aspect adds endless replayability and social fun.

Checkpoint System

Strategically placed checkpoints ensure that progress isn't lost when mistakes happen. Use your available lives wisely to respawn at checkpoints and continue your upward journey without starting from the beginning.

Progressive Difficulty

As you climb higher, platforms become more challenging with increased gaps, moving obstacles, and tricky positioning that demand improved skills and timing.

Stunning Visual Design

Immerse yourself in beautifully rendered urban environments with detailed city skylines, construction sites, and architectural elements that create a compelling vertical world to explore.

Game Mechanics

The core gameplay revolves around precise ball control and physics mastery. Players must carefully time jumps, manage momentum, and navigate through various obstacle courses while maintaining upward progress. The ball responds realistically to player input, requiring skill development to master advanced techniques like momentum conservation and precision landing.

Each platform presents unique challenges, from narrow ledges requiring perfect accuracy to moving platforms that test timing skills. The physics engine ensures that every interaction feels natural while providing consistent rules that players can learn and master.

Operation Guide

Single Player Controls

  • WASD keys or Arrow keys : Move your ball in all directions
  • Spacebar : Execute jumps with varying power based on timing
  • R key : Respawn at the last checkpoint using available lives

Two Player Mode

Player 1: - WASD or Arrow keys : Movement control - Spacebar : Jump action - R key : Checkpoint respawn

Player 2: - Arrow keys : Movement control - K key : Jump action - L key : Checkpoint respawn

Master the timing of your jumps and learn to use momentum effectively. Short taps for small hops, longer holds for powerful leaps that can clear larger gaps.

Why Play Only Up Balls

This game offers the perfect combination of casual accessibility and challenging gameplay depth. Whether you're looking for a quick gaming session or an extended challenge with friends, Only Up Balls delivers engaging entertainment. The physics-based mechanics create a satisfying learning curve where improvement feels tangible and rewarding.

The game's free-to-play nature means you can jump in immediately without any financial commitment. No downloads or installations required - simply open your browser and start climbing. The 2-player mode makes it perfect for social gaming, whether competing or cooperating with friends.

With its stunning visuals, smooth gameplay, and addictive mechanics, Only Up Balls stands out as an exceptional platform game that appeals to both casual players and gaming enthusiasts seeking physics-based challenges.

Frequently Asked Questions (FAQ)