How do I Fix a game that was made using webgl effects.

Get help using Construct 2

Post » Wed Apr 05, 2017 2:41 am

I finally finished a game. I built the whole thing on my laptop and decided to put it on my desktop to upload it. And I guess my desktop doesn't have webgl and the game looks awful.. is there some easy fix I'm missing or am I doomed to redo a bunch of stuff so that it works without webgl... thanks
B
14
S
4
G
1
Posts: 32
Reputation: 1,437

Post » Wed Apr 05, 2017 7:08 am

Hey @NiceJared, :)

This may mean you're using a browser that doesn't support WebGL, or has it disabled.
Some browsers have a setting labeled "Use hardware acceleration" or something similar. If this is disabled, WebGL might not work.

An alternative is to export the project as an NW.js desktop application.
A NW.js application takes your game and bundles the WebGL and HTML5 platform stuff in with it.
This way you don't need to rely on a browser for those things, though your file will be bigger as a result.

To try previewing your game with NW.js:
In the "Projects" panel, click the project folder (top-most folder).
Then in the "Properties" panel, in the "Configuration Settings" section, change "Preview browser" to "NW.js".
Now preview your game.

You may need to download NW.js for Construct 2 first from here:
https://www.scirra.com/nwjs
B
27
S
18
G
8
Posts: 328
Reputation: 6,158

Post » Wed Apr 05, 2017 11:56 am

Thank you so much for the reply! If this works out you're a life saver! :)
B
14
S
4
G
1
Posts: 32
Reputation: 1,437

Post » Thu Apr 06, 2017 8:31 am

Happy to help. :)
Also, if you have a Windows computer you may need to install DirectX. Though installing NW.js for C2 should automatically prompt you to install DirectX if needed.
B
27
S
18
G
8
Posts: 328
Reputation: 6,158


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests