On Mon, 2010-01-04 at 18:24 +0100, Johan Euphrosine wrote: > > We also discussed implementation of gift animation in jpoker: > http://drupal-dev.pokersource.info/trac/ticket/9 >
Today,
I implemented basic support for gift animation in jpoker planc:
When a user receive a gift:
* a new div is created in the center of the table
* this div is given a class with the giftname/id and the class
".poker_gift_animation"
* the div is animated from the center of the table to position of
the player item <div>
* at the end of the animation the animated div is removed from the
DOM
* at the end of the animation the player item <div> classes are
replaced by a new class with the giftname/id
You can see the result here:
http://drupal-kez.pokersource.info/planc/skin/table.html#poker_01_gift
You can run the test from here:
http://drupal-kez.pokersource.info/planc/test-poker.html
I also filled a new ticket about gift notification API that we will
implement with mongolito404 tomorrow:
http://drupal-dev.pokersource.info/trac/ticket/86
--
Johan Euphrosine <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
