开发者

how to make "Farm Flip - Memory Match for Kids" like memory based game

开发者 https://www.devze.com 2023-03-29 22:58 出处:网络
i\'m about to developp a memory game for children like,i have 6 different images show in in random order in 12 places. note(each image show twic开发者_如何学编程e) and i want to know how to set images

i'm about to developp a memory game for children like,i have 6 different images show in in random order in 12 places. note(each image show twic开发者_如何学编程e) and i want to know how to set images randomly and how to mach UIImage with animation? any help..


Have a look at the answer by Kristopher at What's the Best Way to Shuffle an NSMutableArray?. You can create an array of 12 images (each repeated twice) & then shuffle the array. Then display the images in the order obtained after shuffling.

Regarding animations, you first need to at least visualize what animation you want. People can then help you achieve that.

HTH,

Akshay

0

精彩评论

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