Don't Miss Out

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


Lightning Draw

aruche

26.037 seconds

Guest

1m 25s

Guest

2m 54s

For the first 3 people to download this release!

Quick Draw

McKack

2m 53s

Guest

2m 56s

Guest

2m 57s

Thijsku

2m 17s

softblow

2m 20s

Tsengar

2m 28s

zenox98

3m 34s

onzephyr

3m 42s

facecjf

3m 44s

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

Construct 2 Release r174

This is an old Beta release! Download the latest Beta 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

4
aruche 4875.3k rep

Thanks for the bug fixes :)

Wednesday, June 25, 2014 at 5:02:50 PM
4
bjadams 7,454 rep

every new updates brings new functions. most active SDK ever!

Wednesday, June 25, 2014 at 5:06:21 PM
4
A0Nasser 9,155 rep

Great update...keep the good work.

Wednesday, June 25, 2014 at 5:11:09 PM
4
SeductiveDungeon 8,156 rep

Great stuff again, thanks!

Wednesday, June 25, 2014 at 5:13:02 PM
4
russpuppy 8,981 rep

thank you!

Wednesday, June 25, 2014 at 5:23:12 PM
4
iceangel 32.6k rep

New test in this new version for Chrome ( node-webkit ).

Wednesday, June 25, 2014 at 5:23:41 PM
6
Michaelb 2,663 rep

AWESOME , great update.

I have a small request, but crusial for us and all the projects / games we create with C2 , please kindly

-- > add a command so users can write a txt on android devices (on the sc card or root of the android device) , that will contain arrays or variables.

In other words store variables in a txt on the android device.

At the moment there is nothing that can do that on Android.

Again thank you very much for the update.

Wednesday, June 25, 2014 at 5:38:54 PM
4
bilgekaan 24.2k rep

The touch's new triggers are really helpful, thank you.

Wednesday, June 25, 2014 at 5:41:55 PM
4
beardedeagle 2,020 rep

Great plugin addition!

Wednesday, June 25, 2014 at 5:42:57 PM
4
kinetic 946 rep

Scirra at it's best as always !! Touch events are a must !! Thanks guys !

Wednesday, June 25, 2014 at 5:44:12 PM
4
Rhindon 14.8k rep

Such sweet updates!

Wednesday, June 25, 2014 at 5:45:17 PM
4
gamepopper 3,015 rep

Hellooooo Touch Gestures and new Node-Webkit version!

Wednesday, June 25, 2014 at 5:50:20 PM
4
smsanthosh 2,445 rep

excellent updates... thanks for treat...

Wednesday, June 25, 2014 at 5:55:26 PM
4
Scofano 2,693 rep

hurray! Go scirra!

Wednesday, June 25, 2014 at 5:58:57 PM
4
Bl4ckSh33p 9,207 rep

File choser and gestures in the Touch object are great, thanks! :D

Wednesday, June 25, 2014 at 6:03:35 PM

Leave a comment

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