Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Baby 3D Plugin for Construct 2

Make 3D games in Construct 2 powered by Babylon.js · By Pixel Rebirth

is there any way to use the plugin in nwjs

A topic by fortran created Jun 08, 2025 Views: 261 Replies: 8
Viewing posts 1 to 4

i find nwjs alot more convenient than chrome because i usually make my games windows downloads anyway

whenever i try to preview the game in nwjs it gives me an error and the game doesnt show up at all

Developer(+1)

The plugin works fine with NWjs as evidenced by two projects of mine which are exported as such (Sirinite and Hardliner Demo).

Please share the error message you are getting. There could be other factors responsible such as additional third party plugins.

Also you may want to attempt to simply reinstall NWjs for Construct 2.

ill try reinstalling nwjs too to see if that fixes it

ok so it was just a part of my verson of nwjs being outdated. thank you for respondin!!!!

Developer(+1)

Glad it worked out!

I also encountered this issue. I have the latest version of nwjs v0.54.0 installed from here: https://www.construct.net/en/construct-2/nwjs, but the 3D layer is black when loading. I updated the Baby 3D itself to version 0.954 over the old 0.93, but that didn't help. There is only one third-party plugin in the project itself, and removing it didn't help. Does it make sense to check all the plugins that are installed in C2 itself? Can you show me the configuration settings for nwjs?

Developer

Are you sure this is an issue specific to nwjs?

A blacked out canvas makes me believe there might simply be layers that aren't invisible and block the 3D canvas.

Please confirm this doesn't happen when simply previewing in your browser directly.

I ran it on my laptop, where I had previously lowered and allocated 1 GB for VRAM via BIOS, since I didn't have enough RAM for all the tasks. Then this happened. I tried it on another device with more memory, and it works there. Here, I also tried it in Chrome and got this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'ClassName')
     at babylonjs.loaders.min.js:1:174181
     at babylonjs.loaders.min.js:1:212420
     at babylonjs.loaders.min.js:1:275
     at babylonjs.loaders.min.js:1:288
Developer

You're saying it works fine on a different device with better specs?

Are you maybe trying to run it on an older device that doesn't properly support WebGL?