Coming soon - Get a detailed view of why an account is flagged as spam!
view details
3
Trying to make a user flair with an animation that appears and loops on hover
Post Flair (click to view more posts with a particular flair)
Post Body

For a special user flair, I'm trying to make a flair, in this case this face, turn into this (early mockup) on hover.

I have both the face and the spritesheet for the backdrop already made (well, making some improvements, but still), but figuring out how to code it is killing me.

If it's not possible to make the animated part of the flair pop up as a separate piece of the flair, I can always make the animation in a single spritesheet of the backdrop popping up and starting its animation, but if that's the case is it possible to key it so the animation plays straight through the first time, then only loops frames X through Z subsequent loops?

If it helps (for sharing code to test), the tentative filenames for the face and spritesheet are %jeets% and %yjs% respectively.

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
221,880
Link Karma
31,604
Comment Karma
188,000
Profile updated: 2 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago