Swingo - Physics-Based Grappling Hook Adventure

Seele01-Flash
By
Swingo is an innovative arcade platformer that challenges players to master grappling hook physics. Control a bouncy character through vibrant levels, collect fruits, and unlock cute animal characters in this addictive swinging adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Swingo". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a **Vibrant Cartoon/Cel-Shaded Aesthetic**. Use `THREE.ToonMaterial` or custom shaders with black outlines (inverted hull method) to mimic the vector art style of the screenshot. The color palette should be high-saturation: Cyan (character), Bright Yellow (Hook/Hand), and Purple/Blue gradients (Background). * **Character:** A round, bouncy, blob-like character (start with a SphereGeometry). It must have large, expressive eyes that look towards the movement direction. * **The Hook:** Instead of a simple line, the grappling hook head should be modeled as a **Cartoon Hand** (or a simple glove shape) connected by a dynamic, stretching "rope" (using a TubeGeometry or Line that updates vertex positions per frame). * **Level Design:** 2.5D Platformer setup. Floating geometric islands with high friction. The target "Fruit" should be a glowing, rotating object (e.g., a Strawberry or Orange) with a bobbing animation. * **Mobile Optimization:** strict polygon budget (Low-poly aesthetics). Use a single directional light with soft shadows to save performance. Limit real-time shadow casting to the main character only. ### 2. Audio Requirements * **BGM:** A fast-paced, whimsical **"Kawaii Future Bass"** or upbeat Arcade track. High tempo, cheerful melodies using synth bells and chiptune elements. * **Sound Effects (SFX):** * *Shoot Hook:* A quick "Swish" or "Zip" sound. * *Hook Connect:* A satisfying "Slap" or "Stick" sound when the hand grabs a surface. * *Bounce:* A "Boing" or elastic sound when the character hits walls. * *Win:* A high-pitched "Chime" or "Ding" when the fruit is collected. ### 3. Gameplay Loop * **Physics Mechanics:** This is a physics-heavy game. Implement a custom physics loop or use a lightweight library (like `cannon-es`). The character should have **high bounciness (restitution)** but significant air resistance when not swinging. * **Grappling Mechanic:** 1. **Raycast:** Check if the shot path hits a valid surface. 2. **Anchor:** If hit, create a "Spring Joint" constraint between the character and the hit point. 3. **Pull:** Apply a strong force pulling the character toward the anchor point. 4. **Release:** The hook automatically detaches when the player taps again or after a set duration/momentum loss. * **Win Condition:** The player must fling themselves physically into the "Fruit" object. Upon collision, play a particle explosion effect and load the next procedural level position. * **Fail Condition:** Falling off the bottom of the screen resets the character to the start platform. ### 4. Mobile Controls & Interaction * **Control Scheme (Drag-to-Shoot):** * **Input:** Single-touch interaction. * **Action:** User touches the screen and drags. This renders a **dotted trajectory line** (Visual Aim Assist) showing where the hook will fire. * **Fire:** Releasing the finger fires the hook in the aimed direction. * **Camera:** A smooth `CameraFollow` script is essential. The camera should track the player with a slight "LookAhead" offset based on velocity, ensuring the player can see where they are flying. It should zoom out slightly when velocity increases. * **Orientation:** Force **Landscape Mode** for a wider field of view, critical for platforming. * **Haptics:** Trigger `window.navigator.vibrate(50)` (if supported) when the hook successfully latches onto a wall or when the player hits an obstacle hard. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Swingo

Swingo is a unique arcade game that brilliantly combines platform and action gameplay with innovative physics mechanics. This charming game puts you in control of an adorable bouncy character who can only move using a grappling hook - creating a fresh and exciting twist on traditional platformers.

The game's core appeal lies in its simple yet challenging concept: you must swing, bounce, and navigate through creatively designed levels to reach the fruit at the end of each stage. Every movement requires strategic thinking and precise timing, making each level a satisfying physics puzzle to solve.

Core Features

Unique Grappling Hook Mechanics

Swingo's standout feature is its grappling hook system that serves as your only means of movement. Unlike traditional platformers where you run and jump, here you must aim, shoot, and swing your way through each challenge. This creates a distinctive gameplay experience that's both intuitive to learn and challenging to master.

Vibrant Level Design

Each level in Swingo is carefully crafted with vibrant colors and creative layouts. The environments are filled with surprises, obstacles, and strategic anchor points for your grappling hook. The visual design combines bright, cheerful aesthetics with functional level architecture that supports the unique movement mechanics.

Character Progression System

As you successfully complete levels, you'll earn points that contribute to unlocking new characters. The progression system keeps you motivated to improve your performance and explore every level thoroughly.

Animal Character Collection

One of Swingo's most delightful features is its roster of unlockable animal characters. Starting with a cute frog, players can unlock a variety of animal-themed characters, each bringing their own charm to the swinging adventure.

Game Mechanics

Physics-Based Movement

Swingo utilizes realistic physics to create authentic swinging and bouncing mechanics. Your character's momentum, the angle of your grappling hook, and environmental factors all influence your movement, creating a satisfying sense of weight and motion.

Strategic Gameplay

Success in Swingo requires more than quick reflexes - it demands strategic thinking. Players must analyze each level layout, identify optimal grappling points, and plan their route to efficiently reach the target fruit while navigating obstacles.

Operation Guide

Mastering Swingo's controls is essential for success:

  • Aim and Shoot : Use left mouse click to aim your grappling hook
  • Drag for Precision : Hold and drag to fine-tune your aim direction
  • Release to Fire : Let go to launch your grappling hook toward the target
  • Swing Physics : Once attached, your character will swing naturally based on momentum and gravity
  • Strategic Planning : Study each level before making your move to identify the best grappling points

Pro Tips for Success

  • Take time to analyze level layouts before shooting your first hook
  • Use momentum to your advantage - longer swings can carry you further
  • Experiment with different angles to find the most efficient paths
  • Practice precision aiming to consistently hit your intended targets

Why Play Swingo?

Completely Free Gaming Experience

Swingo offers a premium gaming experience at no cost. There are no hidden fees, subscription requirements, or pay-to-win mechanics - just pure, accessible fun for everyone.

Cross-Platform Accessibility

Whether you're on a desktop computer, smartphone, or tablet, Swingo delivers a consistent and enjoyable experience across all devices. The game's responsive design ensures optimal performance regardless of your chosen platform.

Perfect for All Skill Levels

While easy to understand, Swingo offers depth that appeals to both casual players and gaming enthusiasts. The learning curve is gentle enough for beginners while providing sufficient challenge for experienced players seeking mastery.

Stress-Free Gaming

With its cheerful visuals, upbeat atmosphere, and satisfying physics mechanics, Swingo provides an excellent way to unwind and have fun. The game's positive, encouraging design makes it perfect for players of all ages.

Skill Development

Playing Swingo helps develop hand-eye coordination, spatial reasoning, and strategic planning skills. The physics-based gameplay naturally teaches players about momentum, angles, and timing in an entertaining context.

Frequently Asked Questions (FAQ)