[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: 708
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: 708
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
172
S
50
G
182
Posts: 8,439
Reputation: 115,097

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
54
S
17
G
7
Posts: 59
Reputation: 6,565

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
95
S
35
G
8
Posts: 316
Reputation: 11,328

Post » Thu Apr 19, 2012 9:07 am

That's amazing! m(_     _)m
B
122
S
32
G
8
Posts: 214
Reputation: 13,435

Post » Thu Apr 19, 2012 9:15 am

Master of effect!
B
110
S
28
G
280
Posts: 4,487
Reputation: 156,566

Post » Thu Apr 19, 2012 9:52 am

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

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,312

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests