Don't Miss Out

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


Lightning Draw

Aritz

25.116 seconds

Kyatric

35.146 seconds

pedro.thiers

35.46 seconds

For the first 3 people to download this release!

Quick Draw

inkBot

36.083 seconds

Guest

3m 41s

septeven

4m 32s

Guest

4m 48s

septeven

4m 13s

zoorocket

4m 19s

newt

5m 27s

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

Construct 2 Release r91

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

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

Friday, May 18, 2012

New this build: the much anticipated family behaviors and letterbox fullscreen modes, a new Dictionary plugin for associative data storage, and some other more minor additions, plus some changes and bug fixes.

Since this is the first beta release after a stable update, it's the best time for us to add new features. The new code will be tested and refined over the next few beta releases until it works smoothly, then it's ready for a new stable release. As usual new code means possible new bugs, so please watch out for new issues and post any you find to the Bugs forum!

Some people have been confused by the manual being updated with new features only in beta releases. For this reason, we will wait until the next stable release before updating the manual with the newly added features.

Happy testing!

Changelog

Feature

Family behaviors. As with family instance variables, these are behaviors you can add to the family itself, then all objects in the family inherit that behavior.

Feature

New fullscreen modes: "Letterbox scale" and "Letterbox integer scale". Letterbox scale is like scale but preserves the aspect ratio and shows black bars at the edges if necessary. Letterbox integer scale is like the former but the scale will only be an integer, e.g. 2x, 3x, 4x... This is intended to make it easy for retro-style games to upscale evenly. Both options should also make it easier to design games for a specific aspect ratio. Also supported by the Browser object's 'request fullscreen' action, so in-page games can for example switch in to fullscreen integer scale letterbox mode. It is difficult to test this since there are so many combinations of browser and export option, so watch out for issues.

Feature

New official 'Dictionary' plugin. Store values under keys, e.g. set "key" to "value". (Basically Hashtable from Classic, but renamed.) Also has JSON support like Array.

Add

System expression 'zeropad' (based on Classic's) - pad number with zeroes and return as string, e.g. zeropad(45, 5) returns "00045"

Add

appMobi object: help link now opens its new manual entry

Add

WebStorage: new 'On Quota Exceeded' trigger. Fired when exceeded the browser's limitations on how much data can be stored in Web Storage (often around 5mb).

Add

Facebook object: 'HiscoreUserID' expression, to get the user ID (rather than the name) of the user who got the hi-score.

Add

Fade behavior: 'active at start' property, and 'start fade' action. Allows starting the fade whenever you want rather than immediately.

Change

Export to appMobi: help link now opens the new tutorial

Change

Destroyed instances are now fully removed between top-level events (like Construct Classic). This means 'for each' loops and the object counts are updated for destroyed instances after the top-level event or group finishes.

Bug Fix

Breaking change: the parallax origin for parallax layers would change if the window size changed. This could cause parallax to become misaligned when using a fullscreen mode. On the other hand the change could cause existing projects that were working to become misaligned. I think it is much more logical for it to work the new way, so hopefully everyone can work with the new way.

Bug Fix

Ampersands (&) would not appear in parameter descriptions

Bug Fix

CocoonJS: sometimes audio in the 'music' folder did not play

Bug Fix

'Is on screen' was always false for the first tick of a layout, even if the objects were initially on screen.

Bug Fix

OR blocks did not always work correctly as a sub-event to a 'for each' loop.

Bug Fix

'Else' following an event with subevents did not always work correctly.

Bug Fix

PhoneGap Build: workaround for crash on Android with the PhoneGap 1.7 update. To solve the issue all apps now require the "access network state" permission, since this appears to be a new requirement for PhoneGap itself to work.

SDK

Plugins and behaviors can now specify multiple dependency files by semicolon separating them, e.g. "dependency": "file1.js;file2.js;file3.js"


Comments

13
inkBot 9,896 rep

Fullscreen letterbox?

Fullscreen letterbox!

Friday, May 18, 2012 at 4:07:00 PM
8
Black2key 4,257 rep

Finally, waited to long! Thank ya very much Scirra for these fast releases.

Friday, May 18, 2012 at 4:08:53 PM
-20
EnglishAcorn 16.5k rep

Not first to comment :(

Friday, May 18, 2012 at 4:08:57 PM
8
Kyatric 75.8k rep

This release is even better than teased on twitter.
Good job Ashley, keep it up.

I'm looking forward having some fun with the "Dictionary" and see what nice can come out of it.

Update on fullscreen, and the arrival of Families behavior is also so cool.
Great work, as usual !

Friday, May 18, 2012 at 4:10:44 PM
5
septeven 11.0k rep

Multiple dependencies, great !!!!!

Friday, May 18, 2012 at 4:12:06 PM
4
Mark4Media 2,712 rep

Yes, lot's of adds! more things t

Friday, May 18, 2012 at 4:17:19 PM
6
Przemek32767 23.4k rep

"Zeropad" expression from Construct Classic, reintroduction of the Hashtable plugin from Construct Classic (with JSON support as a bonus), letterbox fullscreen, and FAMILY BEHAVIORS! This looks VERY interesting.

Friday, May 18, 2012 at 4:18:26 PM
7
Haematite 8,005 rep

Ah thank you! I've wanted fullscreen letterbox for a while now =)

Friday, May 18, 2012 at 4:18:47 PM
5
mammoth 8,416 rep

Great job guys. Keep it up. At this rate Im sure in r100 there will be a conquer the world feature. Im looking forward to that ;)

Friday, May 18, 2012 at 4:41:13 PM
5
PNTR 6,059 rep

Letterbox and JSON support is a big plus! :) Got some bug at startup though :(

Friday, May 18, 2012 at 4:48:48 PM
6
ludodesign 30.1k rep

Family behaviors \o/ uhuuuu

Friday, May 18, 2012 at 4:56:43 PM
6
EnglishAcorn 16.5k rep

But thank you for the new update. :)

Family behaviours will be most helpful.

Friday, May 18, 2012 at 5:03:35 PM
6
Animate 11.5k rep

Thank you, the change for the Fade behavior was something i needed in my current game. Fullscreen Letterbox is very welcomed. Scirra is the hardest working HTML5 team out there.

Friday, May 18, 2012 at 5:09:12 PM
6
Mulkaccino 7,311 rep

zeropad just saved me hours. Praises! Can't wait to try out Letterbox scale as well :)

Friday, May 18, 2012 at 5:09:54 PM
5
PNTR 6,059 rep

Fixed my problem, seems like this release works fine ;-)

Friday, May 18, 2012 at 5:14:18 PM

Leave a comment

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