Don't Miss Out

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


Lightning Draw

septeven

2m 36s

Jakub

2m 44s

For the first 3 people to download this release!

Quick Draw

ElCapitan

3m 52s

cyril

3m 21s

Kastas

3m 22s

Guest

3m 22s

Nebelwade

4m 43s

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

Construct 2 Release r89

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

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

Tuesday, May 08, 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.

Changelog

Feature

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).

Add

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.

Add

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

Add

Delete confirmation prompt for animations

Add

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

Add

Windows 8 Metro apps: now support suspending when in background

Add

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

Change

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).

Change

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.

Change

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.

Change

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.

Change

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


Comments

2
ludodesign 30.6k rep

Uhuuu Let's have fun!

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

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

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

very interesting the CocoonJS export !

Tuesday, May 08, 2012 at 5:17:21 PM
3
PNTR 6,084 rep

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

Tuesday, May 08, 2012 at 5:19:41 PM
2
farsmile90 10.4k rep

wow, what a great :))

Tuesday, May 08, 2012 at 5:20:03 PM
2
Ize 7,426 rep

Sweet, thanks for the update! :D

Tuesday, May 08, 2012 at 5:28:26 PM
7
Kiyoshi 13.3k rep

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

Tuesday, May 08, 2012 at 5:29:18 PM
2
farsmile90 10.4k rep

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

Tuesday, May 08, 2012 at 5:37:37 PM
2
sheepy 6,878 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 08, 2012 at 5:38:52 PM
3
Basseman 3,494 rep

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

Cheers !!

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

i loved it!! nice work guys!

Tuesday, May 08, 2012 at 5:48:36 PM
4
Xavier 15.2k 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 08, 2012 at 6:01:41 PM
2
Haematite 8,005 rep

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

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

is great....

Tuesday, May 08, 2012 at 6:48:10 PM
3
Animate 11.7k 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 08, 2012 at 6:51:02 PM

Leave a comment

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