Don't Miss Out

Follow us now so you don't miss new releases!


Lightning Draw

neverk

45.664 seconds

shinkan

59.514 seconds

For the first 3 people to download this release!

Quick Draw

Yann

1m 8s

Guest

1m 19s

Lightfox

1m 24s

roberto

2m 39s

bowiz2

2m 3s

CrudeMik

2m 25s

Sylvain

3m 37s

leonhard

3m 42s

Be one of the first 15 people to download this release!

Construct 2 Release r116

This is an old Beta release! Download the latest Beta release instead here.
Download

104.3 mb, Windows 8/Windows 7/Vista/XP

Friday, January 18, 2013

New this release: export to Linux via node-webkit, 9-patch and WebSocket plugins, and the Turret behavior!

Linux support

We've tested Linux export on Ubuntu 12.10 and it seems to be working well. However there are a few things to bear in mind when exporting to Linux:

  • The exported app won't run unless you enable execute permission. In Ubuntu you can do this by right-clicking the file and enabling Allow executing file as program, or from the terminal using chmod +x myapp.
  • We thought graphics card drivers were bad on Windows. Drivers are great on Windows compared to Linux. Chrome disables hardware acceleration for a lot of driver or hardware combinations, such as when using open-source drivers but not proprietary drivers. WebGL support is likely to be very patchy, and even hardware accelerated canvas 2D may not be available (so you'll get software rendering). I could get WebGL support on an AMD Radeon 6570 using the proprietary drivers from AMD; by default Ubuntu gives you the open source drivers which Chrome does not support. Chrome also warns about possible instability or glitches on certain hardware combinations. You can check what Chrome thinks of your setup by installing it and browsing to the URL chrome://gpu, and see what it says for Canvas and WebGL.
  • We found some strange performance characteristics, for example running at a laggy 30 FPS windowed but responsive 60 FPS fullscreen. We'll be investigating if node-webkit can fix this or if it's driver issues beyond our control.

The installer is also now 110mb up from about 60mb in r114, because node-webkit requires several large files for each platform. We don't anticipate this is too much of a problem though, since broadband is widespread these days.

It's exciting to now be able to publish desktop apps to Linux, Mac and Windows! Don't forget HTML5 games have always been able to run in the browser on Linux, but subject to the same limitations with WebGL/hardware acceleration described above. The main thing is as ever to make sure your game is playable and looks correct with both WebGL enabled and disabled.

We have a couple of new built-in plugins as well. Check the new examples in the Start dialog for demos of the Turret behavior and 9-patch plugin. Here's a quick summary of what's new:

9-patch plugin

Previously called the "Panel" object in Classic, this object takes an image and draws the corners, edges and fill separately. This makes resizable rectangles which don't get blurry as they resize larger. These can be very handy for making re-usable UI images from a single small source image. If you've used border-image in CSS, it's also similar to that.

Turret behavior

If you used Construct Classic you may also remember the Turret behavior. It's useful for turret defence style games, automatically aiming and firing at targets within a certain range. It also includes a nifty little feature called 'predictive aim', also from Classic: this enables it to aim at where the target is going, instead of where it is, making it far more accurate. To learn more see the two new Turret examples in the Start dialog!

WebSockets

The new WebSocket plugin is a simple wrapper around the WebSocket protocol. You can connect to a server and send and receive text messages (binary messages are not yet supported), and that's about it. It should be compatible with any WebSocket service that uses text messages. Note WebSockets are not supported in IE9 or the Android browser, but are supported in IE10 and both Chrome and Firefox for Android.

If you're thinking about using WebSockets for real-time multiplayer games, prepare to be disappointed: it's not suitable for that for a variety of reasons. Not only does it lack a large number of features like separating messages in to channels or telling you who else is in a "game", but at the network level it can only communicate over TCP. Real-time games need to use UDP for low-latency lag-free gaming, and WebSockets do not currently support this. Using TCP is likely to make your game laggy and unplayable even on good quality connections. Maybe in future we'll have better support for multiplayer games, but right now WebSockets are best for less latency sensitive things like chat rooms and communicating with services in real time.

That's everything for this build, but there's more on the way for future releases!

Changelog

Feature

Export to Linux via node-webkit (supports both 32 and 64 bit apps)

Add

New 9-patch plugin

Add

New Turret behavior

Add

New WebSocket plugin

Add

Button object: new Checkbox mode (including new conditions and actions like 'Is checked' and 'Set checked')

Bug Fix

AJAX: requesting local files didn't work in node-webkit

Bug Fix

Windows Phone 8: suspend and resume events should now be correctly handled. Note we've also enabled fast resume by default.

Bug Fix

Windows Phone 8: crash when recovering from tombstone

Bug Fix

Possible check failure clicking links in property grid


Comments

2
delgado 30.6k rep

hurray! feature! :D

Friday, January 18, 2013 at 1:49:42 PM
2
dodo021 5,314 rep

Ooww very nice !

Friday, January 18, 2013 at 1:51:42 PM
3
Joannesalfa 27.6k rep

Good one! it's BEST update of the January

Friday, January 18, 2013 at 1:53:01 PM
2
kenli 7,323 rep

awesome release!
Finally export to Linux feature :)

Friday, January 18, 2013 at 1:53:38 PM
2
Przemek32767 23.0k rep

Linux support for node-webkit, Panel from Construct Classic and WebSockets? You are reading my mind! :D

Friday, January 18, 2013 at 1:53:47 PM
6
shinkan 33.8k rep

niice.
"If you're thinking about using WebSockets for real-time multiplayer games, prepare to be disappointed"

What about very simple turn-based games? one player moves... then other player moves?

Friday, January 18, 2013 at 1:54:10 PM
2
Candescence 11.3k rep

Oh, /hell yes/. Lunix support is good, but 9-Panel and Turret is ACE.

Friday, January 18, 2013 at 1:54:50 PM
2
GeometriX 12.1k rep

Cheers guys. Great features as always :)

Friday, January 18, 2013 at 1:56:59 PM
2
AbLaZe 5,141 rep

Cool updates, thx!

Friday, January 18, 2013 at 1:58:32 PM
2
Peteer 4,647 rep

good job guys!

Friday, January 18, 2013 at 2:00:21 PM
2
xoros 7,348 rep

That's massive! First I'll try websockets.

Friday, January 18, 2013 at 2:01:30 PM
2
PeterMr 5,017 rep

Great Job! Lets go to 116!

Friday, January 18, 2013 at 2:12:23 PM
2
tuebben 4,134 rep

Thanks a lot!

Friday, January 18, 2013 at 2:16:12 PM
6
Ashley 186.1k rep

@shinkan - yes, you could make a turn based game and it should work fine, it's only real-time things like action games where the lag would be a problem. But you still need to write a WebSocket server!

Friday, January 18, 2013 at 2:17:02 PM
2
totoe 40.7k rep

Thanks for the hard work Scirra team!

Friday, January 18, 2013 at 2:19:08 PM

Leave a comment

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