我如何使用选择器视图在iphone应用程序使用cocos2d?

问题描述:

我正在使用cocos2d开发一个项目(*游戏)。我需要添加选择器视图来旋转卷轴(图像链)。但我不能这样做旋转。如果你有一个解决方案,请给我的指示,我该如何使用选择器视图或没有选择器视图。请帮助指导我。

I am working on a project ( Slots Game ) using cocos2d. I need to add picker view to rotate the reel ( image chain ). But I can not doing this rotation.If you have a solution for this please give me the instruction that how can I do this using picker view or without picker view. Please ans me with help instruction.

我也正在开发一个基于*的项目。我试图操纵UIPicker,但这是无法得到什么正是*的外观,所以我决定使用UIScrollView和UIImageView。这很棒,工作正常,我们需要只导航图像,因为我们想要的。

I am also working on a project that is based on slot machine. i have tried to manipulate UIPicker but this is unable to get what the exactly slot machine looks like, so i have decided to use UIScrollView and UIImageView. This comes out great, working fine, we need to only navigate the images as we want.

对于随机数,我创建了一个类,生成随机数,

For random number i have created a class that generate the random number as per my algorithm.

感谢,
Abu

Thanks, Abu