Translations

Know another language? Translate this tutorial!

Export your Construct2 game to EXE (while protecting your game assets)

Favourite 9 favourites
Tutorial written by wholetonegamesOriginally published on 5th, December 2016

The code here works for Windows, below you'll find other versions

NWjs: https://www.scirra.com/nwjs
How to export to OS and Linux: https://github.com/nwjs/nw.js/wiki/how-to-package-and-distribute-your-apps

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Comments

1
AbelaNET 14.9k rep

Thanks. Good trick

Wednesday, December 07, 2016 at 8:23:29 PM
1
Joannesalfa 28.4k rep

Can you put youtube link here? It shows adobe flash player is required since youtube already supports html5 videos but scirra webmaster doesnt want to change it

Saturday, December 10, 2016 at 11:45:03 PM
1
shinkan 37.0k rep

It's a good solution if your game is 5, 10 or even 50mb in size. But when your game have more than 100mb in resources then having one huge *.exe file looks kind of stupid/strange/suspicious.

It is a nice workaround but still NWjs provides no protection or security after all that time.

Monday, December 12, 2016 at 9:33:07 PM
1
wholetonegames 861 rep

@Joannesalfa Apparently I don't have enough rep to post the link. Here's what goes after youtube's base URL: watch?v=NUUMmz9bw8A

@shinkan I agree with you on the file sizes, but I think this is the closest we'll ever get to "encrypting" the assets when using NWjs

Thursday, December 22, 2016 at 5:43:14 AM
0
Yura G 8,098 rep

Useful! Thank you!

Sunday, January 08, 2017 at 11:38:58 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.