Node-webkit & Construct 2

Discussion and feedback on Construct 2

Post » Thu Dec 06, 2012 9:16 pm

Good news; i sorted the loading time, it loads instantly now!

Problem was in the index.html, i edited line 59 as follows:
     <script src='jquery-1.7.1.min.js'>\x3C/script>

C2 was actually trying to get jquery form ajax.googleapis.com, once you say to construct to look for jquery locally everything is much, much smoother!
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,652

Post » Thu Dec 06, 2012 10:20 pm

Nice! Especially after the app has loaded the first time, the difference that edit makes is quite clear. This does seem superior to awesomium.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Dec 07, 2012 4:15 am

@johnnysheffield You totally beat me in writing a walk through for node-webkit then you totally blew me away by writing a plugin! And quickly too!!! Great job!

As far as my own tests I definitely prefer this to Awesomium. Which isn't bad; just better suited for running inside games rather than running games itself.
B
37
S
9
G
7
Posts: 143
Reputation: 6,017

Post » Fri Dec 07, 2012 12:42 pm

Wow, just spotted this thread. I was getting a bit worried about Awesomium but this looks like it could be excellent! @Ashley what are your thoughts?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Dec 07, 2012 3:11 pm

[QUOTE=Arima] Nice! Especially after the app has loaded the first time, the difference that edit makes is quite clear. This does seem superior to awesomium.[/QUOTE]


Well, actually there's no question is this superior to awseomium, it is much superior; Node-webkit is an app runtime based on Chromium and node.js. Awseomiuzm doesen't support this option.


But, is it better suited for exporting C2 games to .exe?
That's another question...
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 3:58 pm

Will check this out soon to see if we can officially support it, just got a lot to do right now...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sat Dec 08, 2012 12:00 am

Made a tutorial on how to export. I hope it helps to make things easier!JohnnySheffield2012-12-08 00:01:08
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:12 am

[QUOTE=JohnnySheffield] Good news; i sorted the loading time, it loads instantly now!

Problem was in the index.html, i edited line 59 as follows:
     <script src='jquery-1.7.1.min.js'>\x3C/script>

C2 was actually trying to get jquery form ajax.googleapis.com, once you say to construct to look for jquery locally everything is much, much smoother![/QUOTE]

I'm glad it's good news, it makes me wonder if node-webkit is possible to do with XML and AJAX on local.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Tue Dec 11, 2012 9:37 pm

Found out a bug with resizing a fullscreen app. It only happens if you have full screen mode set to on in construct. It's not the entering and leaving fullscreen that breaks it, it's just quick and large resizing of the window that breaks it. and it doesn't break, it just "moves the position of the view"; pics for a better explanation!



Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,652

Post » Tue Dec 11, 2012 9:38 pm

would love that C2 supports this in the near future
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Unconnected and 2 guests