Lhama Clicker

Seele01-Flash
By
Lhama Clicker is an addictive idle clicker game where you build a massive llama empire through clicking and automation. Unlock cute customizations, upgrades, and achievements as you create infinite llamas.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Lhama Clicker". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Cute 2.5D Aesthetic". Use an **Orthographic Camera** to mimic the flat vector look of the reference screenshot but with 3D depth. The color palette should be high-saturation: Sky Blue (#33CCFF), Grass Green (#66CC33), and Llama Orange (#FFCC66). * **Main Character (The Lhama)**: Create a low-poly, cute Llama model using basic Three.js geometries (Capsules for legs/neck, Box for body, Sphere for head). It must be the centerpiece of the scene. * **Modularity**: The model structure must allow for texture/color swaps (Skins) and parenting new meshes to the head bone (Hats). * **Environment**: * **Background**: A scrolling parallax background with three layers: Clouds (slowest), Distant Mountains, and Rolling Hills (foreground). * **Effects**: When clicked, the Llama should have a "Squash and Stretch" vertex shader effect or scale animation to make it feel jelly-like and responsive. * **Particles**: Generate small "mini-llamas" or "+1" floating text particles that explode outward from the click point and fade up. * **Performance**: Use `InstancedMesh` for background elements (like grass tufts) and merge geometries where possible. Limit draw calls to ensure 60FPS on mobile browsers. Use simple `MeshToonMaterial` or flat shading; avoid expensive PBR lighting. ### 2. Audio Requirements * **BGM (Background Music)**: A looping, whimsical **Bossa Nova** or **Upbeat Chiptune** track. It should be relaxing but rhythmic to encourage tapping. * **Sound Effects (SFX)**: * **Click**: Multiple pitch-shifted variations of a Llama "Hum" or "Bah" sound (e.g., "Maa!", "Bah!") to prevent listener fatigue. * **UI**: A satisfying "Pop" or "Bubble" sound when purchasing upgrades. * **Achievement**: A short fanfare or "ding" sequence when a new skin/hat is unlocked. * **Ambient**: Subtle wind blowing and birds chirping. ### 3. Gameplay Loop * **Core Mechanics**: * **Active**: Player taps the Llama to generate `LlamaCount`. Base value = 1. * **Passive**: Player purchases buildings (Farm, Stable, Factory, Bank) that generate `LlamaCount` automatically per second. * **Progression & Math**: * **Cost Scaling**: Building costs should increase exponentially (e.g., `Cost = BaseCost * 1.15 ^ Quantity`). * **Upgrades**: Two types of upgrades: "Click Power" (multiplier for taps) and "Production Multiplier" (multiplier for passive buildings). * **Unlockables**: * Implement a check system: When `TotalLlamas` reaches specific milestones (1k, 10k, 1M), unlock specific cosmetic items (e.g., Sunglasses, Top Hat, Alien Skin). * **Persistence**: Auto-save game state (`LlamaCount`, `BuildingsOwned`, `Unlocks`) to `localStorage` every 10 seconds and on window close. ### 4. Mobile Controls & Interaction * **Touch Input**: * Use `THREE.Raycaster` mapped to touch events (`touchstart`). The hitbox for the Llama should be slightly larger than the visible model to be "fat-finger friendly." * **Multi-touch support**: Allow multiple fingers to tap simultaneously for faster clicking. * **Haptic Feedback**: Trigger `navigator.vibrate(10)` on every successful tap for tactile reinforcement. * **Screen Orientation**: * **Portrait Mode (Preferred)**: Llama occupies the top 50% of the screen. The bottom 50% is a scrollable HTML/CSS overlay containing the Upgrade Shop and Skins menu. * **Responsive UI**: Use a DOM overlay (HTML/CSS) specifically designed for mobile. Buttons must be at least **44x44 pixels** with ample padding. * **Visual Feedback**: * The Llama must "bounce" (scale down Y, scale up X) instantly on touch. * Floating numbers must appear at the touch coordinates (`event.touches[0].clientX/Y`). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Lhama Clicker is a charming idle clicker game that combines simple mechanics with endless entertainment. Your mission is to rapidly grow the world's llama population through strategic clicking and smart automation upgrades. This delightfully addictive game features colorful 2D graphics, cute llama animations, and a progression system that keeps you engaged for hours.

The game starts simple: click on your adorable llama to generate more llamas. But as you progress, you'll unlock powerful automation systems, stylish customizations, and satisfying milestone achievements that transform your humble clicking into a full-scale llama empire.

Core Features

Infinite Llama Generation

Create an unlimited number of llamas through clicking and idle production. Watch your llama counter soar from single digits to astronomical numbers as you optimize your production chain.

Comprehensive Upgrade System

Purchase farms, stables, factories, banks, and other facilities to automate and multiply your llama production. Each upgrade significantly increases your generation rate, allowing for exponential growth.

Adorable Customization Options

Unlock a vast collection of cute hats, stylish skins, and beautiful backgrounds to personalize your llama and game environment. From cowboy hats to royal crowns, dress your llama in the finest accessories.

Achievement System

Earn milestone achievements as you reach production goals and unlock new content. Each achievement brings you closer to beating the game and becoming the ultimate llama tycoon.

Cross-Platform Compatibility

Enjoy seamless gameplay across desktop browsers, mobile devices, and Steam. Your llama empire travels with you wherever you go.

Gameplay Mechanics

Starting Your Llama Empire

Begin with a single llama and use left-click to generate more. Each click produces llamas based on your current click power, which can be upgraded as you progress.

Automation Strategy

Invest in various buildings and upgrades that generate llamas automatically, even when you're not actively clicking. This idle progression system ensures your empire grows continuously.

Progressive Upgrades

As you accumulate llamas, reinvest them into more powerful upgrades. Higher-tier buildings provide exponentially better returns, creating satisfying growth spurts.

Operation Guide

Basic Controls: - Left Mouse Button : Click on the llama to generate more llamas - Menu Navigation : Use mouse to access upgrades, customizations, and achievements - Mobile Touch : Tap the llama on mobile devices for the same effect

Strategy Tips: 1. Early Game : Focus on clicking upgrades to maximize manual production 2. Mid Game : Invest heavily in automation buildings for idle income 3. Late Game : Balance between high-tier upgrades and customization unlocks 4. Optimization : Regularly check for new upgrade opportunities as costs scale

Why Play Lhama Clicker

Perfect Casual Gaming Experience

Lhama Clicker offers the perfect balance of active engagement and passive progression. Whether you want to actively click for rapid growth or let the game run idle for steady progress, it accommodates your preferred play style.

Stress-Free Entertainment

With its cute graphics, soothing gameplay loop, and no time pressure, this game provides excellent stress relief and relaxation. It's perfect for unwinding after a long day or taking short gaming breaks.

Completely Free to Play

Enjoy the full Lhama Clicker experience without spending money. All features, upgrades, and customizations are unlockable through gameplay progression.

Satisfying Progress System

Experience the addictive satisfaction of exponential growth as your numbers climb from hundreds to trillions. Each milestone feels rewarding and motivates continued play.

Family-Friendly Fun

Suitable for all ages, Lhama Clicker provides wholesome entertainment that parents can feel good about sharing with children. The cute llama theme appeals to animal lovers of all ages.

Frequently Asked Questions (FAQ)