Make me an original mobile-game "highlight moment" animation:...
By @op7418. Made with Claude Opus 5.5. Watch the original post.
Prompt
Make me an original mobile-game "highlight moment" animation: [subject, e.g.: opening a treasure chest / rank promotion / achievement unlock / boss drop / character level-up]. Build it as a single-file web page (HTML + CSS + JS) that opens directly and plays the whole thing with one click, matching the quality of the payout / reward sequences in commercial mobile games. 【World and Style】 - Original art; do not imitate the IP, characters or logo of any existing game. - Cartoon mobile-game style: high-saturation colors, a consistent dark outline (e.g. #1A1033), rounded, chunky shapes. - The color scheme upgrades with the tier: [tier ladder, e.g.: common green → rare blue → epic purple → legendary gold]. Every time it goes up a tier, switch the main color, the light-effect color and the background tone. - Titles use a round, chubby game font (e.g. Titan One / Lilita One) with a black outline and a drop shadow; the text "slams" into the frame letter by letter, with a bounce. 【Main Object: Make It Real 3D】 - Model it in Three.js; do not use flat SVG textures. It needs thickness, bevels and structural details that fit the subject (plank seams, rivets, edge trim, gem facets, latches, etc.); build details like plank seams out of real geometry, do not paint on black lines. - For shading, use stepped toon shading (MeshToonMaterial with a 3-4 step gradient map), with three lights: a key light, a sky light, and a rim light in the tier color. - Do the outlines with post-process edge detection: render a normal map + depth map, then draw the lines with a shader. Thick outer silhouette, thin lines where parts meet, with consistent thickness throughout; also add 1.5x supersampling and multisample anti-aliasing. Do not use the "scaled-up black back face" kind of outline; its thickness is uneven and it breaks at the corners. Loosen the depth threshold and rely mainly on normals to detect seams; otherwise surfaces viewed at an angle will sprout fine diagonal streaks. - Moving parts must move for real, e.g. the chest lid swinging open on its hinge, a medal spinning around its vertical axis. - At idle, the object slowly turns left and right so you can see its sides and thickness, while gently bobbing up and down; underneath it there should be a soft shadow that changes with its height. 【If There Are 2D Illustrations in the Frame (Card Art, Reward Icons, Characters)】 - Three-tone cel shading: base color, blocky shadow color, highlight color; do not use just a single gradient. - Vary the line weight: thick outer outline, thin inner structure lines. - Every character or object should have its own expression and pose; do not let everything share the same face. - Draw a shadow underfoot so the subject "stands" in the frame; give backgrounds different patterns by attribute, do not use the same set of radiating lines for all of them. 【Sequence Pacing: Five Stages, All Required】 1. Ready: the object floats at idle and shakes every few seconds to hint that it can be clicked; a "Tap" prompt shows at the bottom. 2. Upgrade: on every click, the object jumps, spins once in the air, squashes on landing and bounces back; at the same time it switches to the next tier's colors, flashes, puffs out a ring of particles, and the title updates. 3. Charge-up (about 1 second): the object shakes harder and harder, light leaks out through the cracks, particles all around get sucked toward the center, and the sound effect keeps rising in pitch; at the very last moment it squashes hard. 4. Burst: a bloom white flash spreading outward from the burst point, screen shake, a camera push forward, multi-layered shockwaves, long thin streaks of light shooting out, sparkling star points, coins and gems (spinning). Higher-tier bursts must be noticeably stronger. Use confetti only once, at the very climax; no screen-filling confetti. 5. Reveal and payout: - Reward cards fly out of the object along an arc and settle with an overshoot and a wobble at the end, with the numbers rolling up. - Rare items get a rainbow shimmer border and a "NEW!" corner badge. - After clicking to claim, coins and gems fly along Bezier curves into the balances at the top right, and the balance bumps each time one arrives. 【Reveal Stage: Let the Hero Item Own the Frame】 - On a top-rarity reveal, other elements tuck away or fade out, and the background switches to a clean gradient backdrop with a slowly rotating soft glow; do not let the hero item sit on a cluttered background. - When the backdrop appears, hide the other 3D objects in the scene; otherwise the post-process outlines will draw their contour lines onto the backdrop. - Put the hero item's outer glow behind the object so it only spills out around the edges; it must not cover the front of the object and wash it out into a white blob. - You can add a ring of stardust trails circling the hero item, but the orbit must stay entirely outside the hero item's silhouette and must not sweep across the front of the object. 【Light Effects: Must Be Soft, No Hard Edges】 - Background rays: use a conic-gradient with gradual transitions, not hard-cut color block edges; stack 2-3 layers of light with different densities and rotation speeds. - Light pillars: 5-7 blurred light beams fanning out, each flickering slightly in brightness; add a soft glowing core at the base, with light dust slowly drifting up through the light. - White flash: a radial bloom outward from the burst point (mix-blend-mode: screen), intensity no higher than 0.8; no full-screen pure-white overexposure. - Particles: every spark gets a low-opacity outer halo; shockwaves use three stroke layers (wide and faint, medium, thin and bright). 【Materials and UI】 - Frames, nameplates and buttons need a material feel: brushed-metal gradients, bevel lighting that is bright at the top left and dark at the bottom right, inner shadows; swap the inlays by rarity (steel rivets → silver-framed gems → gold-framed diamonds plus a small crown). - Do not cram small-print stats onto the small cards; put the detailed stats in the info panel at the reveal, where the numbers roll upward and a "▲+value" pops up. - Textures drawn on Canvas must have a resolution at least 1.5x their largest on-screen display size; otherwise they go blurry when scaled up. 【Animation Principles】 - Choreograph with GSAP timelines. Every motion needs squash and stretch, overshoot and an elastic bounce-back; no constant-speed motion. - Write the particle system yourself in Canvas 2D: gravity, drag, lifetime, additive blending, plus three kinds of motion: "suck in", "curved flight" and "orbit". - Do not use CSS 3D perspective to flip large elements; when scaled up and flipped sideways they get projected into a flat plane that fills the whole screen. Do all 3D flips in WebGL. - On every state change, all looping "shake" and "breathe" style tweens must first be killed and then reset to zero, so they do not finish one frame after the stop command and set the value back again. 【Sound Effects】 - Synthesize everything live with Web Audio, no audio files: jump, landing, upgrade chord, rising charge-up tone, explosion low end plus noise, pop, counting ticks, coin clinks, victory fanfare. - Only initialize audio on the first click; put a mute toggle at the top right. 【UI and Engineering】 - Top HUD: mode switch, coin and gem balances, mute button. - It must also work at phone width; respect the "reduce motion" setting (turn off screen shake, fewer particles). - The animation state machine must be rigorous: ignore clicks while an animation is playing; clicks must never get swallowed and states must never get mixed up. - Target 60fps. On first open it must already show the full idle scene, not a blank screen. 【Self-Check Before Delivery】 Take one screenshot at each of these moments: charge-up, burst, reveal and payout, and check them one by one: - Is the hero item blocked by glow, particles or text? - Is anything overexposed into a white blob? - Is the background cluttered, and are there any stray outline lines giving it away? - Is the small text readable? - After the payout, is anything still shaking when it shouldn't be moving? Finally, tell me: the duration of each stage, and which parameters adjust the intensity of the sequence.