New WebGL shader demo

Discussion and feedback on Construct 2

Post » Wed Aug 08, 2012 2:17 pm

Awesome stuff ;]
[QUOTE=Rory] Very nice!
The frame rate is good for me on my browser (firefox)
Will this fare well on mobile?[/QUOTE]

Quoted from the wiki:

"Mobile Browsers
Nokia N900 - WebGL is available in the stock microB browser from the PR1.2 firmware update onwards.[25]
BlackBerry PlayBook - WebGL is available via WebWorks and browser in PlayBook OS 2.0[26]
Firefox for mobile - WebGL is available for Android devices in unstable builds since early 2011.[27]
The Sony Ericsson Xperia range of Android smartphones have had WebGL capabilities following a firmware upgrade.[28]
Opera Mobile 12 final supports WebGL (on Android only).[29]"

Hopefully chrome and safari will support it soon ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Wed Aug 08, 2012 4:02 pm

@Ashley

Amazing Work - i also can't wait the R100..!!

KMag
B
13
S
4
G
3
Posts: 120
Reputation: 3,456

Post » Wed Aug 08, 2012 4:39 pm

Goes perfectly on Chrome. Someone test this on Mobile with Cocoon :)
Another cool thing from shaders: Now we have scene transition effects ! Yay \O/
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Wed Aug 08, 2012 4:48 pm

sounds awesome! im at work now but ill check it when i get home
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Wed Aug 08, 2012 5:02 pm

Just a reminder - we still currently have WebGL disabled on mobile devices - C2 games will fall back to canvas 2D. This is because most mobile browsers which support WebGL that I've tried either crash or are slower than canvas 2D. Hopefully in the long term it can be enabled again, but mobile browsers need some work.
Scirra Founder
B
359
S
214
G
72
Posts: 22,948
Reputation: 178,532

Post » Wed Aug 08, 2012 6:20 pm

[QUOTE=Ashley] Just a reminder - we still currently have WebGL disabled on mobile devices - C2 games will fall back to canvas 2D. This is because most mobile browsers which support WebGL that I've tried either crash or are slower than canvas 2D. Hopefully in the long term it can be enabled again, but mobile browsers need some work.[/QUOTE]
Have you tested on cocoonjs/appmobi direct canvas? How was the performance of the webgl shaders? ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Wed Aug 08, 2012 6:25 pm

@sheepy - CocoonJS and directCanvas are based on the canvas 2D renderer, so they don't support WebGL either.
Scirra Founder
B
359
S
214
G
72
Posts: 22,948
Reputation: 178,532

Post » Wed Aug 08, 2012 7:35 pm

@Ashley

hopefully all works fine with the *.Exe-Exporter.

2 Hard weeks in front of us, one day feels like a year for me. But i think we all can wait for the Big R100..!!

KMag

B
13
S
4
G
3
Posts: 120
Reputation: 3,456

Post » Wed Aug 08, 2012 8:07 pm

@KMag The .exe exporter is based on Chrome, so these shaders should work well :Dsqiddster2012-08-08 20:07:44
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Wed Aug 08, 2012 8:39 pm

Soo, Mobile is still a no go. Let's go Chrome FF and Desktop then. There's no way, Mobile will only take off when WebGL get's full support. There's no wrapping magic to save us all. I say one more year at least to that happen at minimum. Hope i'm wrong.Kiyoshi2012-08-08 20:41:32
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Elliott, supreme676, zenox98 and 14 guests