Help needed regarding game mechanics

This is my first project and have the graphics for a game that will split the screen into 3. There are 10 different animals so top reel with have 10 heads middle 10 bodies bottom 10 legs/feet. At the start i need to randomize it like a slot machine then be able to scroll the relevant reels (top, middle, bottom). When all 3 line up to an animal I need to have the game recognise it.

Are there any API’s that could help with this and how would i split the screen so that the three tiers align correctly? [import]uid: 228853 topic_id: 36390 reply_id: 336390[/import]

I would use three scrollViews, with some extra lines of code to ‘snap’ the scrollViews to set positions after scrolling so the target animal part is centred, and also keep track of what animal each reel is currently on by using the position of the scrollView content.

You could detect when all three match using an enterFrame listener to constantly check the current reel positions or do it after a reel has just finished moving.
[import]uid: 93133 topic_id: 36390 reply_id: 144512[/import]

I would use three scrollViews, with some extra lines of code to ‘snap’ the scrollViews to set positions after scrolling so the target animal part is centred, and also keep track of what animal each reel is currently on by using the position of the scrollView content.

You could detect when all three match using an enterFrame listener to constantly check the current reel positions or do it after a reel has just finished moving.
[import]uid: 93133 topic_id: 36390 reply_id: 144512[/import]

I would use three scrollViews, with some extra lines of code to ‘snap’ the scrollViews to set positions after scrolling so the target animal part is centred, and also keep track of what animal each reel is currently on by using the position of the scrollView content.

You could detect when all three match using an enterFrame listener to constantly check the current reel positions or do it after a reel has just finished moving.
[import]uid: 93133 topic_id: 36390 reply_id: 144512[/import]

I would use three scrollViews, with some extra lines of code to ‘snap’ the scrollViews to set positions after scrolling so the target animal part is centred, and also keep track of what animal each reel is currently on by using the position of the scrollView content.

You could detect when all three match using an enterFrame listener to constantly check the current reel positions or do it after a reel has just finished moving.
[import]uid: 93133 topic_id: 36390 reply_id: 144512[/import]