Don't Miss Out

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


Lightning Draw

UberLou

15.914 seconds

pedro.thiers

33.4 seconds

Guest

42.917 seconds

For the first 3 people to download this release!

Quick Draw

Kyatric

45.507 seconds

Przemek32767

46.52 seconds

Guest

46.957 seconds

C4rtman

47.05 seconds

CaptainTardy

58.89 seconds

Guest

1m 20s

plut

1m 22s

Guest

1m 22s

7Soul

1m 24s

septeven

1m 25s

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

Construct 2 Release r160

This is an old Beta release! Download the latest Beta release instead here.
Download

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

Monday, February 03, 2014

New this build: collision cell optimisation for Tilemaps. We had previously added a collision cells optimisation, but it did not apply to Tilemaps - they still counted as one big object covering the whole layout, and therefore were in every collision cell, and would always check every collision rectangle when testing collisions. Tilemaps were still optimised to avoid having to collision check every tile, but with large games using tilemaps this would still gradually get slower with bigger games as it had to do more and more collision checks. Now the two have been combined: internally the Tilemap object now also breaks up the tiles in to collision cells and only collision checks with the nearby cells. This should vastly reduce the number of collision checks done in large tilemap games and improve performance, especially on mobile devices dealing with large levels.

This change did involve a fairly deep overhaul of the Tilemap object, so please watch out for any regressions or new bugs. If you find any issues please post them to the Bugs forum following all the guidelines - and as ever, try to reproduce the problem in a new project.

The Turret and LOS behaviors can now also optionally turn off the collision cells optimisation. In some specific cases, over very long ranges/distances (e.g. 10000 pixels) it could actually reduce performance since it would have to check so many collision cells, which is extra work it didn't have to do before. It's strongly recommended to leave it on since in most cases it's likely to be a lot faster, but if you are having performance problems with large layouts it might be worth experimenting with.

Changelog

Add

Turret and LOS behaviors: new 'Use collision cells' property to turn off use of the collision cells optimisation for these behaviors. This is not generally recommended, but in some cases where these behaviors are used to cover very large distances, it could be faster to disable collision cells.

Add

WebGL shaders: can now use additional parameters (float layerAngle; vec2 viewOrigin) to get the current layer rotation and scroll position

Bug Fix

Links are now clickable in the 'Install addon' dialog

Bug Fix

Testing collisions with particles was not working (regression with collision cells)

Bug Fix

Sprite Font: could display blurry or with slight glitches in some circumstances

Performance

Tilemap: now also uses the collision cells optimisation


Comments

6
FuerzaCHL 3,706 rep

This is awesome, thx!!!

Monday, February 03, 2014 at 5:33:37 PM
6
omrpps 6,954 rep

BIEN¡¡¡¡ GRACIAS¡¡¡

Monday, February 03, 2014 at 5:37:52 PM
7
ThunderZ 7,237 rep

Nice :) release

Monday, February 03, 2014 at 5:39:47 PM
7
NotionGames 12.1k rep

keep up the great work

Monday, February 03, 2014 at 5:40:42 PM
5
iceangel 31.0k rep

Very good, thanks guys.

Monday, February 03, 2014 at 5:45:45 PM
4
Pixel perfick 12.3k rep

Thanks for update...

Monday, February 03, 2014 at 5:53:36 PM
4
ferrod 16.9k rep

Thanks team, another good update.

Monday, February 03, 2014 at 5:58:07 PM
4
Animate 10.7k rep

Awesome! Great work guys...

Monday, February 03, 2014 at 6:08:22 PM
4
thehorseman007 14.3k rep

Thanks for one more update, great work Team C2. You guys are awesome and always Rocks. :)

Monday, February 03, 2014 at 6:09:51 PM
4
Squid 5,560 rep

Interesting.

Monday, February 03, 2014 at 6:21:59 PM
1
Joskin 6,089 rep

Nooo ! 160 must have been the multiplayer release :'(

Monday, February 03, 2014 at 6:23:40 PM
4
ludodesign 29.8k rep

New new new :)

Monday, February 03, 2014 at 6:25:37 PM
0
mapmerry 1,519 rep

the noise effect in my games have with a javascript error in this release (layout.js, line 1663 (col undefined))

Monday, February 03, 2014 at 6:29:27 PM
2
ome6a1717 2,244 rep

I'm also having a similar issue that mapmerry is having - same javascript error, only it's happening on certain sprite/sprite collisions.

Monday, February 03, 2014 at 6:52:29 PM
2
GabaDopa 651 rep

Yeah I am also getting javascript errors when a color effect is added to a layer.

Monday, February 03, 2014 at 7:10:21 PM

Leave a comment

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