Don't Miss Out

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


Lightning Draw

McKack

15.426 seconds

Przemek32767

30.046 seconds

aruche

32.946 seconds

For the first 3 people to download this release!

Quick Draw

softblow

47.393 seconds

Tsengar

1m 7s

Guest

1m 20s

Guest

2m 12s

Guest

2m 22s

siks

2m 28s

granpa

3m 37s

dhillyard

3m 20s

Guest

4m 37s

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

Construct 2 Release r175

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

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

Thursday, July 10, 2014

New this build: image and animation reimporting additions, a new on-by-default preload sounds mode, and other usability improvements!

Image and animation reimporting

First of all there's a new "Replace entire existing animation" when importing a sprite strip. It also preserves the existing origins, image points and collision polys if you import the same number of frames. This should make it easier to quickly re-import animations from sprite strip sources.

Secondly by popular demand importing a new image to the image editor only guesses the collision polygon if it's set to the default bounding box. This allows an adjusted collision poly to remain intact after importing an updated image, whilst still automatically giving a reasonable collision poly on first import.

Thirdly and perhaps most usefully, the editor now tracks an "original source path" for every image that gets imported. For example if you have a completely different folder on your computer where you import all your art assets from, then Construct 2 will remember paths from that folder when importing images or animations from there. Then you can quickly reload a single image, an entire animation, or all animations in an object from the original paths. This means you can instantly re-import the images and animations if your artist updates the contents of the original folder.

You can view or explicitly set the original source, and reload the current image from the original source, using two new image editor toolbar buttons: (the left button is a temporary scrawl, our artist will come up with something better shortly!)

r175 original source buttons

The left button opens a file chooser dialog with the remembered original path already selected, so you can see the original path. If Construct 2 does not know the original path, you can also explicitly choose it this way. The right button will reload the current image from that path, just like pressing the "open" icon and choosing the file at that path again, whilst preserving the origin, image points and collision polygon.

The animation frames pane now also has two extra options to reload the entire current animation from its original path, or reload all animations in the object from the original paths. Note that these will undo any alterations you've made from Construct 2 - it will overwrite everything with the image files at the original paths. However for certain workflows this should not be a problem and is in fact an easier way to bring in new changes made by your artist. Just remember if you move the original paths, or transfer your project to a different computer, none of the original paths will be found any more and Construct 2 won't be able to reload anything. Also remember any image modifications - including cropping - will be reverted if you reimport the original sources again.

The new 'Preload sounds' project property

This allows all sound effects to be downloaded and decoded before the game starts. It defaults to 'Yes' which is different to the old behavior. It used to effectively be 'No' - the game would only download images while loading, and download and decode all audio on-demand upon the first play. This can add delay on the first time sounds are played, especially on mobile. Now, when enabled, all sounds (but not music) will be downloaded and decoded while loading. The loader progress also covers this, so by the time it reaches 100% all images have been downloaded and all sounds have been downloaded and decoded. With Web Audio API support, this means as soon as the game starts any sound effect can be played with zero latency. This should make it unnecessary to use the 'Preload' or 'Preloads complete' features of the Audio object: using this mode does it all automatically.

Note 'Preload sounds' does not preload music. Music tracks tend to be large in filesize, and downloading them all in advance could considerably add to the waiting time before the game starts, and with little benefit - it is not usually important if music starts playing after a brief delay while it starts streaming it. If it is, you can still preload it with the 'Preload' action as before, but we recommend preloading only one music track at a time (presumably, whichever you are going to play next).

Changelog

Add

Images and animation frames now have an original source path which the image/animation can be reloaded from

Add

New project property: Preload sounds

Add

Touch: new 'On tap object', 'On double-tap object' and 'On hold over object' triggers

Add

Animation editor: new option to "replace entire existing animation" when importing a sprite strip

Add

Animation editor: option to 'Copy previous collision poly' when right-clicking an animation frame. This should make it easier to design an animation with a gradually changing collision poly that matches the animation.

Change

New icon for File Chooser plugin

Change

Audio importer: importing audio files with the same filename now overwrites the existing files instead of creating new ones with a different name. This should make it much easier to update existing audio files.

Change

Audio importer: no longer retains .wav files in the project. These were never used for anything nor exported for any platform.

Change

Parameters dialog: expression field now has a maximum height of 300px, to prevent overflow when pasting in long strings. We still strongly recommend you do not paste in large amounts of data - use project files instead.

Change

Image editor: importing an image now only guesses the collision polygon if the current poly is a default bounding box.

Bug Fix

Debugger: long values without spaces should now wrap inside the value cell instead of extending off to the right

Bug Fix

Image deduplication on export did not always remove duplicate images within the same object, only between different object types. It should now correctly deduplicate identical images within the same object or animation.

Bug Fix

Platform behavior: another tweak to avoid snapping to platforms at the top of jumps

Bug Fix

Multiplayer: should now be able to join another room in 'On signalling left room'

Bug Fix

Twitter plugin: possible Javascript error using 'Reload' action

SDK

The Function object now adds a global Javascript function that can be used to trigger a function in the event system. Call c2_callFunction("name"); to call function "name", and optionally add parameters in an array, e.g. c2_callFunction("name", ["param1", "param2"]);. Parameters can only be strings or numbers. It also returns the value returned from the event system. Check the function exists before using it since projects which do not use the Function object will not have that global function.


Comments

10
aruche 4875.3k rep

Thanks for the animation editor updates. Great job!

Thursday, July 10, 2014 at 5:32:41 PM
6
dhillyard 774 rep

As always done great features

Thursday, July 10, 2014 at 5:34:51 PM
14
granpa 16.5k rep

Nice additions for animations and sounds , would still like to be able to make a circle in the image editor .

Thursday, July 10, 2014 at 5:36:45 PM
5
onzephyr 9,937 rep

Fantastic workflow updates! Great Work Scirra as always

Thursday, July 10, 2014 at 5:43:54 PM
7
cartoonmadrasah 744 rep

Preload Sounds option is very good & very useful.

Thursday, July 10, 2014 at 5:45:30 PM
7
rozpustelnik 4,869 rep

Excellent release, especially with the sound files overwrite method!

Thursday, July 10, 2014 at 5:51:44 PM
6
MikeMS 893 rep

Big thanks for "Image and animation reimporting" features and changes!!! This is very important for me and a lot of work now will be much handy! :)

Thursday, July 10, 2014 at 5:57:17 PM
10
jayderyu 14.9k rep

I normally don't log in to post when at work..... but sniffle. This makes me cry. these are awesome functionality to help improve workflow. I know it's not say 100% perfect, but I do get working within the boundaries of the current design of C2.

Thanks Ashley. These help super tons. Fantastic tons. Amazing. oh so needed. I will start adding my voice for more requests. C2 is still my favorite development tool.

Thursday, July 10, 2014 at 5:57:18 PM
8
Robin Sommer 7,541 rep

Sweet! It's always exciting to receive that notification about a new release and rushing to find out what you've added. :) Thanks again!

Thursday, July 10, 2014 at 6:00:33 PM
5
glerikud 19.2k rep

I've been waiting long for these features. Thank you Scirra.

Thursday, July 10, 2014 at 6:01:46 PM
6
Rhindon 14.0k rep

@Ashley - Regarding the bug fix for the Platform behavior... Would you mind elaboration exactly what was happening prior to the fix? My major project is a platformer, so I'm curious if this is related to some occurrences I've noticed before. Thanks!

Thursday, July 10, 2014 at 6:02:22 PM
8
rexrainbow 113.8k rep

Great! Love the updating of SDK.

Thursday, July 10, 2014 at 6:05:21 PM
5
jastrazz 3,453 rep

Great features, I'm anxious to test new preload sound.

Thursday, July 10, 2014 at 6:07:53 PM
8
Kyatric 62.9k rep

Another great release, excellent work !

Thursday, July 10, 2014 at 6:15:52 PM
4
Michaelb 2,663 rep

AWESOME , thank you very much

Thursday, July 10, 2014 at 6:26:37 PM

Leave a comment

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