Penguin Swing

Seele01-Flash
By
Penguin Swing is a delightfully quirky physics-based launch game where you help a polar bear swing penguins for maximum distance. Simple controls meet addictive gameplay in this free online sports game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Penguin Swing" (a Yeti Sports style batting game). Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, vibrant, and cartoonish "Winter Arcade" aesthetic. Use simple geometric primitives (Capsules, BoxGeometries, Spheres) to represent characters to ensure code runnability without external assets. * **Yeti (Player)**: A large, white, blocky character composed of cubes/capsules, holding a club (cylinder). * **Penguin (Ball)**: A small, black and white capsule/sphere combination. * **Background**: A gradient skybox (Deep Blue at top to White at horizon) to simulate a frozen Antarctic atmosphere. * **Ground**: An infinite white plane (snow) with subtle blue grid lines or low-poly trees passing by to give a sense of speed and distance. * **Mobile Optimization**: * Use `THREE.InstancedMesh` if repeating environmental objects. * Limit real-time shadows; use a simple directional light and ambient light. * Ensure the camera creates a parallax effect to enhance the feeling of speed. ### 2. Audio Requirements * **BGM**: Create a synthesized, loopable track using the Web Audio API. Style: "Goofy Winter Polka" – upbeat, rhythmic, using simple waveforms (square/sine) to mimic an 8-bit retro winter level. * **Sound Effects (SFX)**: * **Drop**: A descending whistle (oscillator slide down). * **Swing**: A white noise "swoosh". * **Impact**: A punchy, low-frequency "thwack" or "bonk" when the bat hits the penguin. * **Slide/Bounce**: Short noise bursts when the penguin hits the ground. * **Score**: A high-pitched major chord arpeggio upon stopping. ### 3. Gameplay Loop * **Phase 1: The Drop**: The game starts with the Yeti standing ready. The Penguin is perched above. Waiting for player input. * **Phase 2: The Timing**: * **First Tap**: The Penguin drops vertically. * **Second Tap**: The Yeti swings the club. * **Hit Detection**: Calculate the intersection between the Club's swing arc and the Penguin's position. * *Perfect Hit*: High velocity, optimal 45-degree angle. * *Late/Early Hit*: Lower velocity, steep angle or grounder. * *Miss*: Penguin falls flat in snow -> "Game Over" / Reset. * **Phase 3: The Flight**: The camera transitions to smoothly follow the Penguin. Apply gravity, drag, and bounce physics. The Penguin should bounce off the snow with energy loss (friction) on every bounce until it slides to a halt. * **Phase 4: Scoring**: Display the final distance (in meters). High score is saved to `localStorage`. Tap screen to reset. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape** mode is mandatory (to see the flight path). Force the canvas to resize correctly. * **Controls**: One-button mechanic. * `pointerdown` / `touchstart`: Used for both "Drop" and "Swing". * Input must be responsive with zero latency. * **UI/UX**: * **HUD**: Display "Distance" in large, bold font at the top center. * **Reset Button**: A large, semi-transparent overlay button (minimum 60x60px) appearing after the penguin stops. * **Feedback**: * **Camera Shake**: Slight screen shake on impact (using camera offset). * **Particles**: Simple white cube particles exploding outward when the penguin hits the snow. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Penguin Swing is a charming and addictive physics-based launch game that combines cute animal characters with satisfying distance-launching gameplay. With a 3.4/5 rating from players, this free online game offers simple yet engaging mechanics that keep you coming back for "just one more swing."

In this whimsical world, you control a friendly polar bear whose mission is to launch adorable penguins as far as possible. While the geography might be a bit mixed up (penguins and polar bears don't actually live on the same continent!), the fun factor is undeniably real.

Core Features

Simple Yet Addictive Gameplay

Penguin Swing proves that the best games often have the simplest concepts. With just your mouse, you'll time the perfect swing to send penguins soaring through the air. The physics-based mechanics create realistic trajectories that make each launch feel satisfying and authentic.

Charming Visual Style

The game features a cute, cartoon art style that appeals to players of all ages. The adorable penguin characters and friendly polar bear create a lighthearted atmosphere that makes this game perfect for stress-free gaming sessions.

Perfect for Quick Gaming Sessions

Tagged as an "Easy" game, Penguin Swing is ideal for casual gaming. Whether you have 5 minutes or an hour, you can jump in and start swinging penguins immediately. No complex tutorials or lengthy setup required.

Physics-Based Challenge

While easy to learn, the game offers depth through its realistic physics system. Timing, angle, and power all matter as you work to achieve maximum distance. Each swing teaches you something new about the optimal launch technique.

Game Mechanics

The core gameplay revolves around timing and precision. You'll drop the penguin at just the right moment, then time your swing perfectly to achieve maximum velocity and distance. The physics engine calculates realistic trajectories based on your input, creating a satisfying cause-and-effect relationship.

Each attempt offers the chance to improve your personal best distance record. The random elements keep gameplay fresh, ensuring that no two swings are exactly alike.

Operation Guide

Penguin Swing features incredibly intuitive controls that anyone can master:

  • LEFT MOUSE BUTTON : Click once to drop the penguin from the starting position
  • LEFT MOUSE BUTTON : Click again to execute the swing when the timing feels right

The key to success lies in timing both clicks perfectly. Drop the penguin at the optimal moment, then swing when the polar bear is in the ideal position for maximum power transfer.

Why Play Penguin Swing

Perfect Casual Gaming Experience : This game exemplifies what makes casual gaming great. It's instantly accessible yet offers enough challenge to keep you engaged. The cute theme and simple mechanics make it suitable for players of all ages.

Stress-Free Entertainment : Unlike competitive or complex games, Penguin Swing offers pure, lighthearted fun. There's no pressure, no time limits, and no way to "lose" - just the simple joy of launching penguins and trying to beat your best distance.

Great for Short Breaks : Need a quick mental break? Penguin Swing loads instantly in your browser and provides immediate entertainment. It's perfect for those moments when you want to unwind without getting absorbed in a complex game.

Family-Friendly Fun : The cute animals and gentle humor make this game appropriate for family gaming sessions. Kids will love the adorable characters while adults can appreciate the satisfying physics gameplay.

No Download Required : As a browser-based game, Penguin Swing is ready to play immediately. No downloads, installations, or account creation needed - just click and start swinging!

Frequently Asked Questions (FAQ)