EXE wrapper for HTML5 - alpha test

Discussion and feedback on Construct 2

Post » Fri Mar 02, 2012 12:39 pm

EDIT: check out this newer thread for updates: http://www.scirra.com/forum/space-blaster-for-windows-demo_topic53658.html

Hi all,

Exporting an EXE still seems to be a popular feature request. Most EXE-around-HTML5 wrappers I've tried have all been too slow or had other shortcomings, but Awesomium just released 1.7 with WebGL support. I've tried it, and it seems fast enough for smooth gaming on the desktop. Since it supports WebGL, it should be comparable in performance to a native runtime, and you still get to use all your favourite third-party plugins and behaviors.

Awesomium is based on the open-source Chromium (the Google Chrome browser engine, which IMO is the best). You need a license to use Awesomium, but only if you made over $100K in revenue in one year, so it should be free for most indie devs (more info on their site).

I've made a test demo - note the Awesomium 1.7 release itself is currently alpha, and this implementation of the wrapper is also alpha, so please think of it as a proof of concept only!

The test demo just loads Space Blaster live from the web. Obviously when finished it will embed all your project files inside the EXE so no connection is necessary - this is just a simple test of the wrapper technology. Note the zip is 14mb, which is quite a large file size overhead compared to the size of the game, because it includes the entire Chrome browser engine. It shouldn't be too much bother since most have broadband these days.

I noticed a few sound glitches too BTW, but they cleared up after a while. Having sounds embedded in the EXE will probably help fix that, I hope.

Here's the test:

http://www.scirra.com/labs/c2-exewrap.zip

Give it a test and see how it runs for you.

Please note: we may make this a licensed-only feature.Ashley2012-06-22 11:52:05
Scirra Founder
B
202
S
133
G
43
Posts: 17,437
Reputation: 111,773

Post » Fri Mar 02, 2012 1:05 pm

started with an d9d3 dll missing error (I'm on my work PC at the moment) and after closing windows XP came up with an error, that the program is not responding. But the Game runs flawless :)
B
26
S
5
G
4
Posts: 237
Reputation: 4,200

Post » Fri Mar 02, 2012 1:09 pm

@Ubivis, what was the exact name of the DLL? We might be able to bundle it...
Scirra Founder
B
202
S
133
G
43
Posts: 17,437
Reputation: 111,773

Post » Fri Mar 02, 2012 1:09 pm

Runs good on my desktop with Win7 64. Also tried with my netbook (Win XP) and it runs good with some slowdows of course.

In the netbook with Win XP it gives me an error on startup but then continues to load fine. The error says that it cannot find the d3dx9_43.dll file.

Also another minor thing I noticed it's that if you hit the alt key the game pauses because you opened the browser's menu.
B
31
S
7
G
8
Posts: 135
Reputation: 7,149

Post » Fri Mar 02, 2012 1:11 pm

I heard about Awesonium. This looks really interesting.

I gave it a quick test. It works fine for me, but the framerate is not as smooth as on Google Chrome (I have a 64 bit Windows 7 laptop). Nonetheless, it looks promising.Przemek327672012-03-02 13:12:13
B
93
S
29
G
18
Posts: 46
Reputation: 13,994

Post » Fri Mar 02, 2012 1:11 pm

d3dx9_43.dll

as I said... this is a computer at work, no fresh DirectX9 Installed :)
B
26
S
5
G
4
Posts: 237
Reputation: 4,200

Post » Fri Mar 02, 2012 1:16 pm

Same errors here, but runs well. Would get major use of something like this myself.
B
13
S
5
G
6
Posts: 144
Reputation: 2,956

Post » Fri Mar 02, 2012 1:27 pm

This would be a great tool. Plus easier to monetize your creations to the masses.
B
18
S
4
G
3
Posts: 12
Reputation: 3,944

Post » Fri Mar 02, 2012 1:29 pm

I run on XP. No errors on startup. On exit I got a "Data Execution Prevention error" + "C2Wrap.exe has encountered a problem and needs to close".

I guess these are minor issue. The game run smoothly and it would have been cool to see a full screen (Alt+Enter) is native resolution.

Are they planning on making this available to Mac's too?
B
29
S
9
G
6
Posts: 105
Reputation: 6,604

Post » Fri Mar 02, 2012 1:34 pm

No errors here - it worked brilliantly! No noticable slow down. (That demo has really come along by the way!)

It seems too good to be true - Is the exe wrapper really here already?!

You move too fast!

*W7-64bGenkiGenga2012-03-02 13:43:04
B
23
S
2
G
5
Posts: 741
Reputation: 6,345

Next

Return to Construct 2 General

Who is online

Users browsing this forum: j5scythe, lucid, Matsugae and 1 guest