Make me an original "highlight moment" motion effect for a mobile...
By @op7418. Made with Claude Opus 5.5. Watch the original post.
Prompt
Make me an original "highlight moment" motion effect for a mobile game: [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; one click plays the whole thing, and the effect should match the results / reward sequences of commercial mobile games. [World and Style] - Original art; do not imitate any existing game's IP, characters or logo. - Cartoon mobile game style: highly saturated 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 tier-up must switch the main color, the light effect color and the background tone. - Titles use a round, chubby game font (such as Titan One / Lilita One) with a black outline and a drop shadow; the text "slams" into the frame letter by letter, with a rebound. [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 (gaps between wooden planks, rivets, edge trim, gem facets, latches, etc.); build details like plank gaps from real geometry, do not paste on black lines. - Use stepped toon shading (MeshToonMaterial plus 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, 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 corners. Loosen the threshold for the depth test and detect seams mainly from the normals; otherwise surfaces seen at an angle will sprout fine, broken diagonal streaks. - Moving parts must really move, e.g. the chest lid flips open around its hinge, a medal spins around its vertical axis. - When idle, the object slowly turns left and right so you can see its sides and thickness, while gently floating up and down; beneath it there should be a soft shadow that changes with its height. [If There Are 2D Illustrations on Screen (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 contours, thin interior structure lines. - Each character or object needs its own expression and pose; do not let everything share the same face. - Draw a shadow underneath so the subject "stands" in the frame; give the backgrounds different patterns by attribute, do not use the same set of radiating lines everywhere. [Sequence Pacing: Five Stages, All Required] 1. Ready: the object floats idly and gives a little shake every few seconds to hint that it can be clicked; a "Tap" prompt shows at the bottom. 2. Tier up: with each click, the object jumps, does a full spin in the air, squashes on landing and bounces back; at the same time it switches to the next tier's color, flashes once, 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 of the gaps, the particles all around get sucked toward the center, and the sound effect keeps rising in pitch; at the last instant it squashes down hard. 4. Burst: a white bloom flash spreading outward from the burst point, screen shake, a quick camera push forward, multi-layer shockwaves, long thin light streaks shooting out, sparkling star points, coins and gems (spinning). Higher-tier bursts must be noticeably stronger. Use confetti only once, at the very peak; no screen-filling confetti. 5. Reveal and results: - Reward cards fly out of the object along an arc and settle into place with an overshoot and a wobble to finish; the numbers roll as they count up. - Rare items get a flowing rainbow border and a "NEW!" corner badge. - After clicking to claim, coins and gems fly along Bezier curves into the balance in the top-right corner, and the balance bumps each time one arrives. [Reveal Stage: Let the Hero Have the Frame to Itself] - When the highest rarity is revealed, the other elements tuck away or fade out, and the background changes to a clean gradient backdrop with slowly rotating soft light; do not set the hero on top of a cluttered background. - When the backdrop appears, hide the other 3D objects in the scene; otherwise the post-process outline will draw their outlines on the backdrop. - Put the hero's outer glow behind the object so it only spills out around the edges; it must not cover the front of the object and smear it into a white blur. - You can add a ring of stardust trails circling the hero, but the orbit must stay completely outside the hero's silhouette and must never sweep across the front of the object. [Light Effects: Must Be Soft, No Hard Edges] - Background rays: use a conic-gradient with gradient transitions, not hard-cut color block edges; stack 2-3 layers of rays with different densities and rotation speeds. - Light shafts: 5-7 blurred light beams fanning out, each flickering slightly in brightness; add a soft glowing core at the base, with light dust drifting slowly upward in 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 has a low-opacity halo around it; 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 need a resolution of at least 1.5x their largest on-screen display size, or they will look blurry when scaled up. [Animation Principles] - Choreograph with GSAP timelines. Every movement needs squash and stretch, overshoot and elastic rebound; no constant-speed motion. - Write the particle system yourself in Canvas 2D: gravity, drag, lifetime, additive blending, plus three motion types: "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 covers the whole screen. Do every 3D flip in WebGL. - For all looping "shake" and "breathing" tweens, on a state change first kill them 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 in real time with Web Audio, no audio files: jump, landing, tier-up chord, rising charge-up tone, explosion low end plus noise, pop, counting ticks, coin clinks, victory fanfare. - Initialize audio only on the first click; put a mute toggle in the top-right corner. [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; there must be no swallowed clicks or scrambled states. - Target 60fps. The very first time it opens, it must show the complete idle screen, not a blank one. [Self-Check Before Delivery] Take one screenshot at each of these moments: charge-up, burst, reveal and results, and check them one by one: - Is the hero blocked by glow, particles or text? - Is anything blown out into a sheet of white? - Is the background cluttered, and are there any stray outline lines that give it away? - Is the small text legible? - After the results, is anything still shaking when it should not be moving? Finally, tell me: the duration of each stage, and which parameters can adjust the intensity of the sequence.