Lucky Claw Machine - Free Online Arcade Game

Seele01-Flash
By
Lucky Claw Machine brings the nostalgic arcade experience to your browser! Master the claw controls, collect adorable plushies and rare treasures, and build your ultimate prize collection in this charming 3D simulation game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Lucky Claw Machine". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Implement a **Low-Poly, Toon-Shaded** aesthetic similar to Crossy Road or generic hyper-casual games. Use bright, high-saturation colors (cyan, magenta, yellow). * **The Machine:** Create a 3D arcade cabinet enclosure with translucent glass panels (opacity 0.3). Inside, create a "bed" of prizes. * **The Claw:** A metallic, 3-pronged mechanical claw with gold joints. It must have hierarchical rigging (base -> arm -> fingers) to animate opening and closing. * **Prizes (Collectibles):** Generate 5-6 distinct low-poly primitive shapes representing toys: * *Shark with Sneakers:* Blue body, white underbelly. * *Space Cow:* White with black spots. * *Ninja Coffee:* Brown cylinder with a headband. * *Generic Plushies:* Cubes and Spheres with cute textures (faces). * **Lighting:** Use ambient lighting (soft white) + a directional light simulating the overhead arcade cabinet light. Add a "Rim Light" effect to models to make them pop against the background. * **Optimization:** Use InstancedMesh for the pile of prizes at the bottom to maintain 60 FPS on mobile devices. Limit polygon count per prize to under 300 tris. ### 2. Audio Requirements * **BGM:** A looping, upbeat, "Kawaii Future Bass" or generic Arcade synthesizer track. High energy but not distracting. * **Sound Effects (SFX):** * *Movement:* Mechanical servo motor whirring (loops while joystick is active). * *Drop:* A "whoosh" sound. * *Grab:* Metallic "Clank" when the claw closes. * *Success:* A high-pitched "Ding-Ding-Ding!" + Fanfare when a prize hits the chute sensor. * *Fail:* A comical "Womp-womp" or hollow thud if the claw comes up empty. * *UI:* Soft "Pop" sounds for button presses. ### 3. Gameplay Loop * **Physics Engine:** Integrate **Cannon.js** or **Ammo.js** for rigid body simulation. The prizes must have dynamic physics properties (mass, friction). * **The Cycle:** 1. **Idle/Move:** Player moves the claw on the X/Z plane using controls. 2. **Drop:** Player presses "Grab". The claw descends straight down (y-axis). 3. **Grab Logic:** When the claw hits the prize pile or max depth, it closes. Raycast downwards to detect if an object is within the "grip zone." 4. **Retract:** Claw lifts up. If physics simulation holds the object, it stays; otherwise, it might slip (add a slight randomness/slip factor to simulate realistic difficulty). 5. **Return:** Claw moves automatically to the "Drop Zone" (chute) coordinates. 6. **Release:** Claw opens. If object falls into the chute trigger zone, add to `Collection`. * **Win Condition:** Collecting specific target items fills the "Display Wall" UI. ### 4. Mobile Controls & Interaction * **Orientation:** Portrait Mode (Vertical) preferred for one-handed play, but responsive to Landscape. * **Control Scheme (Touch):** * **Virtual Joystick (Bottom Center/Left):** A thumb-stick to control the Claw's X and Z position (replacing WASD). * **Action Button (Bottom Right):** A large, round, pulsating button labeled "GRAB" (replacing Spacebar). * **Camera Toggle (Top Right):** An icon to switch between "Front View" and "Side View" (essential for depth perception alignment, replacing 'R' key). * **Collection Menu (Top Left):** A bag icon to view won prizes (replacing 'C' key). * **Feedback:** * **Haptics:** Trigger `navigator.vibrate(50)` when the claw hits the prize pile and a longer vibration if a prize is successfully dropped in the chute. * **Visuals:** Particle explosion (confetti) when a prize is claimed. Screen shake effect slightly when the claw slams down. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Lucky Claw Machine recreates the beloved arcade experience with stunning 3D graphics and intuitive controls. This free online game captures all the excitement and challenge of traditional claw machines, letting you collect cute plushies, toys, and rare treasures from the comfort of your browser. Whether you're a seasoned arcade veteran or new to claw games, this delightful simulation offers endless entertainment for players of all ages.

Core Features

Authentic Claw Machine Experience

Experience the thrill of operating a real claw machine with realistic physics and responsive controls. Every grab feels authentic, with the claw responding naturally to your movements and timing.

Adorable Collectibles

Discover a wide variety of prizes including: - Cute Plushies : Collect adorable stuffed animals in different colors and styles - Unique Toys : Grab special toys and figurines - Rare Treasures : Hunt for exclusive and hard-to-find collectibles - Display Collection : Show off your prizes on your personal display wall

3D Visual Excellence

Enjoy vibrant, colorful 3D graphics that bring the arcade atmosphere to life. The game features smooth animations, detailed prize models, and an inviting carnival-like environment.

Skill-Based Gameplay

Success depends on your timing, precision, and strategy. Learn the physics of the claw, study prize positions, and develop techniques to maximize your collection rate.

Gameplay Mechanics

The objective is simple yet challenging: position the claw perfectly above your target prize, lower it at the right moment, and successfully grab your desired collectible. Each attempt requires careful consideration of:

  • Prize positioning and accessibility
  • Claw strength and grip mechanics
  • Timing for optimal grabbing
  • Physics interactions between prizes

Collection System

Build your personal treasure trove by successfully grabbing prizes. Each collectible you win gets added to your display wall, creating a visual record of your achievements and encouraging you to "catch them all."

Controls Guide

Movement Controls: - WASD Keys or Arrow Keys : Move the claw horizontally across the machine - Spacebar or Enter : Lower the claw to grab prizes - R Key : Change camera angle for better viewing - C Key : Check your prize collection

The controls are designed to be intuitive and responsive, giving you precise control over the claw's movement and timing.

Platform Compatibility

Lucky Claw Machine is optimized for multiple platforms: - Desktop Computers : Full-featured experience with keyboard controls - Mobile Devices : Touch-optimized interface for smartphones and tablets - Web Browsers : No download required - play instantly in any modern browser

Why Play Lucky Claw Machine?

Free Entertainment

Enjoy unlimited gameplay completely free of charge. No hidden costs, no pay-to-win mechanics - just pure arcade fun accessible to everyone.

Nostalgic Appeal

Relive childhood memories of arcade visits and carnival games. The familiar sights and sounds create an authentic claw machine atmosphere.

Skill Development

Improve your hand-eye coordination, timing, and strategic thinking as you master the art of prize grabbing.

Stress Relief

The satisfying gameplay loop and cute collectibles provide a relaxing gaming experience perfect for unwinding after a busy day.

Universal Appeal

Suitable for players of all ages and skill levels, making it perfect for family gaming sessions or solo entertainment.

Frequently Asked Questions (FAQ)