Don't Miss Out

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


Lightning Draw

aruche

14.29 seconds

UberLou

21.7 seconds

McKack

41.76 seconds

For the first 3 people to download this release!

Quick Draw

Joskin

42.26 seconds

Lightfox

1m 17s

PeterMr

1m 17s

Shrapnel

1m 22s

gbeaver

2m 3s

wolfanima

2m 10s

NaSTy

3m 32s

Guest

3m 44s

Guest

4m 42s

Guest

4m 45s

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

Construct 2 Release r151

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

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!

Changelog

Add

Tilemap: support for per-tile collision polygons

Add

Tilemap: support for rotated and flipped tiles

Add

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.

Add

New examples: Microphone input, Vibrate

Add

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

Add

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.

Add

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

Add

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.

Change

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.

Change

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.

Change

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


Comments

2
NaSTy 8,745 rep

yeahhhhh!! Thanks!!

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

Great works!! Thanks !!! :D

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

Fantastic guys :)

Wednesday, November 20, 2013 at 6:43:44 PM
2
russpuppy 8,934 rep

Yet another great update. Thanks for tilemaps!

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

Great work !!!
Thanks :D

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

Wohoo for "per-tile collision polygons"!

Wednesday, November 20, 2013 at 6:52:02 PM
2
ludodesign 30.1k 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
2
Squid 5,560 rep

All right then. Time to play with tiles.

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

More option for tilemaps

brillant, thanks

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

Cool update, allways improving.
Thanks team.

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

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

Wednesday, November 20, 2013 at 7:13:32 PM
2
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
2
ByteMaker 2,397 rep

Sehr gute Arbeit, danke...!

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

1 on the -1 in pathfinding.
Thank you.

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

Nice!!!
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.