3D CSS Transformation?

Discussion and feedback on Construct 2

Post » Thu Jun 28, 2012 9:07 pm

Here is another post you may want to test it, i tried it with C2, performance boost is almost considered but little and it bothers to adjust the screen

http://29a.ch/2011/5/27/fast-html5-canvas-on-iphone-mobile-safari-performance
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Thu Nov 29, 2012 10:54 pm

I see Ashley's point in wanting to stick with optimizing the canvas himself over trying to fight with the browser over how it handles CSS3 tricks, but I'm curious how you would accomplish some of the simple but effective CSS 3D tricks such as a 3D card flip that only requires 2 images (front and back) vs having to trying and animate that with sprite frames.
B
8
S
1
Posts: 17
Reputation: 1,334

Post » Sat Jan 12, 2013 9:58 am

Just found this thread by coincidence.

I'm wondering how hard it would be to add Sprite3D.js to an existing project.

Has someone gotten CSS 3D transformations to work with Construct 2 in that fashion?

B
6
S
2
Posts: 206
Reputation: 1,685

Post » Sat Jan 12, 2013 6:57 pm

This would indeed be very interesting for dynamic effects for the games and perhaps more appealing for its 3D feel but I wouldnt consider this too neccessary if it lowers the perfomance of a 2D game...
But if it could do something like this
http://www.youtube.com/watch?v=pMPf9jvLSdM
then id totaly love it :D
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Sat Jan 12, 2013 7:25 pm

@Miu3
Great, now Im going to have that song in my head for the rest of the day.
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Sat Jan 12, 2013 9:59 pm

Oh then you should check the other levels from the game rhythm heaven fever for more catchy music :D
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Mon Jan 14, 2013 10:37 am

@Blinx123, @Miu3 : I made a plugin using some CSS3D transforms (the page flipping one). The problem is that you can't render those transforms inside the <canvas> (used by C2). The whole animation is going to "float" above the game, meaning you won't have any collision detection, for example...
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest