Jump to content

How to return cards with animation


timidou
 Share

Recommended Posts

Hello,

 

I'm making a freecell with phaser for discover this game framework. 

For terminate my little project, i have an question about best practice!

 

My question: I have 52 images showing the front of the card and 1 showing the back of the card, so, how i can return the front card with an animation (very basic) with making a sprite for all 52 card or with groups ?

 

Thank's for all :-)

the back of the card
 

 

Link to comment
Share on other sites

It depends how you do the card animation. But one quick and easy way would be to scale the card on its X axis only, so it looks like it "flips" over. Then you only need 1 card back and just position it on the card that is currently flipping over.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...