开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜