Don't Miss Out

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

Construct 2 Release r89

There is a more up to date Stable Release! Download the latest Stable release instead here.

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

Tuesday, May 8, 2012

We're overdue for a stable release but there turned out to be a few more new changes to make. If this release goes smoothly we'll make r90 a stable update.

New this build: Export to CocoonJS! CocoonJS by Ludei provides a hardware-accelerated engine to accelerate HTML5 games to native-like performance, then publish them as Android apps. Hopefully this will solve performance issues on Android. We're also working to support directCanvas, a similar technology by appMobi for iOS as well. CocoonJS support in Construct 2 should be considered early beta, since both Ludei and us need to work on it further to get it working smoothly. However as always our policy is to release early and often. So if you want to try it out: install the 'CocoonJS Launcher' app, register, zip the exported files and upload the zip (e.g. to Dropbox), enter the URL to the zip in the launcher app, and try running. Please note this feature is not available in the free edition. There are lots more details to work out such as the publishing workflow, but for now you can try out the technology from Construct 2.



Export to CocoonJS. Make native-performance Android apps, 5-10x faster than the browser. Experimental work-in-progress, some things are not currently working (including Tiled Backgrounds, audio, and changing orientation).


System expression 'anglerotate(start, end, step)', basically 'rotate toward angle' in an expression. Note the way it works is slightly different to 'anglelerp': it takes a step to rotate in degrees instead of an interpolation factor, and clamps the result to the end angle if it is less than the step away.


The XML plugin's help link now opens its new manual entry.


Delete confirmation prompt for animations


Keyboard shortcut: F4 (run whole project from first layout)


Windows 8 Metro apps: now support suspending when in background


System action: 'Restart layout'. Also resets all groups to their initial activation state.


Browser object: triggers 'On page hidden/visible' renamed 'On suspended/resumed' and are now also triggered in PhoneGap/appMobi when the app goes in to the background/comes back to focus. Also 'Page is visible' now also tests if the mobile app is in foreground; previously would return true even if in background (although since events would not be running, you would only have the opportunity to check this in certain triggers).


WebGL renderer: now disabled in Chrome for Windows when the extensions match those of SwiftShader. SwiftShader is a WebGL software renderer and usually results in unplayable performance on low-end machines, so it is essential to fall back to canvas 2D instead of using it. There is no good way to accurately detect it though, so currently it just matches supported OpenGL extensions. This may accidentally cause some hardware-accelerated systems to stop supporting WebGL. Please watch out for the console message "Chrome WebGL support: WebGL extensions look like SwiftShader's. Falling back to Canvas 2D to try to get hardware acceleration." in preview and let me know if you think this is incorrect. It's not too big a deal though, since Chrome's 2D canvas is still pretty fast when hardware-accelerated, and it's important to stop other users getting unusable performance. I'm pushing for a better way to detect it but it will mean adding a new feature to Chrome which at best is 2-3 months away from stable release. To help raise awareness please star Chrome bug 126345.


WebGL renderer: now handles context lost/restored events. These should only happen very rarely (e.g. switching graphics adapter in control panel, or installing a driver update while leaving the page open), but in this case it will just reload the page so you don't keep seeing a blank or crashed page.


Removed 'WebKit mode' for rendering, which was a little faster but caused the code to be complicated, was non-standard (Chrome and Safari only), and broke some minor features like setting cursors.


Export to appMobi: Touch object now adjusts accelerometer values to take in to account device rotation

Bug Fix

False positive check failure using a family in an 'Is overlapping' condition

Bug Fix

Touch: accelerometer values (alpha, beta, gamma) were broken on PhoneGap and appMobi if exporting with minifier

Bug Fix

Array: could not set a zero size (empty) array


ludodesign 30.9k rep

Uhuuu Let's have fun!

Tuesday, May 8, 2012 at 5:14:09 PM
gaboduarte 13.8k rep

omg exporting to mobile may actually happen sooner than I expected! Good job Ashley!

Tuesday, May 8, 2012 at 5:17:03 PM
cyril 4,822 rep

very interesting the CocoonJS export !

Tuesday, May 8, 2012 at 5:17:21 PM
PNTR 6,109 rep

Cool! It's soon time to get an Android phone.

Tuesday, May 8, 2012 at 5:19:41 PM
farsmile90 10.9k rep

wow, what a great :))

Tuesday, May 8, 2012 at 5:20:03 PM
Ize 7,926 rep

Sweet, thanks for the update! :D

Tuesday, May 8, 2012 at 5:28:26 PM
RayKst 13.5k rep

CocoonJS support came sooner than expected :D I'm excited to test it. Oh wait, i need an Android phone :O

Tuesday, May 8, 2012 at 5:29:18 PM
farsmile90 10.9k rep

i'm testing it with my game ! see what Cocoon can do...

Tuesday, May 8, 2012 at 5:37:37 PM
sheepy 6,903 rep

Awesome, this is the update I was waiting to buy the Standard Edition. Can someone please export an .apk with and without using the cocoonJS exporter for performance tests? I´m curious to see it in action. ;]

Tuesday, May 8, 2012 at 5:38:52 PM
Basseman 3,494 rep

Love it, now just give me the direct canvas support and i can die happy =)

Cheers !!

Tuesday, May 8, 2012 at 5:43:59 PM
ethan0004 12.9k rep

i loved it!! nice work guys!

Tuesday, May 8, 2012 at 5:48:36 PM
Xavier 16.7k rep

Very excited that CocoonJS is finally here, as mobile gaming is or it's gonna be one of the main gaming platforms.

Tuesday, May 8, 2012 at 6:01:41 PM
Haematite 8,005 rep

Ah, brilliant, looking forward to testing the new mobile support! =D

Tuesday, May 8, 2012 at 6:44:58 PM
rockgger 3,405 rep

is great....

Tuesday, May 8, 2012 at 6:48:10 PM
Animate 12.6k rep

Bleeding Edge Ashley, I have been following the Ludei team since launch and i had a chance to meet them at the DEVCON 5 Conference and they are doing great things to support the HTML5 platform. This is great, time to start testing...

Tuesday, May 8, 2012 at 6:51:02 PM

Leave a comment

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