[plugin] Node-webkit

Post your completed addons to share with the community

Post » Fri Dec 07, 2012 10:05 pm

Hmm. Hopefully there'll be a simple way to get around this.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Dec 07, 2012 10:13 pm

On the side note, i found some additional info about exporting with node-webkit, and setting up package.json correctly:

nodejs

(boolean) set nodejs to false will disable node inside WebKit, if you're only using HTML5 to write apps, it could improve stability and performance.
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,652

Post » Fri Dec 07, 2012 10:49 pm

Awesome! @Ashley can we get a comment on this promising technology?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Dec 07, 2012 10:53 pm

@squiddster : He already did last time you asked here.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sat Dec 08, 2012 12:12 am

@kyatric wow, I am now embarrassed.
[walk of shame]

Sorry, Ashley sqiddster2012-12-08 00:13:16
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Dec 08, 2012 12:18 am

[QUOTE=Arima] Argh stupid dll problems again...

When I last looked into it apparently the eula said something like to distribute the dll's on a computer the user needs to agree to the direct x eula. With my CC game loot pursuit I'm going to combine the game and direct x Eula at time of installation. Still annoying, though. :/ At least it works at all without them even if it's without webgl (or if the computer doesn't need them).[/QUOTE]

If you want to distribuite for windows, otherwise don't need to include if you target for mac and linux.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sat Dec 08, 2012 12:23 am

Has anyone tried to export for mac or linux?

If anybody has a mac or linux OS please test!
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,652

Post » Sat Dec 08, 2012 12:26 am

[QUOTE=JohnnySheffield] Has anyone tried to export for mac or linux?

If anybody has a mac or linux OS please test![/QUOTE]

I will get a mac on january, i will test linux with Ubuntu tonight.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Dec 12, 2012 9:56 am

@JohnnySheffield

Is it possible to get an 'Is NodeWebkit' condition so I can differentiate between a node export and something else?

The reason I ask is because for mobile games I don't need to add an exit option, but for node games I do. I'd like to conditionally display it :)

Thanks for the awesome work, it runs beautifully.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Wed Dec 12, 2012 10:03 am

Good suggestion!

I'll look into how to implement this today, hopefully it won't be an issue!

Also, i'll release updated plugin with some new ace's during the day!


Cheers!

----
It seems i'll have to redesign the plugin a little bit. Currently it wont work if you try to preview on a local server. I'll try to make a workaround for today release so it doesn't break your project if you export it as a html5 game and don't wrap it in node-webkit.JohnnySheffield2012-12-12 10:21:47
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,652

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests