Emily· 来源· @IamEmily2050 · X·· 1 小时前AI 评分15
正文 · 原文
Gemini App
Task / Carbon
I did everything from my phone.
Build a complete, self contained single file HTML5 Canvas + DOM game titled "MOCHI FOUNDRY Starlight Atelier ·
Artisan Edition" (< 1.98 MB total so it runs standalone in any browser on desktop and mobile). Use AI image generation, natural speech synthesis, and open-source CC0/MIT audio synthesis and mastering tools to bake all visual and audio assets directly into the single HTML file as optimized base64 data URIs, using 100% original art, music, foley, and lore with zero copyrighted or third party IP.
- ORIGINAL WORLD, ART DIRECTION & VISUAL IDENTITY
- Theme: Original Meiji/Kyoto "Starlight Confectionery & Imperial Wagashi Guild" aesthetic warm lantern lit hinoki cypress timber, black-urushi lacquer, 24k gold-leaf maki-e borders, crimson artisan hanko seals (菓匠), and lush hand-painted 2D watercolor and cel-shaded culinary illustration.
- Title Screen Layout: Asymmetric console-grade composition dark mahogany left 35% housing sculpted black and crimson lacquer menu blades ("Begin Chapter 1", "World Tour", "Mimi's Atelier") and bottom pill controls (Difficulty: Sweet / Master / Nightmare, Zen toggle, Sound toggle, Hall of Fame); right 65% showcasing an original moonlit Kyoto wooden patisserie with the heroine swinging a wooden mallet over a cedar mortar, her black baker-kitten Mimi in a tiny chef toque holding a lantern, cherry blossom petals, and swirling mochi.
- Cast & Eye for Detail Orientation Rule:
- Heroine Lady Nyx (left prep zone, x = 128..700) faces RIGHT toward the serving counter with three distinct painted keyframe sprites (idle stance, overhead rose-quartz mallet slam, wooden paddle drive lunge) plus helper kitten Mimi on the far left and unlockable floating Moon Kitten Celeste familiar.
- All 14 Patrons & 5 Imperial Guild Masters sit on the RIGHT (x = 796..1118) and MUST face 3/4 LEFT looking directly across the bar at Lady Nyx (Lady Tsubaki, Alchemist Ciel, Herbalist Haruka, Chef Rika, Tea Sommelier Master Soren, Lady Seraphina, Harbor Capt. Kaede, Archivist Nocturne, Duchess Odette, and the 5 Guild Masters: Countess Belladonna, Valkyrie Ravena, Empress Higanbana, Priestess Tamamo, and Grandmaster Kuroda).
- Pre-Stage Salon Dialogue: Eye to eye staging Lady Nyx on the left facing right and the Patron or Guild Master on the right facing left over a gilded Kyoto folding screen horizon ribbon and un skewed black lacquer & gold leaf dialogue frame.
- LIVING COUNTER STAGING & PATRON REACTIVITY
- Grounded Counter Geometry: Clip behind-counter patron portraits cleanly at the exact counter back-line (COUNTER_BACK_Y + 2), shade their waist contact with a soft dark umber ambient-occlusion gradient, and render a sculpted 3D chamfered Hinoki Cypress & Black-Lacquer Serving Bar Lip (with a 24k gold inlay pinstripe and tabletop drop shadow) in front of them so no sprite ever floats or cuts off in mid air.
- Tabletop Details: Beside every active Maki-e Bento box, paint a glazed Kyoto Yunomi porcelain teacup on a cedar coaster filled with whisked emerald matcha and two gently rising translucent steam wisps.
- Living Patron Posture: Smoothly interpolate an attentive forward lean (-7.5px X, -0.028 rad gaze tilt, +3.5px anticipation lift) toward Lady Nyx whenever a mochi is airborne heading toward the counter or while the player pulls back a slingshot trajectory. Trigger delighted hops, warm rim-glow pulses, and 4-point golden tea sparkles whenever Nyx lands a Royal Perfect strike, spins a 2x Crystal Glaze, or fills a bento slot.
- 120 BPM RHYTHM-PHYSICS CORE & 18 GAMEPLAY MECHANICS
- Continuous Rhythm Clock: Run a sample-locked 120 BPM clock (BEAT_SEC = 0.50s) anchored to the browser AudioContext clock that continues ticking smoothly through hitstop frames so visual beat ticks and music bars never drift.
- Kneading & Footwork: Dual cedar mortars; clicking dough or pressing [J] swift-steps Nyx to the mortar. Striking within the Royal Perfect window (±38ms, scaled by difficulty, upgrades, and pacts) upgrades dough straight to Stage-2 Silky Star Mochi, fires twin shockwaves that stun overhead Crow Bandits, and grants wind-piercing momentum.
- Trick Shot Serving & Contraptions across 15 Handcrafted Chapters:
- 1-Click Smart Bank-Shot (click Bento or [K]) AND Manual Slingshot Drag-Aim (drag from Stage-2 Star Mochi to preview a live golden dotted physics parabola and release custom multi-bank arcs).
- Hanging Bamboo Flavor Sifters (Sakura, Emerald Matcha, Amber Yuzu, Velvet Taro) + 2x Ame- Crystal Glaze (routing an already-flavored mochi through a second distinct sifter spins a crackling 2x candied sugar-glass shell that satisfies wildcard/glaze recipes and boosts Style Rank D -> C -> B -> A -> S -> SS -> SSS · 2.50x).
- Whole Crimson Strawberry Basket crowns, adjacent Bento Cuddle Pairings, VIP Gourmet Critic 2x gold trays, non overlapping 2-lane Kaiten conveyor belts, hot-spring Steam Updraft vents, Waterwheel Auto Hammers, 3-color Hanami Dango Skewer rails, swaying Harbor Pulley sifters, Super Mortar Rim Bounces, Silk Slide Dash floor saves ([S]), and mid-air Crow Bandit jump-parries ([W] + strike).
- 5 Multi-Course Guild Master Boss Showdowns (Chapters 3, 8, 10, 13, 15):
- Carved Kumiko Wooden Partition blocks flat throws — players must bank Star Mochi onto the Crimson O-Daiko Drum ("DON!! VAULT!") to vault high over the barricade (with a safe high return-arc over the wall if a flavor mismatches, never trapping mochi against the partition).
- Bosses fire telegraphed Tempo Orbs; clicking an orb or timing [J]/[K] triggers a Blink Counter-Deflect that rockets the orb back to shatter Boss Guard and fill the Starlight Gauge.
- Grand Tea Encore Finisher ([F] or HUD button at 80%+ Starlight): Full-screen gilded conservatory splash that upgrades and crystal-glazes all active mochi on screen.
- Progression & Replayability: Mimi's Atelier shop (4 Artisan Tools, 4 Atelier Decor pieces, 4 Regalia/Familiar spirits), 12-recipe Royal Wagashi Codex, Sweet / Master / Nightmare modes, 4 toggleable Roguelite Pact Heat skulls (Turbo Rails +25%, 1-HP Glass +30%, Strict Beat +25%, Double Rush +20% -> up to 2.00x), seeded speedrun timer (IGT), S+ Artisan Crowns, wobbling Lucky Daruma bonus, and Hall of Fame run-card export.
- TRIPLE-REDUNDANT UNIVERSAL AUDIO ENGINE & ORIGINAL FOLEY
- Synthesize and master 31 original royalty free 44.1 kHz audio clips combining open-source acoustic Japanese instrument synthesis (Koto, Shamisen, Shakuhachi, Vibraphone, Celesta, Pizzicato Strings, O-Daiko) + procedural physical patisserie foley (wooden mallet impacts, rice-dough squish, bamboo sifter shimmer, caramelized sugar-glass crunch, porcelain teacup and coin clinks) + original voice callouts ("Showtime!", "Royal Perfect!", "Crystal Glaze!", "Counter!", "Grand Encore!", "Sublime!", "Chapter Mastered!").
- Audio Reliability Architecture:
- Route masterGain directly to ctx.destination with zero high-frequency filter nodes that fail on low-sample rate wireless audio devices.
- Unlock browser audio on all user gesture events (pointerdown, click, touchend, keydown) plus playback audio-session hints, with a 480ms unlock-timestamp guard on the Mute toggle so the first click on "Enable Sound" never double-toggles into Mute.
- Include a 0ms pure PCM synthesized Koto/Mallet/Taiko fallback buffer bank so audio plays instantaneously even before async clip decoding completes.
- Scope pointer events strictly to active .ui-screen.active containers so hidden HUD buttons never intercept clicks on Title or Dialogue Skip buttons.
- RESPONSIVE GPU-SCALED UI & MOBILE TOUCH BAR
- Render the game canvas at native devicePixelRatio (up to 2x Hi-DPI) inside a 16:9 stage wrapper, scaling the #ui-frame DOM overlay 1:1 via GPU transform: scale(...) so typography and buttons never clip or overflow at any viewport size (desktop 1080p, narrow side-panel, or mobile portrait/landscape), paired with a responsive touch control bar.
来源:Emily · x.com