[Behavior] flip Sprite

Post your completed addons to share with the community

Post » Wed Apr 18, 2012 7:10 pm

Here's a behavior which allows you to flip a Sprite on his side (it was sitting on my harddrive, nearly finished, I just needed to test it on Chrome...) !

To make it work, you need to have a Sprite with two frames, when the first frame is flipped, the second one appears behind it.

4 consecutives screenshots to show the effet (it's more pronounced in Firefox than Chrome, I need to check the perspective).

It's also working on iOS (I just tested it on an iPad 1st gen with iOS 5.1).

In the next release, you'll have the possibility to se the perspective, axis (left/right,up/down), and back color.
I also need to make it work in Opera...

The demo : http://dl.dropbox.com/u/1412774/C2FlipTest/index.html
The .capx : http://dl.dropbox.com/u/1412774/C2FlipTest/C2FlipTest.capx
The plugin : http://dl.dropbox.com/u/1412774/C2FlipTest/pode_flippy.0.1.zip

One cool thing is that I can leverage the method to add other CSS2/CSS3 effects to objects in C2. So in the next few weeks, you are going to see some new effects !
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Apr 18, 2012 7:11 pm

And, remember people, it's a behavior, not a plugin, so straight to the /behavior folder !
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Apr 18, 2012 7:18 pm

Nice. Would be good for card games, perhaps even a paper mario effect.

Thanks!
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Apr 18, 2012 7:40 pm

it's nice to see that the sprite jumps out from the canvas! If planned right, it can be a good surprise =]

nice job, Pode.
B
50
S
16
G
7
Posts: 59
Reputation: 6,365

Post » Wed Apr 18, 2012 10:04 pm

This is so cool. Don't know what I'd use it for but I don't care! Downloading!
B
58
S
20
G
7
Posts: 305
Reputation: 8,804

Post » Thu Apr 19, 2012 9:07 am

That's amazing! m(_     _)m
B
106
S
27
G
8
Posts: 209
Reputation: 12,525

Post » Thu Apr 19, 2012 9:15 am

Master of effect!
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Thu Apr 19, 2012 9:52 am

Menu effect material. Thanks for this. :)
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Thu Apr 19, 2012 10:10 am

Hmm this could be used for a nice pageturn effect if used right :O
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Thu Apr 19, 2012 12:26 pm

amazing!!!!!i like it
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests