Skip to content

Explode every 20th train - #155

Open
piyushkomali wants to merge 1 commit into
meltylabs:mainfrom
piyushkomali:apia
Open

Explode every 20th train#155
piyushkomali wants to merge 1 commit into
meltylabs:mainfrom
piyushkomali:apia

Conversation

@piyushkomali

Copy link
Copy Markdown

Congratulations 🎉

You made a pull request in Conductor. This starter project gave you something quick to install, run, edit, review, and ship from an isolated git worktree workspace.

Every 20th dispatched train now bursts into a 💥 with radiating 🔥/💨/✨ particles at the click location instead of chugging across the screen. Adds .explosion / .explosion-particle CSS with explode and particle-fly keyframes (plus a prefers-reduced-motion fallback), and an explodeAt(x, y) helper triggered from dispatchTrain when count % 20 === 0. Trains 1–19, 21–39, etc. behave exactly as before, and the counter text is unchanged.

Every 20th dispatched train now bursts into a 💥 with radiating
🔥/💨/✨ particles at the click location instead of chugging across
the screen. Regular trains 1–19, 21–39, etc. are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant