76
Support / 2-sided sprite?
« on: October 06, 2013, 01:07:09 pm »
Hi,
can sprites have a "backside"? So can I flip a sprite (namely a card) over with a nice flip animation to reveal the card content (from a deck of cards all having the same backside image)?
I did Cocos2D/iOS before, and I could come up with a nice card distribution animation (see sample here) by having a card fly over to the target position, having a virtual camera revolve around it until halfway when only the side of the card was visible, then switched the sprite image to the actual card content and then flip it finally over to the destination pos. I suppose with 2D Toolkit being in "real" 3D space now should make that somewhat simpler, or?
Thanks, habitoti
can sprites have a "backside"? So can I flip a sprite (namely a card) over with a nice flip animation to reveal the card content (from a deck of cards all having the same backside image)?
I did Cocos2D/iOS before, and I could come up with a nice card distribution animation (see sample here) by having a card fly over to the target position, having a virtual camera revolve around it until halfway when only the side of the card was visible, then switched the sprite image to the actual card content and then flip it finally over to the destination pos. I suppose with 2D Toolkit being in "real" 3D space now should make that somewhat simpler, or?
Thanks, habitoti