Don't Miss Out

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

Construct 2 Release r151

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

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

Wednesday, November 20, 2013

New this build: per-tile collision polygons and rotated and flipped tiles for tilemaps! There's also some tweaks to improve the tilemap editing experience, and a new feature to save and load state for individual instances, allowing you to use the savegame system on a smaller scale.

Rotating and flipping tiles

To rotate or flip tiles, use the Z (rotate), X (flip horizontal) or Y (flip vertical) keyboard shortcuts, or the new buttons on the tilemap bar's toolbar. These are the same shortcuts as Tiled uses, and the TMX import/export now also supports rotation and flipping compatible with Tiled. On top of that there are new actions to be able to rotate and flip tiles at runtime as well.

Tile collision polygons

The collision polygons for tiles are pretty simple to set up: double click a tile in the tilemap bar, or select a tile and click the new collision polygon button on the toolbar. A stripped-down version of the image editor opens up allowing you to set a collision polygon for just that tile. Once a collision polygon has been set, hovering the mouse over the tile in the tilemap bar outlines the collision polygon in red as a quick preview of what you've set.

While simple to set up, tile collision polygons involved updating lots of the collision checking code. We're also due a stable update, and if all goes well with r151 then we can make r152 a new stable release. (We've not necessarily finished adding tile features - we may continue to improve it in future as well, but we still want to update the stable releases with the latest fixes and new features.) So please be wary of any issues and report them to the Bugs forum following all the guidelines if you find anything!



Tilemap: support for per-tile collision polygons


Tilemap: support for rotated and flipped tiles


Z order bar: now clicking tilemap instances sets the tilemap bar to edit that instance, and tilemaps can be edited even when they overlap other tilemaps without accidentally selecting the other instance. This should provide a more convenient way to edit multi-layered tilemaps.


New examples: Microphone input, Vibrate


A new 'Office 2010 Silver' color theme now ships with Construct 2, available in the Colors tab of Preferences


New common expression 'AsJSON' and common action 'Set from JSON'. These allow you to take advantage of the savegame system to save and load individual instance states without having to save or load the entire game, as well as other useful things like setting one object's state to another's.


Keyboard shortcuts: press 1-4 to switch tilemap editing tool


Browser object: 'Invoke download of string' action. Basically the same as 'Invoke download' but automatically creates the data URI to download with the string data. Useful for making it simpler to download JSON strings as files.


Exported HTML files no longer specify 'target-densitydpi=device-dpi' in the meta viewport tag, since it is deprecated. Instead the 'width=device-width' directive is used.


After further experimentation with the half framerate mode, it does not seem feasible to implement in a useful way in the context of a browser (it just makes choppy framerates worse, not better). We know there was demand for the feature but it does not seem possible to implement well in a browser-based environment, so the feature has been removed.


Pathfinding behavior: default cell border is now -1 so it works like you would expect it to in grid/tile-based games

Bug Fix

Worked around broken music playback in the latest version of Firefox (due to a Web Audio API bug). Note this means audio effects cannot be applied to music in Firefox for the time being, but hopefully we'll be able to remove the workaround soon when Mozilla fix the bug.

Bug Fix

Tilemap bar: can now still edit tilemaps when the bar is in auto-hide mode

Bug Fix

Tilemap: hang using negative spacing values

Bug Fix

False positive check failure using certain combinations of shaders

Bug Fix

IE11 could still register clicks as touches even when 'Use mouse input' was disabled

Bug Fix

Pathfinding behavior: 'set diagonals enabled' on start of layout could cause Javascript error


NaSTy 9,597 rep

yeahhhhh!! Thanks!!

Wednesday, November 20, 2013 at 6:39:53 PM
PeterMr 5,017 rep

Great works!! Thanks !!! :D

Wednesday, November 20, 2013 at 6:40:29 PM
st1ckman67 3,486 rep

Fantastic guys :)

Wednesday, November 20, 2013 at 6:43:44 PM
russpuppy 9,496 rep

Yet another great update. Thanks for tilemaps!

Wednesday, November 20, 2013 at 6:47:36 PM
TGeorgeMihai 7,709 rep

Great work !!!
Thanks :D

Wednesday, November 20, 2013 at 6:50:54 PM
Nipponshin 5,358 rep

Wohoo for "per-tile collision polygons"!

Wednesday, November 20, 2013 at 6:52:02 PM
ludodesign 30.9k rep

I don't know what to do with it now... but I will think in something :) Thanks o/

Wednesday, November 20, 2013 at 6:54:37 PM
Squid 5,575 rep

All right then. Time to play with tiles.

Wednesday, November 20, 2013 at 7:01:08 PM
iceangel 33.9k rep

More option for tilemaps

brillant, thanks

Wednesday, November 20, 2013 at 7:07:28 PM
ferrod 18.7k rep

Cool update, allways improving.
Thanks team.

Wednesday, November 20, 2013 at 7:12:44 PM
Pixel perfick 12.8k rep

Great update as usual..Thanks and keep up the good work...

Wednesday, November 20, 2013 at 7:13:32 PM
Goury 3,873 rep

Are you are holy hellish kidding?
Per-tile collision!
Я ждве недели ждал этой фичи!

Okay, now C2 should become really awesome rad tool

Wednesday, November 20, 2013 at 7:14:27 PM
ByteMaker 2,397 rep

Sehr gute Arbeit, danke...!

Wednesday, November 20, 2013 at 7:16:54 PM
newt 129.0k rep

1 on the -1 in pathfinding.
Thank you.

Wednesday, November 20, 2013 at 7:35:59 PM
gillenew 25.5k rep

thx scirra rocket team!

Wednesday, November 20, 2013 at 7:36:42 PM

Leave a comment

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