Don't Miss Out

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


Construct 2 Release r174

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

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

Wednesday, June 25, 2014

New this build: a new File Chooser plugin, some built-in gestures in the Touch object, a new Preview Effects editor option, and lots more!

File chooser plugin

The new File Chooser plugin shows a Choose File button that lets the user pick a file from their local disk. On mobile you can also either choose a file from the device documents or a file storage app like Dropbox, or use the device camera to take a picture and use that as a chosen image file. (Exactly what options are available depends on the browser and OS.) It's supported on all modern browsers, but for IE only on IE10+.

Once a file is chosen, you can retrieve its filename, size in bytes, the MIME type (e.g. image/png for a PNG image or text/xml for an XML file), and the file URL. Despite the fact it's a local file, its data can still be accessed by the given URL (which is usually "blob:" followed by a unique ID). For images you can display the chosen file using the Sprite object's Load image from URL action, or (perhaps less obviously) you can AJAX request the file URL like any other URL to get its text data.

This allows you to make use of local text and image files, which could be useful as an alternative for showing photos other than snapshotting a video feed in the User Media object, or allowing a way for text, XML or JSON content to be loaded from disk.

Changelog

Add

New 'File chooser' plugin. Allows access to local files on the user's system. (Icon is wrong in this build, new icon will come in future release)

Add

Touch object: new triggers 'On hold', 'On tap' and 'On double tap'. These make it easy to detect these gestures in a multitouch-aware way.

Add

Project property: 'Preview effects'. Allows rendering of shader effects in the editor to be enabled and disabled without having to change the WebGL setting.

Change

Preview server: now explicitly disables caching. This is a speculative fix for sporadic problems with incorrect previews.

Change

PhoneGap export: for Android now specifies the target SDK as 19 (KitKat). This hides the legacy menu button. On older devices the Browser object 'On menu button' should still trigger if the system shows the button or has a hardware button, but don't rely on Android having a menu button; use an in-game button instead.

Change

PhoneGap export: can now select new permissions (camera, vibrate) as well as optionally turn off the Media permission. Media is used to enable PhoneGap audio playback in case the web view is not able to play sound.

Change

Browser object: now wraps the 'eval' call in the 'Execute Javascript' action and 'ExecJS' expression with a try/catch statement, and if it catches logs an error to the browser console. This should help prevent mis-use of javascript execution crashing the entire game.

Change

Updated to the latest node-webkit 0.10.0-rc1, based on Chromium 35. This should mean node-webkit's WebRTC is now compatible with Chrome so the Multiplayer object can interoperate. We're already aware of some node-webkit bugs in this update; we will be keeping it up-to-date over the next few betas and hopefully this will be resolved by the time the finished node-webkit update is available.

Change

Intel AGI export is now deprecated and no longer supported or maintained. We recommend exporting with Ejecta on iOS (and PhoneGap from iOS 8+) and Crosswalk for Android. If you still need to use this exporter for older projects, right-click in the Export Project dialog and click 'Show deprecated exporters'.

Change

As with the Intel AGI export, the Intel AGI plugin is now also deprecated. If you still need to use it, right-click a space in the 'Insert object' dialog and click 'Show deprecated plugins'.

Bug Fix

PhoneGap: app would crash using Audio object running on Android without the Media permission enabled. A future version of Android should enable the Web Audio API in the web view, allowing it to play back audio without needing the Media permission.

Bug Fix

PhoneGap: on iOS, fixed issue with objects not properly destroying due to a missing Javascript feature. We previously fixed this for the Safari browser, but this also fixes it for the web view.

Bug Fix

Letterbox integer scale now determines the integer scale based on device pixels, not CSS pixels. This should provide better results especially when running on devices with non-integer device pixel ratios. This should also resolve rounding errors causing some devices to show any letterbox mode 1-2 pixels off the correct size.

Bug Fix

Editor crash typing 1%0 in an expression

Bug Fix

Twitter plugin: issues having more than one button in a layout

Bug Fix

HTML5 export with ad bar template may have displayed incorrectly on iOS Safari


Comments

1
bobwaite1 4,883 rep

Great Job guys!

Wednesday, June 25, 2014 at 7:43:14 PM
1
Monumental 4,150 rep

Preview effects! I'm smiling.

Wednesday, June 25, 2014 at 8:07:46 PM
1
DAG 1,337 rep

Constantly great updates. Keep it up!

Wednesday, June 25, 2014 at 8:10:17 PM
1
albrektv 8,606 rep

Such sweet updates!

Wednesday, June 25, 2014 at 8:21:57 PM
1
Merlino 6,748 rep

This release is realy great, no greater, no the greatest......

Wednesday, June 25, 2014 at 9:11:31 PM
1
maxlive2010 6,085 rep

good.........

Wednesday, June 25, 2014 at 9:29:53 PM
1
leeruja 3,232 rep

Wow! Touch! !

Wednesday, June 25, 2014 at 10:13:05 PM
1
Tedg 9,893 rep

Thank you Scirra Team great new update and bug fixes.

Wednesday, June 25, 2014 at 10:26:14 PM
1
Cipriux 19.2k rep

@Bl4ckSh33p
<div class="quoted-text">Hi. Is it possible to add more gestures in the future? I know there are already some (complicated) examples for recognizing circles, squares, arrows and so on but it would be great to have something like this built in. (if possible)<div class="author">quoted from <strong>Bl4ckSh33p</strong></div></div>Maybe this plugin can do what you want www.scirra.com/forum/viewtopic.php?t=66773&start=0

Wednesday, June 25, 2014 at 11:21:52 PM
1
KennyOops 4,012 rep

'On double tap'. I'm looking for it. Great Scirra.

Thursday, June 26, 2014 at 1:49:21 AM
1
gonzdevour 14.7k rep

One small step for C2, one giant leap for mobile game development!

Thursday, June 26, 2014 at 2:17:44 AM
1
Yttermayn 1,803 rep

Nice job on the touch gestures! I second michaelb's suggestion, and add my own : I would like to be able to make my players save files accessible to them so that they may be able to transfer a game between devices, like when upgrading a phone, for instance.

Thursday, June 26, 2014 at 3:15:04 AM
1
Animate 12.6k rep

@Ashley ,the new file chooser and touch gestures are very useful and great, thank you.

Thursday, June 26, 2014 at 4:02:18 AM
1
arcadesindo 6,151 rep

Well,very nice update,and waiting a new windows export with low size.

Thursday, June 26, 2014 at 6:05:18 AM
2
Herks 3,794 rep

I like the preview effects option, it makes the development time significantly shorter!

Thursday, June 26, 2014 at 10:06:47 AM

Leave a comment

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