Hi - just bought this but can't find any instructions other than:
"ALWAYS after exporting to the NW.js extension, it will be necessary to place the two files ('style.css' and 'package.json') inside the 'package.nw' file for the transparency settings to be applied."
How do I put those files into package.nw?
Also, is there anything I need to do in Construct? Or does it automatically just make the project's background transparent?
Thank you very much for your purchase, I hope it meets your expectations.
To add files to the package.nw, you will need to open it with a file extractor, such as WinRAR or 7-Zip. You will include these files there, replacing the ones already in the folder.
The only thing to keep in mind in Construct is that all layers should be transparent.
When I try to delete those two files in package.nw directly, both 7Zip and Window's native zip tool don't allow me to - Googling suggests that the zip's headers aren't correct. So instead, I've tried extracting all the files, replacing style.css & package.json, then recompressing as package.nw - but when I run my executable, all I get is a NW.JS splash screen. I get the same problem if I export the sample "Construct 3 - Invisible Window" project. Is there some specific version of nw.js I need to use or some specific settings in Construct's export dialogue?
Update - WinRAR to the rescue! I managed to replace those two files using it without having to unzip everything. The only problem I have now is that performance isn't as good - the game's playable, but a little jerky. My laptop is quite old though, so should be fine on a modern machine.
Sí, toda la pantalla sigue siendo interactiva. Solo interactuará con el juego si haces clic en algún sprite de él, de lo contrario, es la pantalla normal de Windows.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hi - just bought this but can't find any instructions other than:
"ALWAYS after exporting to the NW.js extension, it will be necessary to place the two files ('style.css' and 'package.json') inside the 'package.nw' file for the transparency settings to be applied."
How do I put those files into package.nw?
Also, is there anything I need to do in Construct? Or does it automatically just make the project's background transparent?
Thank you very much for your purchase, I hope it meets your expectations.
To add files to the
package.nw
, you will need to open it with a file extractor, such as WinRAR or 7-Zip. You will include these files there, replacing the ones already in the folder.The only thing to keep in mind in Construct is that all layers should be transparent.
Sounds straightforward - thanks!
When I try to delete those two files in package.nw directly, both 7Zip and Window's native zip tool don't allow me to - Googling suggests that the zip's headers aren't correct. So instead, I've tried extracting all the files, replacing style.css & package.json, then recompressing as package.nw - but when I run my executable, all I get is a NW.JS splash screen. I get the same problem if I export the sample "Construct 3 - Invisible Window" project. Is there some specific version of nw.js I need to use or some specific settings in Construct's export dialogue?
Update - WinRAR to the rescue! I managed to replace those two files using it without having to unzip everything. The only problem I have now is that performance isn't as good - the game's playable, but a little jerky. My laptop is quite old though, so should be fine on a modern machine.
Si tienes el juego en la parte inferior... lo que tengas de windows encima es funcional sin que se marche el juego?
Sí, toda la pantalla sigue siendo interactiva. Solo interactuará con el juego si haces clic en algún sprite de él, de lo contrario, es la pantalla normal de Windows.
perfecto
Congrats on hitting your goal! Honored to be the last one :)
Thank you!
Hope you enjoy c: