Carousel like store inside my game?

Hello,
I am trying to make a store inside my game where the user can buy items from it. I want to make it like a “Carousel” where the user can scroll left/right and it rotates the store, allowing the user to view the available items. I would like to make it connected at each end so it can be continuously spun without stopping at each side.

This is what I am trying to achieve, where the box with the red glow is the one selected. So the user can scroll left and right with their finger and it will rotate through the available store “windows”. Does this make sense at all? I dont need it to curve at the edges like I showed in my example, I just want to emulate the “carousel” effect.

Thanks [import]uid: 63320 topic_id: 13265 reply_id: 313265[/import]

maybe these two can help
http://developer.anscamobile.com/code/carousel-simulating-depth-corona

http://developer.anscamobile.com/code/slider-module-springboard-functionality-warning-shameless-promotion-inside [import]uid: 24 topic_id: 13265 reply_id: 48680[/import]

Thanks for the quick reply Carlos! I will definitely take a look.

EDIT: That was exactly what I was looking for! I’m sure I can elaborate a bit to fit my needs. Thanks again! [import]uid: 63320 topic_id: 13265 reply_id: 48683[/import]

@carlos, I do not think that we have perspective at the moment as a transform on the rects, do we? It would be really nice to have that.

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 13265 reply_id: 48720[/import]

@Carlos, i’m working on an APP and I try your CAROUSEL, it looks good.
But for i want to do I need somenthing like COVERFLOW or OPENFLOW.
Can you please help me if you can giving me the script in LUA.

I look forward to hearing from you soon.
[import]uid: 85048 topic_id: 13265 reply_id: 52529[/import]

http://developer.anscamobile.com/forum/2010/10/08/cover-flow-style-look [import]uid: 24 topic_id: 13265 reply_id: 52542[/import]

Yes, thank you. This is one part of the effect (the reflection).
But i don’t have the script to make the photos change like on coverflow or openflow.
And then when you touch one of them be able to go to other menu like on itunes.

You see what i mean?

Thanks again
[import]uid: 85048 topic_id: 13265 reply_id: 52550[/import]

ah ! i see, you want me to write the code for you…

:wink:

i know what you mean… maybe others can help in forum.

anyone? bueller?

.c
[import]uid: 24 topic_id: 13265 reply_id: 52554[/import]

Not really.
I thought that maybe you could know were this script is already available.

Thanks anyway [import]uid: 85048 topic_id: 13265 reply_id: 52555[/import]

:wink:

i don’t think anyone has written one yet … maybe yours becomes the one

.c

[import]uid: 24 topic_id: 13265 reply_id: 52557[/import]