Factory Balls: The Christmas Edition

Seele01-Flash
By
Factory Balls: The Christmas Edition is a delightful holiday puzzle game where you create beautiful Christmas ornaments by decorating plain balls with festive accessories like Santa hats, belts, and earmuffs.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Factory Balls: The Christmas Edition". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Bart Bonte" aesthetic. Minimalist, clean geometry, high contrast, and vibrant colors. Use a fixed perspective (Orthographic Camera recommended) to view the puzzle station clearly. * **Background:** A dark, tiling damask pattern wallpaper (e.g., dark grey/black patterns on a slightly lighter charcoal background) to provide a "cozy workshop" feel without distracting from the gameplay. * **Main Object (The Ball):** A high-quality white sphere (`SphereGeometry`) located in the center of the screen. This is the canvas. It needs to accept color changes and hold attached 3D meshes (hats, belts). * **Tools & Accessories:** Create low-poly, cute holiday-themed models representing tools: * **Paints:** Red bucket, Green bucket, Gold bucket. * **Masking/Accessories:** Santa Hat (Cone + Torus), Belt (Torus around the middle), Earmuffs (Two hemispheres + connecting band), Snowflake sticker (Plane). * **The Tree:** A stylized, smooth, low-poly green Christmas tree to the side or in the background as decoration. * **UI Assets:** A "Target Ornament" display (picture or small 3D model) in the top corner showing what the player needs to build. A "Trash Can" icon to reset the current ball. * **Mobile Optimization:** Use basic geometric primitives where possible to keep the poly count low. Use simple `MeshLambertMaterial` or `MeshToonMaterial` for a cartoonish look without expensive PBR calculations. ### 2. Audio Requirements * **BGM:** A loop of minimal, smooth jazz with a holiday twist (vibraphone, upright bass, soft sleigh bells). It should be relaxing "thinking music." * **Sound Effects:** * **Pop/Suction:** When a hat or accessory is placed on the ball. * **Spray/Splash:** When the ball is dipped in paint. * **Tearing/Velcro:** When an accessory (mask) is removed. * **Ding!:** A bright, satisfying chime when the created ball matches the target. * **Crumple:** When the ball is thrown in the trash to reset. ### 3. Gameplay Loop * **The Puzzle Logic:** The core mechanic is **Order of Operations (Stacking)**. * The player starts with a blank white ball. * **Masking:** If the player puts a "Belt" on the ball and then dips it in "Red Paint", only the exposed parts turn red. When the belt is removed later, the area under the belt remains white (or the previous color). * **Accessories:** Some items (like the Santa Hat) might remain as part of the final design, while others act purely as stencils. * **Level Flow:** 1. Display a "Target Ball" (e.g., A red ball with a white stripe). 2. Player taps tools in specific sequence. 3. Game checks `CurrentState` vs `TargetState` after every move. 4. **Win Condition:** If the visuals match 100%, play the "Ding" sound, animate the ball hanging onto the tree, and load the next level. 5. **Fail/Reset:** Player realizes they messed up the order and taps the "Trash Can" to start over with a fresh white ball. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Tap-to-Interact**. Avoid dragging and dropping for better precision on small screens. * The Tools should be arranged in a grid or a scrollable bar at the bottom of the screen (thumb-friendly zone). * **Interaction:** Tapping a tool icon instantly applies its effect (paint or equip) to the central ball. * **Screen Orientation:** **Portrait Mode** is preferred to fit the Tree (top), the Working Area (middle), and the Tool Rack (bottom). * **Touch Feedback:** * **Visual:** The tool icon should scale down briefly (bounce effect) when tapped. * **Haptic:** Trigger a short vibration (`navigator.vibrate(50)`) on every valid action. * **Raycasting:** Implement precise Raycasting. Since tools might be 3D objects on a shelf, ensure their hitboxes are larger than the visual models to accommodate "fat finger" inputs. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Factory Balls: The Christmas Edition brings festive cheer to the beloved puzzle game series. This charming Christmas-themed brain teaser challenges you to create perfectly decorated holiday ornaments by strategically applying various Christmas accessories to plain balls. With its intuitive drag-and-drop gameplay and adorable holiday theme, it's the perfect game to get you in the Christmas spirit.

Rated 3.2 out of 5 stars, this delightful puzzle game combines creativity with logical thinking, making it suitable for players of all ages who enjoy festive entertainment.

Core Features

Festive Holiday Theme

Immerse yourself in the Christmas spirit with beautifully designed holiday graphics, cheerful music, and a cozy workshop atmosphere that captures the magic of the season.

Creative Puzzle Mechanics

Each level presents you with a target Christmas ornament design that you must recreate. Use your problem-solving skills to figure out the correct sequence of decorating steps to match the example perfectly.

Rich Toolbox of Christmas Items

Your virtual workshop is stocked with an extensive collection of festive accessories: - Santa Hats : Classic red and white Santa caps in various sizes - Holiday Belts : Black belts with shiny buckles for that Santa look - Suspenders : Colorful straps to add character to your ornaments - Cozy Earmuffs : Warm and fuzzy ear protection in different colors - Bobble Hats : Fun winter hats with adorable pom-poms - Additional Seasonal Items : Discover more festive accessories as you progress

Progressive Difficulty

Start with simple designs and gradually work your way up to more complex ornament patterns that require careful planning and multiple decoration steps.

Family-Friendly Entertainment

With an "All Ages" content rating, this game is perfect for family gaming sessions during the holiday season.

Gameplay Mechanics

The core gameplay revolves around transforming plain Christmas balls into beautifully decorated ornaments that match specific target designs. You'll drag and drop balls onto various tools and accessories, with each interaction changing the appearance of your ornament.

Strategic Planning Required : Success depends on understanding the order of operations. Some decorations must be applied before others, and certain tools might remove or modify existing decorations.

Visual Feedback : Watch as your ornament transforms with each action, providing immediate visual feedback on your decorating choices.

Operation Guide

Basic Controls

  • Mouse Movement : Navigate around the workshop interface
  • Click and Drag : Select balls and move them to different tools
  • Drop Actions : Release balls onto tools to apply decorations
  • Visual Comparison : Compare your creation with the target design

Gameplay Flow

  1. Observe the Target : Study the example ornament design carefully
  2. Plan Your Strategy : Determine which tools to use and in what order
  3. Start Decorating : Drag your plain ball to the first tool
  4. Apply Accessories : Add Santa hats, belts, or other festive items
  5. Refine and Perfect : Continue until your ornament matches the target
  6. Progress : Complete the level and move on to new challenges

Pro Tips for Success

  • Order Matters : Pay attention to layering - some items must be applied before others
  • Experiment Safely : Don't be afraid to try different approaches
  • Study Examples : Look closely at details like colors, positions, and layering
  • Think Backwards : Sometimes it helps to work backwards from the final design

Why Play This Game

Perfect Holiday Entertainment : This game captures the joy and creativity of Christmas decorating in a fun, interactive format that's perfect for the holiday season.

Brain Training with Fun : Combine entertainment with mental exercise as you solve increasingly challenging decoration puzzles that require logical thinking and creativity.

Stress-Free Gaming : With no time limits or pressure, you can relax and enjoy the meditative process of creating beautiful ornaments at your own pace.

Accessible for Everyone : The simple mouse controls and clear visual design make this game enjoyable for players of all ages and skill levels.

Festive Atmosphere : Immerse yourself in the Christmas spirit with delightful holiday graphics and a cozy workshop setting that brings warmth to any day.

Creative Satisfaction : Experience the joy of crafting and decorating as you bring plain ornaments to life with colorful, festive accessories.

Whether you're looking for a relaxing holiday activity, a fun family game, or a creative puzzle challenge, Factory Balls: The Christmas Edition delivers festive entertainment that celebrates the spirit of Christmas through engaging gameplay and charming visuals.

Frequently Asked Questions (FAQ)