Don't Miss Out

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


Lightning Draw

UberLou

17.114 seconds

McKack

23.51 seconds

Przemek32767

27.877 seconds

For the first 3 people to download this release!

Quick Draw

Guest

50.794 seconds

newt

52.464 seconds

Guest

1m 2s

Arima

1m 27s

tecbug

2m 34s

Guest

2m 34s

valdarko

2m 39s

theubie

2m 41s

Abdizriel

2m 43s

Guest

2m 50s

Guest

2m 10s

Guest

2m 18s

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

Construct 2 Release r149

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

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

Monday, November 04, 2013

New this build: a new Tilemap plugin and a built-in tilemap editor complete with tilemap editing tools from within the layout view; and a long-overdue autosave option!

Tilemap support

Construct 2's new Tilemap support is based around two parts: firstly, the Tilemap plugin; secondly, the new Tilemap bar in the editor displays the current tilemap image, and allows you to draw directly in to a Tilemap object.

Tilemap editor in Construct 2

There are a couple of tools such as pencil/stamp mode, eraser, and rectangle. Note the rectangle tool can automatically nine-patch your tiles if you have a 3x3 selection, making it quick to draw certain kinds of boxes in the tilemap.

The Tilemap bar also allows you to import .TMX files from the third-party tilemap editor Tiled. Only a subset of features are supported (e.g. isometric or hex maps are not currently supported - just squares), but this provides a nice alternative way to use tilemaps in Construct 2. Tiled has some nifty features like automatically merging the edges of different terrain types as you draw, and we probably won't reinvent the wheel supporting things like that in C2, so take advantage of the importer if you need it.

For handling collisions, any tile with register a collision, and only empty spaces with no tile will not register a collision. To design levels where only a few tiles collide, use tilemap objects on different layers. You could have for example a background decorative tilemap, and then a tilemap on top of that with just the tiles the player collides with, such as walls or platforms.

Autosave

Software is never perfect, and sometimes it crashes. This much-requested feature should help protect against that. It will automatically save a separate .autosave.capx file in the same folder as your .capx/project on a regular basis. When it autosaves it will not make another autobackup (there's not much point - they are all written to the same directory, so there's not much extra backup security), but it will also save to your three backup folders as well when autosaving. Then if Construct 2 or your system crashes and you forgot to press 'Save' for hours, the autosave file should have a reasonably recent version of your work.

We hope to enable autosave by default by the next stable build, but for now it is off by default. This is because it's a surprisingly complicated feature to implement (unlike an ordinary save it must not modify any of the existing project files or change the saved state of the project). If there are bugs, it could result in lost work - possibly in subtle ways, such as writing a corrupt autosave file, which then is not hlepful in the event of a crash. It is helpful for it to be tested though, so we recommend making manual backups of any important projects then turning it on. Every now and then check if your .autosave.capx file opens correctly, and let us know if there are any problems.

Changelog

Feature

New Tilemap plugin with integrated tilemap editor and support for importing TMX maps

Feature

Autosave (currently off by default, enable in preferences)

Add

Ribbon 'View' tab: new 'Translucent inactive layers' option. Makes all layers apart from the active one at 33% opacity, so the active layer is more clearly visible.

Add

SpriteFont: set horizontal/vertical alignment actions

Add

Scroll To behavior: can now be enabled/disabled

Add

Project 'Orientations' property is now used to set orientations for Windows 8/8.1 apps

Change

Attempted workaround for crash on exit issue - let us know if this is fixed or still a problem

Change

Windows 8.1 export now generates a solution file (.sln) that opens with VS2013. Previously the .sln file would have still opened with VS2012 if it was installed, which does not support Windows 8.1 apps.

Change

Adjusted dimmer window (that darkens editor while dialogs are up) to take up more of the application title bar, avoiding cutting off the ribbon gradient half way with the Office 2010 themes

Change

Phonegap export: now no longer exports gap:platform tags in config.xml. This should enable the default of building for every platform Phonegap Build supports, which is more future-proof (and now includes Windows Phone 8).

Change

Browser object: 'On back button' should now fire with PhoneGap on Android and Windows Phone 8

Change

Windows 8 object: deprecated support for 'On view state changed', 'Compare view state' and 'Try unsnap', because support for them has been removed in Windows 8.1. Existing projects can continue to use these (despite the fact they don't work on Windows 8.1), but they cannot be used in new projects. We recommend using the Browser object's 'On resized' event and window size detection to re-implement any snapped behavior that you want (note that Windows 8.1 allows variable sized snapping).

Change

Audio: changed the workaround for playing music on iOS Safari and Chrome for Android. Previously these would play music with the Web Audio API, but for long music tracks that could result in 20sec+ delay while it decoded the entire music track in one go. Now it uses HTML5 audio again and can start playing quickly since it streams, but it has to queue up music playback to begin in the next touch event, since the browsers only support starting HTML5 audio playback on input events (despite the fact the Web Audio API can play back at any time!). This also enables playback of music only (but not sound effects) in the Android stock browser after a touch event. Also removed unintentional use of the workaround on Firefox for Android and Tizen, which don't have the limitation.

Bug Fix

Collisions between objects on different layers may have been mis-aligned in some cases

Bug Fix

Worked around possible case of some objects going blank in WebGL mode in IE11 or Windows 8.1 apps due to an apparent bug in IE's WebGL implementation.

Bug Fix

Possible crash exporting with PNG recompression disabled

Bug Fix

Touch object: 'Is touching object' did not always work correctly with containers

Bug Fix

Node-webkit: maximize/unmaximize actions did not always work

Bug Fix

Event sheet view: holding shift to select a range of events did not always select sub-events of the last event

Bug Fix

Windows 8.1 'About', 'Support' and 'Privacy policy' settings charms did not work

Bug Fix

Audio: could still play if set silent mode while sounds still loading


Comments

20
RadethDart 1,738 rep

Thank you so much for the chance to use Tilemaps! This is a nice change in the software. Looking forward to using this more!

Monday, November 04, 2013 at 8:58:07 PM
10
tecbug 7,677 rep

Tilemap and autosave - very interesting and needed. Good work as always.

Monday, November 04, 2013 at 8:59:41 PM
10
Thijsku 2,924 rep

Whooo, awesome! Keep up the good work, Scirra! :)

Monday, November 04, 2013 at 9:00:11 PM
11
episuarez 2,879 rep

Awesome! The tilemaps come in very handy.

Monday, November 04, 2013 at 9:01:17 PM
11
WhytWulf 3,520 rep

This is awesome, my workflow can change and hopefully I can dump my cludgy method of layout design.

Free beers to Scirra team :)

Monday, November 04, 2013 at 9:06:08 PM
7
jardelbr 4,857 rep

Fantastic!!! really its awesome!!! Scirra GO! >>>

Monday, November 04, 2013 at 9:07:50 PM
7
SketchDeluxe 7,538 rep

Oh great, I was waiting for a tileset/tilemap system ^^

Monday, November 04, 2013 at 9:11:28 PM
6
Tokinsom 18.5k rep

It's....it's beautiful QvQ

Monday, November 04, 2013 at 9:12:05 PM
7
jogosgratispro 21.9k rep

You guys are great!

Monday, November 04, 2013 at 9:12:41 PM
7
ThunderZ 7,237 rep

Tile Map support YAHOU !!!!!!!

Monday, November 04, 2013 at 9:13:02 PM
6
bon4ire 6,003 rep

Thank you!

Monday, November 04, 2013 at 9:13:25 PM
7
aerirprown 3,645 rep

I look forward to trying the tilemaps.

Monday, November 04, 2013 at 9:13:53 PM
7
siks 8,755 rep

Finally, I've been waiting for these updates for a long time!! Thanks!

Monday, November 04, 2013 at 9:17:35 PM
6
inkBot 9,896 rep

Eeeeeeeeeeeeeh!

Monday, November 04, 2013 at 9:18:06 PM
8
Paradox 39.2k rep

Autosave! WooHoo! Thumbs up for everyone!

(Its not that we forget to save as much as we try something that might break everything, and we may rather revert to the last save, so we avoid it for a time.)

Monday, November 04, 2013 at 9:20:19 PM

Leave a comment

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