I am designing a game where user and computer play in alternate turns(like chess). I have 30 imageviews in my application. In this game user clicks on one imageview and then on another empty imageview to play/make his move (as in chess where user clicks on one pawn and then on the location where he wants to move the pawn).
In my app, when the computer makes his move, it's very diff开发者_StackOverflow社区icult for the user to notice which pawn has moved and to where (because unlike chess a player's pawns are all identical here).
So I want to include a graphic (or whatever you call it) which draws a line from the source imageview to the destination imageview, whenever the computer plays.
So how do I go about doing this?
I have read all (translate, rotate, scale, alpha, framebyframe animations), but I felt nothing suits my need.
Why don't you animate the pawn and make the speed configurable?
精彩评论