开发者

Animating card dealing

开发者 https://www.devze.com 2023-03-05 05:25 出处:网络
I have looked at the Animation class and am having difficulty understan开发者_如何学JAVAding how exactly you do things.

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

精彩评论

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