Don't Miss Out

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

Construct 2 Release r104

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

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

Friday, September 21, 2012

New this build: some extra features to make global and local variables more powerful, vertical align for the text object, some missing Gamepad button triggers, and some extra convenience conditions for the Touch object. As usual, there's a batch of bug fixes as well.

Please note the breaking change relating to object counts in this build. We do apologise to those that have had projects occasionally break due to changes, but we really believe that it is important to deal with these issues now rather than have to deal with issues constantly in the long term. Hopefully we won't need to make as many breaking changes in future.

We're also experimentally enabling WebGL on mobile in this release. That means you can use WebGL features like shader effects on mobile browsers. Currently the only mobile browsers with WebGL support are the Blackberry Playbook browser and Firefox for Android. Have an experiment with it and let us know your results if you give it a try!



Global and local variables have two new options: 'constant' - will not appear in 'set', 'add' or 'subtract' actions, but can be retrieved and compared (also, according to programming convention, constants are shown in uppercase); 'static' - applies to local variables only, and means the value persists and is not reset every tick. In other words, a static local variable is a global variable with a limited scope.


Text object: new property to set vertical align (top, center or bottom)


Gamepad object: added missing 'On button pressed' and 'On button released' triggers


Touch object: new conditions 'compare orientation' and 'compare acceleration' for convenience when making motion based games, and new 'On Nth touch start', 'On Nth touch end' and 'Has Nth touch' to help with multitouch games.


Audio object: the 'play' and 'play by name' actions now take a volume parameter. Setting a volume here can help avoid the sound momentarily playing at full volume until a following 'set volume' action takes effect.


Breaking change: Object's 'Count' expressions are now immediately updated inside loops and subevents when new instances are spawned or created, contrary to the fact these instances do not really exist until the next top-level event. This may help fix projects broken by the last breaking change which depend on object counts in subevents, but unfortunately may again break projects which already adapted to the new behavior. Sorry - in the long run it's for the best that we make these changes.


We are experimentally enabling WebGL support on mobile devices. WebGL currently only works in Firefox for Android and the Blackberry Playbook browser. However, performance can be better than canvas 2D, and it allows for effects on mobile as well.


WebGL renderer: now properly handles, and recovers from, 'lost context' events. These typically happen rarely on desktops, but can happen on mobile devices if they power down while a game is showing. This should fix issues where powering up showed a game as a blank screen or reloaded the page.


Touch object: now defaults 'Use mouse input' to 'Yes' when adding to a layout


Touch object: deprecated 'Device orientation supported' and 'Device motion supported' conditions (they will no longer appear in the event dialog, but existing projects can keep using them). These did not actually usefully indicate whether these features were truly supported.


Touch object: 'On touch start' and 'On touch end' renamed to 'On any touch start' and 'On any touch end' to clarify their purpose compared to the new 'On Nth touch start' and 'On Nth touch end' conditions


Touch object: now supports accelerometer and orientation input in directCanvas


Reduced the compression used on the Awesomium DLLs. This should help improve startup times for Awesomium exported apps.

Bug Fix

Possible javascript error destroying objects in behavior triggers like 'On fade ended'

Bug Fix

Possible javascript error spawning or creating objects after a 'Wait' action

Bug Fix

Triggers in subevents did not properly pick instances from conditions in parent events

Bug Fix

Sprite: 'Set scale' would undo mirroring or flipping

Bug Fix

Event sheet: crash cancelling a new comment then pressing 'down'

Bug Fix

Physics behavior: 'set velocity' could conflict with 'set position' and be overridden; should now work better

Bug Fix

Anchor behavior: should now work more reliably in crop mode and with different origin positions

Bug Fix

Platform behavior: should now be more reliable with landing on vertically moving jump-thru platforms.

Bug Fix

Possible crash dragging items between projects in the Project Bar (this is still not yet supported and will simply do nothing, but is on the todo list to add)

Bug Fix

Crash cloning an object type which had inherited behaviors from a family. This also resolves some issues copying and pasting objects between projects.

Bug Fix

Issue with Windows 8 store complaining about the UTF-8 encoding of jQuery-1.7.1.min.js. The file now includes the BOM as required.

Bug Fix

Picture editor: could not type negative numbers in to origin/image point X and Y fields.


Some minor garbage collection optimisations


To support the new lost context handling in the WebGL renderer, third party plugins that use textures need to modify their code. Please send me an email for more information on how to handle this.


urbano 5,099 rep

YEs... test...test....

Friday, September 21, 2012 at 6:25:55 PM
CoolGuy5000 3,246 rep

Thanks for the update!

Friday, September 21, 2012 at 6:26:15 PM
NotionGames 14.4k rep

YAY! keep up the good work guys

Friday, September 21, 2012 at 6:28:13 PM
Bigheti 17.5k rep

caracas...incredible and fast release. Tks!

Friday, September 21, 2012 at 6:28:17 PM
ludodesign 30.9k rep

Good news \o/

Friday, September 21, 2012 at 6:29:55 PM
Przemek32767 25.4k rep

Another Construct 2 release - the perfect way to make my day. :D
Also, I was wondering when you would add text vertical align. I'm glad to see it's finally added.

Friday, September 21, 2012 at 6:33:01 PM
inkBot 9,896 rep

Sweet! Going to test out the new Gamepad triggers asap!

Friday, September 21, 2012 at 6:39:06 PM
7Soul 15.4k rep

"Audio object: the 'play' and 'play by name' actions now take a volume parameter." I've been waiting for this ^^

Friday, September 21, 2012 at 6:41:53 PM
oravalag 4,770 rep

Another happy friday!

Friday, September 21, 2012 at 6:50:41 PM
Crazyhowie 3,034 rep

Interested in testing WebGL performance in Firefox. I found it's performance lacking compared to Chrome on Android 4.0 and Dolphin Browser Beta.

Friday, September 21, 2012 at 6:57:50 PM
Rory 11.3k rep

Awesome, love the speed of the new releases!

Friday, September 21, 2012 at 6:58:49 PM
HotGod 7,667 rep

Volume for Play sound. Yes!

Friday, September 21, 2012 at 6:59:15 PM
DalekAddison 2,391 rep

I'm having problems with this one. It says some locations and files don't have permission to be installed. It seems to be connected to Awesomium and then again with some sound files or sound file managers. Something to do with OGG anyway.

Is it just me? Can it be fixed?

Friday, September 21, 2012 at 7:01:48 PM
Merlino 6,748 rep

Super, Update! The speed is fantastic...

Friday, September 21, 2012 at 7:03:31 PM
Savvy001 14.0k rep

Thanx for the quick response to the audio issue Ashly!!

Friday, September 21, 2012 at 7:04:35 PM

Leave a comment

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