Don't Miss Out

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


Lightning Draw

pedro.thiers

43.476 seconds

Yann

46.52 seconds

For the first 3 people to download this release!

Quick Draw

septeven

3m 31s

Guest

3m 6s

delgado

4m 16s

septeven

5m 39s

hayato

7m 53s

Guest

7m 1s

Radichio

7m 12s

Guest

7m 26s

Kyatric

9m 58s

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

Construct 2 Release r94

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

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

Tuesday, June 12, 2012

New this build: access to the webcam with the new User Media plugin beta (note Chrome 21+ only, see the changelog below), support for snapshotting the canvas, and lots of plugin and behavior additions!

Please note the breaking change to the Bullet behavior. Changing the 'Set angle' property to 'Yes' may fix any projects that have changed, since the property used to default to 'No' and that is the only setting that works differently now.

Hopefully the next build will be a stable release, so watch out for any bugs or issues you find and make sure you report them!

Changelog

Feature

New User Media plugin (beta). Allows webcam access and taking pictures. New 'Webcam.capx' example in examples folder demonstrates. Only works in Chrome 21+, which you can get now as Google Chrome Canary (a testing version of Chrome that installs side-by-side with your stable Chrome if you have it already). Since this is standard it should also eventually be coming to other browsers too.

Add

System: support for snapshotting the canvas (taking a screenshot of the current display). 'Snapshot canvas' action then triggers 'On canvas snapshot' after it is taken, and then the system expression 'CanvasSnapshot' returns a data URI of an image for the canvas. This can be loaded in to Sprite or Tiled Background with their 'Load image from URL' actions, or opened as a URL in the Browser object to open the image in a new tab (so you can save the image to disk). Possibly also useful for screenshotting player progress for save points - you could store the result in WebStorage, but note most browsers limit that to 5mb so you might want to set the format to low-quality JPEG to minimise the size as much as possible.

Add

Platform: 'Fall through' action. Will fall through a jump-thru platform if standing on one.

Add

Pin behavior: new 'PinnedUID' expression (get UID of object pinned to), and a new Mode parameter for the 'Pin' action. You can now choose between 'position & angle', 'position only', 'angle only', 'rope style' and 'bar style'. Rope style is different in that it updates the position to follow the object at a fixed distance, as if attached by an invisible rope. 'Bar' keeps the object at a fixed distance, as if attached by an invisible rigid bar. Two new examples in the Examples folder demonstrates these. Of particular interest is the new 'Pin chain style.capx' example, which uses a family and for-each loop to pin together a chain of instances (a useful technique advanced users may find interesting).

Add

Browser object: while 'Is downloading update' is true, the system expression 'loadingprogress' is now also set to the download progress of the update. This allows you to also display the progress of background updates, or re-use your loader layout as an update layout as well.

Add

System expression: unlerp(a, b, y). Calculates (y - a) / (b - a). If lerp(a, b, x) = y, then unlerp(a, b, y) = x. E.g. unlerp(10, 20, 14) = 0.4. Tip: may be useful to use with clamp, e.g. clamp(unlerp(a, b, y), 0, 1) to ensure result does not go outside [0, 1] range.

Add

WebStorage: JSON support. Can get all local storage in JSON format and set all local storage from a JSON string. Allows for backing up or transferring WebStorage data. The JSON format is the same as the Dictionary object, so Dictionary and WebStorage JSON data can be interchanged; however note that WebStorage stores everything as strings, so transferring Dictionary to WebStorage and back to Dictionary will have the effect of converting all numbers to strings.

Add

Bullet behavior: 'DistanceTravelled' expression, 'Compare distance travelled' condition

Add

Physics: 'Bullet' property. Enable enhanced collision detection for fast moving objects, but note this may also reduce performance, so try to avoid using it unnecessarily.

Add

Physics: new actions 'Set prevent rotation', 'Remove all joints' (funny to build contraptions out of joints then watch them disintegrate when you remove joints!)

Add

Audio: preload by name

Add

Ribbon: a new 'Start page' button, to bring back or focus to the start page.

Change

Construct 2 now checks if it has write access to the save location before saving. It will show a better error message (rather than a check failure or bug report message) if it does not have permission to use the given folder.

Change

Breaking change: the Bullet behavior no longer changes angle of motion when setting the object angle if 'Set angle' is 'No'. Existing projects may need to add a 'Set angle of motion' after a 'Set angle' action. However, it still sets the angle of motion to the object angle when the object is first created, otherwise projects like Space Blaster (which spawn bullets and immediately set their angle) get broken. The 'Set angle' option now also defaults to 'Yes'.

Change

Dictionary object: altered icon to try to better convey it is a data storage object (and not for example an English dictionary)

Bug Fix

Exporting Windows 8 Metro apps now supports Windows 8 Release Preview and Visual Studio 2012 Express. Previously it only supported the Consumer Preview.

Bug Fix

Sprite, Tiled Background: could not load images from data URIs

Bug Fix

Using global objects on loader layouts (including Array and input plugins like Keyboard) did not work properly

Bug Fix

Saving a folder project to a .capx could break the folder project if certain changes had been made and not saved

Bug Fix

Sprite's 'Is between angles' did not work properly if the angle range was over 180 degrees

Bug Fix

Sprite: negated 'Is overlapping' changed how it picked instances in r93 - should now work like it did in r92

Bug Fix

Display glitches could occur if the bottom layer was invisible


Comments

4
MegawackyMax 5,099 rep

Ooh, awesome! =D Downloading!

Tuesday, June 12, 2012 at 7:21:54 PM
6
Przemek32767 23.1k rep

Lots of new cool things in this release! I can't wait to play with them! Fantastic job, as always.

Tuesday, June 12, 2012 at 7:24:42 PM
1
delgado 30.6k rep

more supports for game exporting for appmobi and cooconJS and else :D

Tuesday, June 12, 2012 at 7:25:15 PM
2
Radichio 4,267 rep

Every release just surprises me more and more!

Tuesday, June 12, 2012 at 7:27:42 PM
2
Index 7,552 rep

These releases are so fast.. how are you guys such good developers? xD

Tuesday, June 12, 2012 at 7:29:39 PM
2
glerikud 19.8k rep

Nice release. Downloading it..

Tuesday, June 12, 2012 at 7:33:52 PM
1
7Soul 15.2k rep

"Sprite: negated 'Is overlapping' changed how it picked instances in r93" Just yesterday I noticed this bug, and it's already fixed!

Tuesday, June 12, 2012 at 7:34:43 PM
4
gammabeam 13.3k rep

Wow!
The Pin behavior improvements are great and will be very useful!
Thanks Ashley, you rock!

Tuesday, June 12, 2012 at 7:36:04 PM
6
Kyatric 67.7k rep

Actualy all changes to all plugins/behaviors in that release are very nice improvement, still having the user's (us) comfort in mind.
Snapshot is also a pretty cool addition, I can see some cool use for that, thanks.

The webcam is something pretty cool too, but the fact it's only available on chrome for now makes it less attractive [i]for the moment[/i].

Anyway nice job as usual Ash another top notch release !

Tuesday, June 12, 2012 at 7:40:42 PM
3
Haematite 8,005 rep

Brilliant update, especially love the fall-through ability added for platform!

Tuesday, June 12, 2012 at 7:52:54 PM
3
EnglishAcorn 16.5k rep

These are great, thank you so much.

Tuesday, June 12, 2012 at 7:58:14 PM
3
ethan0004 12.8k rep

wow! great job.. perfect guys!!

Tuesday, June 12, 2012 at 8:00:23 PM
3
VampyricalCurse 8,331 rep

Holy crap this rocks, taking an image of the canvas. I wanted something like this for making a cool menu BG effect. Congrats on this build, really really cool.

Tuesday, June 12, 2012 at 8:09:41 PM
3
tap 4,369 rep

C2 is the best game engine out there imo. You guys are doing an amazing job! Thank you.

Tuesday, June 12, 2012 at 8:09:57 PM
3
Mulkaccino 7,311 rep

Fantastic job as always, all!

Tuesday, June 12, 2012 at 8:19:37 PM

Leave a comment

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