Don't Miss Out

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

Construct 2 Release r122

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

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

Wednesday, March 13, 2013

New this build: positioned sounds in the Audio object, a new Scirra Arcade hi-scores plugin, a new layout editor feature called selection wrapping, and layout view alignment tools!

Positioned sounds

This is another advanced audio feature based on the Web Audio API (currently requiring Chrome, node-webkit or iOS 6+). Unlike previous incarnations of Construct, this is based on a true 3D audio engine instead of just panning and volume. This means it's possible to have very subtle changes in the sound in an attempt to mimic sounds coming from above or below the listener. It also means it's set up a little differently: you set the listener at a Z position above the layout, simulating the player's head in front of the screen, and panning and volume are calculated according to the position of the sound relative to the listener in 3D space.

You can also play a sound at an object. This means during the playback of the sound, the playback position follows the position of the object. It even tracks the velocity of the object, and can produce doppler effects (like the descending pitch of an airplane flying overhead). Finally you can also play directional sounds by specifying a cone: an inner angle and outer angle that specify the level depending on whether the source is pointing towards the listener or not.

Positioned sounds are an easy way to make the audio in your game more immersive: just play back sounds at objects or positions, and everything is calculated automatically. If the Web Audio API is not supported, the user just hears unprocessed audio (at full volume and central pan).

Scirra Arcade plugin

This is an experimental plugin to make hi-score submissions to the Scirra Arcade. It also optionally allows you to list the scores in-game, although they should be displayed on the Arcade page itself as well. We don't claim this to be hack-proof - it's just for a bit of fun, but we'll see how it goes.

Selection wrapping

This is a new layout view convenience feature. Normally stretching and rotating objects with multiple objects selected makes each object change independently. This is sometimes useful, but is not always convenient if you want to do something like grab a bunch of objects and rotate them all around the mid point. Now you can simply hit Enter to "wrap" the selection with another big selection box. Now you can stretch and rotate the selection as a whole! The image below demonstrates an ordinary selection on the left, and the wrapped selection on the right:

Notice how the resize handles are around the entire selection now. By grabbing a corner and holding Shift to proportionally resize, we can easily make the whole arrangement bigger while maintaining relative object positions:

Without selection wrap, each object just gets bigger and they start overlapping each other. You can also use the angle handle to spin the whole selection around the mid-point. You can also click a selected instance to move the handle there, and rotate the selection about another selected object. This should be useful for advanced level design.

As an extra bonus, the new layout view alignment tools allow you to quickly position, align and space the selection. The feature is in the context menu when you right-click a selected object, under the new "Align" submenu. For example, you can align all the bottom edges and then space horizontally, to quickly get a tidy row of sprites or buttons. Note the alignment is based on the specific instance you right-click, e.g. aligning bottom edges will align all with the bottom edge of the particular object you right-clicked.

Happy testing! Please be sure to report any issues to the Bugs forum. There have been a lot of new features over the past few releases so please stay vigilant for issues in the new code.



Audio: positioned sounds


Scirra Arcade plugin


Layout view: selection wrapping (scale and rotate groups of objects conveniently)


Layout view alignment tools


Status bar: now displays estimated memory use. This is based on the layout with the largest texture memory usage. Lots of users create projects which are extremely wasteful with memory and then ask us why they crash mobile devices - hopefully this will help users see what they're doing wrong by themselves.


New 'Positioned audio' example in Start Dialog


Keyboard: StringFromKeyCode expression


Rearranged some event sheet context menus to have more commonly used items at the top

Bug Fix

Turret behavior: rate of fire now takes in to account the time scale

Bug Fix

Data storage plugins like Array could be destroyed at the end of the layout if they were in a family

Bug Fix

List: did not always reappear when its layer was made visible

Bug Fix

Sprite: possible for 'Is animation playing' to be incorrect for a single tick after 'On animation finished'

Bug Fix

Image editor: color picker dialog sometimes did not remember last color when switching tool

Bug Fix

Text: sometimes handled fonts with spaces in the name incorrectly


ilyko96 4,883 rep

Excellent job! Thanks a lot for your frequent and very useful releases!!!

Wednesday, March 13, 2013 at 6:31:38 PM
Wink 11.3k rep

Thanks again for another awesome update! :D

Wednesday, March 13, 2013 at 6:32:47 PM
CrudeMik 7,917 rep

FUCK YES - excuse my language, positional sound & filters & reverb. Best update this year.

Wednesday, March 13, 2013 at 6:32:58 PM
thehen 12.0k rep

Knee deep in level building and selection wrapping is a very welcome addition. Great stuff!

Wednesday, March 13, 2013 at 6:36:03 PM
stemkoski 20.8k rep

I love selection wrapping... that's a great idea! Another great update!

Wednesday, March 13, 2013 at 6:36:56 PM
facecjf 8,004 rep

Feels like every other week there's an update! This is just awesome. I heart Scirra & Construct2!

Wednesday, March 13, 2013 at 6:37:18 PM
cademonteiro 5,008 rep

Fantastic updates !

Wednesday, March 13, 2013 at 6:38:17 PM
Temoana 5,165 rep

Awesome, as always.

Wednesday, March 13, 2013 at 6:40:16 PM
dodo021 5,814 rep

Nice update ! =)

Wednesday, March 13, 2013 at 6:43:12 PM
labithiotis 5,039 rep

"Layout view alignment tools" you must have read my mind, I was going to ask for this! :)

Wednesday, March 13, 2013 at 6:44:31 PM
HenMex 3,251 rep

Selection wrapping, i need this. Thanks!!

Wednesday, March 13, 2013 at 6:47:13 PM
Velojet 21.3k rep

Yay! Great to see the Beta releases exceeding expectations of new features. My pick: status bar now displaying estimated memory use - highly helpful!

Wednesday, March 13, 2013 at 6:48:09 PM
ricscar 2,940 rep

Wonderful additions!! Good job :-)

Wednesday, March 13, 2013 at 6:48:45 PM
jwjb 5,034 rep

Great update with C2.r122, thanks.

Wednesday, March 13, 2013 at 6:48:58 PM
kanishkkunal 3,315 rep

Wow! Just now I was wondering how to align objects in layout and got this update.

Wednesday, March 13, 2013 at 6:54:03 PM

Leave a comment

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