[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 ImageImage
B
167
S
50
G
159
Posts: 8,167
Reputation: 102,930

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
87
S
31
G
8
Posts: 308
Reputation: 10,712

Post » Thu Apr 19, 2012 9:07 am

That's amazing! m(_     _)m
B
119
S
30
G
8
Posts: 214
Reputation: 13,160

Post » Thu Apr 19, 2012 9:15 am

Master of effect!
B
108
S
26
G
250
Posts: 4,403
Reputation: 141,123

Post » Thu Apr 19, 2012 9:52 am

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

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: 339
Reputation: 7,426

Post » Thu Apr 19, 2012 12:26 pm

amazing!!!!!i like it
B
163
S
39
G
13
Posts: 234
Reputation: 18,298

Next

Return to Completed Addons

Who is online

Users browsing this forum: alext2 and 1 guest