Animating card dealing
I have looked at the Animation class and am having difficulty understan开发者_如何学JAVAding 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.
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!
精彩评论