theblitz
theblitz

Reputation: 6881

Animating card dealing

I have looked at the Animation class and am having difficulty understanding how exactly you do things. In my case, you have a deck of cards in the middle of the screen and I want to animate the deal by showing cards sliding across the screen to the users (who are located on the four edges of the screen).

In some cases, I need to animate the card face-up and then show it face-down in the player hand.

I really am totally lost.

Upvotes: 0

Views: 260

Answers (1)

Egor
Egor

Reputation: 40193

You may take a look at the SurfaceView class, which has a Canvas to draw things. Creating games and animations in general is much easier with Canvas. Good luck!

Upvotes: 1

Related Questions