Re:HTML5 Deck of Cards
by danvesma on Thursday September 03, 2015 @10:49AM
(#10165228)
the animation is lovely and fluid. bit of a shame that the card faces don't have the pictures for the royal cards and the usual layout of multiple suit signs on the number cards, but this is still super.
[ Parent
| on HN ]
Flash version had some of those:
http://pakastin.fi/cards_2006
I used 52-framed movieClip as a card, where frames were values.
And then every suit graphic was one movieClip as well with 4 frames: spade, heart, club and diamond
Worked great! Not so easy to do with HTML though. Lots of figuring out coordinates manually.