About Node-Webkit

Discussion and feedback on Construct 2

Post » Tue Jun 11, 2013 2:01 pm

Was just wanting to get a thread going about doing some other stuff in Node-Webkit.

For example, over here is a list of features that can be added such as a frameless window. There's actually a lot of stuff CC could never do. Honestly I would love to have everything on that page if it was possible.

Also I wanted to bring up the possibility of making a C2 game viewer where basically all you did was drop an existing normal html5 export into a folder that an exe could read.

The reasoning there is that the exe itself can be rather large where as the game itself can be tiny in comparison.

And then other possibilities arise such as having multiple games together.

Some really nice options when you think about it.
Image ImageImage
B
168
S
50
G
163
Posts: 8,220
Reputation: 105,059

Post » Tue Jun 11, 2013 5:27 pm

Agreed, there's a ton of cool features that could be added from Node-Webkit. Scirra might actually be working on adding some currently though, I'm not sure.
B
21
S
8
G
5
Posts: 89
Reputation: 6,017

Post » Tue Jun 11, 2013 5:34 pm

I would check out the examples that come with Construct 2. There's a few in there that cover touch input, swiping, etc.
B
21
S
8
G
5
Posts: 89
Reputation: 6,017

Post » Tue Jun 11, 2013 5:39 pm

Well Im talking more about features like this that cant be implemented via events.

Not quite live tiles, but still very cool.
Image ImageImage
B
168
S
50
G
163
Posts: 8,220
Reputation: 105,059

Post » Tue Jun 11, 2013 7:09 pm

Yeah, I agree that there should be more native export support with the Node Webkit API having so much ability to do things. (probably through the node-webkit plugin)

I don't think EXE size is an issue because it includes a lot of stuff that C2 doesn't use yet but potentially could. But I have to agree that a 4mb game exporting to 40mb with webkit is surprising to many people.

However an idea of a modular local viewer is a neat idea, but would probably take a lot of work.Thndr2013-06-11 19:11:23
B
21
S
8
G
6
Posts: 346
Reputation: 4,891

Post » Tue Jun 11, 2013 7:13 pm

While I personally wouldn't have use for a lot of those options, I agree they could be useful and more window control/options would be great, I could definitely use those.

Also, you already can use node webkit as a 'c2 game viewer' by downloading node webkit from the website, creating a manifest file for window settings, putting it in the exported game's directory, and then dragging the exported game's folder on to nw.exe. https://github.com/rogerwang/node-webkit/wiki/How-to-run-appsArima2013-06-11 19:14:53
Moderator
B
93
S
33
G
33
Posts: 3,006
Reputation: 27,719

Post » Wed Jun 12, 2013 2:00 am

I don't mean to hijack this thread but I have a question about NodeWebKit and maybe someone here can answer. Is it possible to access the UserMedia plugin, specifically the microphone, through NodeWebkit? I need to something very simple where by I use the speech to text capabilities of the UserMedia plugin to write to a file through NodeWebKit but so far it seems that the exported .exe is not able to access the microphone.

Any help is very much appreciated and I agree with others that I would like to see more features from NodeWebKit enabled.

Thanks!!!
B
9
S
3
G
4
Posts: 80
Reputation: 3,273

Post » Wed Jun 12, 2013 2:45 am

@srealist

You need to check what version of Chrome Node-Webkit uses vs what version is required to use the "experimental" UserMedia plugin.
Image ImageImage
B
168
S
50
G
163
Posts: 8,220
Reputation: 105,059

Post » Wed Jun 12, 2013 5:22 pm

@newt, thank you for the response. I'm embarrassed to say I could not figure that out or even figure out where to find this information.
B
9
S
3
G
4
Posts: 80
Reputation: 3,273

Post » Wed Jun 12, 2013 6:13 pm

I'd use many of the features personally. +1 !
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Next

Return to Construct 2 General

Who is online

Users browsing this forum: paradine and 3 guests