Don't Miss Out

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


Lightning Draw

Kyatric

41.636 seconds

inkBot

41.76 seconds

For the first 3 people to download this release!

Quick Draw

septeven

2m 52s

Nickydude

2m 13s

oreo

3m 1s

cyril

4m 36s

Chipz

4m 37s

Guest

4m 4s

gammabeam

4m 23s

Weishaupt

4m 23s

Black2key

5m 18s

Terrato

6m 31s

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

Construct 2 Release r92

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

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

Monday, May 28, 2012

New this build: importing files to the project and spritesheeting on export! There has also been some performance tuning work done so you may now see better framerates in places, especially on mobile.

The project bar now features a 'Files' folder you can use to import external files. These files are also cached for offline use and can be AJAX requested. This should help considerably improve the workflow when using external files. User-made level editors should also now be practical, since you can download array or dictionary data as JSON, import it back to the project then load it at runtime via AJAX. An especially cool aspect of this is you can extend your game by allowing players to make their own levels as well, and load them by entering a URL to their own custom-designed level. Interesting possibilities!

Spritesheeting on export means animation frames are assembled on to single large sprite sheet images, which can help make the download quicker. After exporting you'll see a series of 512x512 tiles (or possibly different sizes depending on the image content) in the images folder. You may be wondering why we don't spritesheet the entire project in to one big image - we trialled this but decided against it for various reasons, and will cover the rationale in a blog post coming up soon. So stay tuned for more information about that.

Changelog

Feature

Project Bar: new 'Files' folder. Allows for importing any files to the project. Useful to store any data files (e.g. .xml, .json, .txt...) or any other purpose where external files are useful, e.g. embedding video files, binaries, documents, etc.

Feature

Spritesheeting in to 512x512 tiles on export. Helps reduce download size, especially with 256-color/PNG-8 images. Each tile only contains one Sprite's animations (different objects will not be mixed on one tile). Breaking change: this may break third party plugins that alter Sprite's images. Any affected developers please post to the SDK forum and I'll help you make the necessary changes.

Add

AJAX: 'Request project file'. Allows loading of project files through AJAX. Useful to then load the result in to the Array, Dictionary or XML plugins, which could be handy for making level editors and such.

Add

Support for iOS Retina displays. Allows for hi-res artwork and crisper text on hi-res devices like the iPhone 4S and iPad 3. Can be disabled in project properties ("Use iOS retina display") if you prefer to leave it low-res and upscale, which is lower quality but can improve performance. Enabled by default.

Add

At long last, browsers are beginning to add support for point sampling in canvas 2D. This means in future it should no longer be necessary to use WebGL just to get point sampling for retro games. Browser support is in Chrome 21+, not sure about other browsers yet, but it's at least 3 months until support reaches stable browser releases.

Add

System expression 'CPUUtilisation'. Percentage of the last second spent in the application logic. Note this is an approximation only, except for browsers with support for high-resolution timers (Firefox 15+, Chrome 21+). The rest of the time will be either idling or waiting for the GPU to finish rendering - you can't tell.

Add

System expressions ViewportLeft, ViewportTop, ViewportRight, ViewportBottom. Get the viewport position for a particular layer.

Add

Support for high-resolution timers in Chrome 21+. (Was already supported in Firefox 15+)

Add

Project bar: 'family behaviors' added to right-click menu for families

Change

Dictionary: removed unused property accidentally left in

Change

Estimated project size now takes in to account the image format set in the image editor, but only very crudely: PNG-8 is assumed to be half the size and JPEG assumed to be a quarter the size. Remember the only real way to tell is to export your project.

Bug Fix

Crash adding an object type to a family with family behaviors

Bug Fix

The new letterbox fullscreen options in r91 were accidentally left out of the 32-bit version of Construct 2

Bug Fix

Some broken-when-minifying bugs should now be fixed

Bug Fix

Possible crash in the Physics behavior

Bug Fix

XML: can now return text longer than 4096 characters on Firefox

Bug Fix

WebKit based browsers (Chrome, Safari): fix for some browser bugs - Chrome sometimes made pixelly games look blurry, and Safari sometimes went blank when changing orientation. A hack as been added to work around this.

Performance

Performance improvement for some mobile browsers after exporting. It may be worth re-testing your games on mobile if you have already since the framerate may now be measurably higher in places, depending on the system. Note the optimisation is only applied on export - if you use Preview-on-LAN feature it won't be any faster.

SDK

The preview server now serves up files from the new project 'Files' folder. This could be useful for third party plugins that need to use other files. However, only a fixed list of MIME types are supported; if you need the preview server to support a new MIME type, let me know and I can add it.

SDK

New project file parameter type (AddFileParam). Dropdown list to select a file from the project's 'Files' folder. Returns a string of the filename, which is exported to the same folder as index.html (so can be used as a relative URL). Used by AJAX.


Comments

6
ethan0004 12.9k rep

Nice update guys!! :D

Monday, May 28, 2012 at 6:35:02 PM
2
MegawackyMax 5,099 rep

Alright! Downloading! :D

Monday, May 28, 2012 at 6:35:07 PM
2
farsmile90 10.4k rep

hoho, this is awesome :)) downloading !

Monday, May 28, 2012 at 6:36:03 PM
6
Index 7,577 rep

W00t. Letterbox Mode for 32-Bit. Ashley forgot about us xD.

Monday, May 28, 2012 at 6:36:33 PM
2
ludodesign 30.3k rep

I'm using so much construct now. I will wait for the stable version. fear o lose projects.

Monday, May 28, 2012 at 6:36:38 PM
2
EnglishAcorn 16.6k rep

That's amazing. Family behaviours = v.v.useful. :)

Thank you & well done guys.

Monday, May 28, 2012 at 6:40:03 PM
2
Terrato 7,581 rep

"Crash adding an object type to a family with family behaviors"
I got this crash for the first time just today (thrice), and you release the patch to correct it? are you stalking me?
Great work! Thanks a bunch guys! :D

Monday, May 28, 2012 at 6:41:37 PM
2
gammabeam 13.8k rep

Awesome features, specially the Files folder!

Monday, May 28, 2012 at 6:42:17 PM
2
Kyatric 69.3k rep

Thanks Ashley, great release again.

Monday, May 28, 2012 at 6:42:26 PM
3
rockgger 3,405 rep

Genial ¡¡¡ Descargando xD

Monday, May 28, 2012 at 6:46:02 PM
4
gillenew 25.0k rep

yes baby, its so good!!

Monday, May 28, 2012 at 6:47:23 PM
4
Kiyoshi 13.3k rep

Wow finally spritesheet export ! And overall excelent release \O/

Monday, May 28, 2012 at 6:58:34 PM
3
sqiddster 32.7k rep

They've done it again!

Monday, May 28, 2012 at 7:00:20 PM
3
rodmontgt 4,711 rep

Good congratulations for your work!

Monday, May 28, 2012 at 7:00:41 PM
3
EmpowerMe 8,731 rep

Work just keeps getting easier one download at a time.

Monday, May 28, 2012 at 7:04:59 PM

Leave a comment

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