WebGL Renderer not working in Node-Webkit?

Get help using Construct 2

Post » Sat Mar 08, 2014 6:33 pm

I have a strange issue with my laptop. I'm using this basic physics project for my example test: https://dl.dropboxusercontent.com/u/30381754/Physics%20Test.capx

My desktop PC is a Windows 7 64-bit machine with Intel Core i5 2500K CPU and AMD HD Radeon 7800 Graphics card. The physics example (and a game I'm currently working on) runs fine with no performance drops and in Node-Webkit/Chrome/Firefox uses the WebGL Renderer.

Image

My laptop is a Windows 8.1 64-bit machine with Intel Core i5-4200U CPU and integrated graphics. The physics example has a slightly choppy framerate and while it uses the WebGL Renderer in Chrome and Firefox, it uses the Canvas2D renderer in Node-Webkit.

Image

I've tried updating the graphics driver and OpenGL appears to work fine for other applications, could this be an issue with the Node-Webkit libraries?
B
24
S
5
G
1
Posts: 89
Reputation: 3,015

Post » Tue Mar 25, 2014 2:37 pm

i have the exact same problem!
i use windows 8.1 with a amd 7870 gpu and my game is 60fps constantly in chrome.
for the first time ever i used node webkit to see how it works and i have 8!!! fps.
i just read that when exporting it has even better performance.
i downloaded the OP demo capx and from 60fps in chrome i see 24 fps in node webkit.
any idea what is happening?
B
15
S
6
G
4
Posts: 277
Reputation: 3,948

Post » Thu Mar 27, 2014 7:25 pm

I've fixed it, according to the github repo for Node-Webkit, there is a certain compatibility issues with WebGL and Node-Webkit. Basically has to do with DirectX 9, those files are dependent for some reason.

I installed DX9 on my Windows 8.1 machine and now the game runs full speed! :D
B
24
S
5
G
1
Posts: 89
Reputation: 3,015

Post » Thu Mar 27, 2014 8:18 pm

so we need to go back in time again and install ancient history! :p
thank you for your info!
B
15
S
6
G
4
Posts: 277
Reputation: 3,948


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 31 guests