Don't Miss Out

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


Lightning Draw

aruche

3.277 seconds

RamPackWobble

31.887 seconds

Przemek32767

55.164 seconds

For the first 3 people to download this release!

Quick Draw

Joskin

1m 13s

Tsengar

1m 15s

plut

1m 26s

Guest

1m 27s

Ubivis

2m 36s

Albatr

2m 15s

iceangel

2m 22s

Jakub

2m 26s

Ludonaut

2m 27s

Guest

3m 34s

ThunderZ

3m 40s

Kyatric

3m 47s

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

Construct 2 Release r169

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

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

Friday, May 09, 2014

New this build: support for Google Play Game Services, a new Twitter plugin to create a follow/tweet button, Spriter importer update, Multiplayer room listings, Chrome Web Store support for IAP, and more!

Google Play Game Services

The new plugin allows you to log users in, submit scores, view leaderboards, and reveal and unlock achievements. Using Google Play Game Services requires that you register for an account on the Google Play Developer Console (currently about $25 if you haven't done it before). Then you need to create a new web app and add the list of web origins (basically domain URLs) that are allowed to use it. To make sure it works in preview mode you should also add to the allowed origins the preview URL (normally http://localhost:50000) and similarly if you want to use it with preview-over-wifi (e.g. http://192.168.1.3:50000). If you try to use it without whitelisting the origin, it will refuse to load or run. Then you'll need to copy your app ID and client ID to the plugin properties. More documentation will follow when the next stable release comes around.

Unfortunately despite the fact Google Play Game Services would be perfect for Crosswalk, it doesn't currently work there: Crosswalk apps run locally, so they do not have a web origin, making it impossible to enter an allowed web origin for it in the Google Play Developer Console. We're trying to work out a solution with both Intel and Google. To help draw the problem to Google's attention, please star this bug report (click the star to the left of the title). Until then it seems to work fine on both desktop and mobile browsers from the web.

Downscaling quality

There's also a new project property to control the rendering quality when downscaling (drawing sprites when they are resized smaller than their original image). This is important because the tradeoff is between quality and memory use, and in rare circumstances can also affect whether display glitches can occur due to spritesheeting. You may wish to read about how mipmaps work, since they are used to improve downscaling quality; also note we can only control mipmaps ourselves in WebGL mode - in canvas2d it's up to the browser. The three modes are:

  • Low quality: mipmaps are disabled (reducing memory use), but downscaling sprites can look blocky or pixellated even with linear sampling. Use this to save memory if you don't care about downscaling quality.
  • Medium quality: mipmaps are enabled, which adds about 1/3rd extra to the memory use, but downscaling sprites looks much better. Since the spritesheet after export is closely packed with images, in some circumstances unrelated images "bleed" together at low mipmap levels, causing display artefacts in downscaled sprites post-export.
  • High quality: mipmaps are enabled, but the spritesheet after export spaces and aligns images to power-of-two positions. This negates the memory saving of using a spritesheet, but guarantees that low mipmap levels never bleed separate images in to each other, ensuring glitches never appear. However there is a high cost in extra memory usage.

The default is medium quality, since that is what it used to do, and it ensures the memory use and display quality of existing games does not change. However now you can adjust it if necessary. The estimated memory use in the status bar now also takes in to account a rough guess at the effect the setting will have. Note it used to ignore the effect of mipmaps (as if low quality were chosen) - so it will now display higher for existing unchanged projects, but that is in fact more accurate, since it always created mipmaps before but never factored that in to the estimation.

Changelog

Feature

Google Play plugin to handle login, leaderboards and achievements for Google Play Game Services

Feature

Twitter plugin, allowing an in-game tweet, follow or mention button

Add

Multiplayer: can now list rooms in a game instance, making it possible to design a lobby where you can pick from a list of active games

Add

IAP plugin: experimental support for Chrome Web Store purchases using Google Wallet. Let us know if it works for you.

Add

New project property for 'Downscaling' quality

Add

AJAX: new 'method' parameter in 'Post' action, so you can specify other methods like PUT, DELETE, etc.

Add

AJAX: new 'Set request header' action to customise HTTP headers sent with the next request

Add

Anchor behavior: new 'None' setting for anchoring to window left or window top

Change

Updated the Spriter importer, with changes aimed at supporting character maps and collision boxes, and also now offers to import any audio files used in the animation. Note that the Spriter plugin will need to be updated to sync up with these changes. Also the Spriter editor has already been updated to work with some of the changes; re-download it from Brashmonkey to get the latest version.

Change

Renamed 'Intel XDK' plugin to 'Intel AGI', since that's all it works for and some people thought it worked in Crosswalk where it has no effect.

Change

Updated Closure Compiler (used for minifying on export) to the latest version

Change

Updated PNGCrush (used for image recompression on export) to the latest version

Bug Fix

Possible Javascript error using 'Is overlapping' in a sub-event to 'On collision'

Bug Fix

Browser object's 'Open URL in new window' should now work correctly in Crosswalk

Bug Fix

Pressing enter while a progress bar dialog was showing could cause it to disappear

Bug Fix

Possible crash trying to edit Sprite animations with no layout tab open

Bug Fix

Workaround a Safari on iPad bug where scrolling goes crazy while typing in to a textbox

Bug Fix

Workaround a bug in Chrome and Firefox when using very large particle sizes in WebGL mode

Bug Fix

Windows Store universal apps now also export the about, privacy, support and WindowsStoreProxy files which were missing from the desktop version of the universal app

Bug Fix

Possible issue with Chrome being able to slightly scroll the view in scale inner, scale outer or crop fullscreen modes


Comments

4
aruche 4875.3k rep

Nice update as usual :)
Good job!

Friday, May 09, 2014 at 3:10:50 PM
4
iceangel 31.0k rep

Thanks Scirra Team!!!!

Friday, May 09, 2014 at 3:11:38 PM
2
Geeh 719 rep

Twitter?Woooooww nice!!

Friday, May 09, 2014 at 3:11:40 PM
2
ThunderZ 7,237 rep

SUPERBE !!!!!

Friday, May 09, 2014 at 3:12:08 PM
2
Grimbarian 1,105 rep

Sounds like a great update - will be looking forward to the next stable release impatiently.

Any plans to support OUYA IAP?

Friday, May 09, 2014 at 3:13:08 PM
2
jayderyu 14.9k rep

oh wow. it's here. Spriter Character Maps...... soooo much work to do. So happy happy. Time to work... actually when I get home.

Nice update. Excellent content.

Friday, May 09, 2014 at 3:21:15 PM
2
granpa 16.5k rep

Keeps getting better every build .

Friday, May 09, 2014 at 3:23:16 PM
2
theagoliddell 589 rep

Very good update!
Fingers crossed for improvements in the crosswalk!

Friday, May 09, 2014 at 3:32:21 PM
2
sneeuwit 486 rep

Jeej thanks :-D

Friday, May 09, 2014 at 3:37:18 PM
2
Firewires 697 rep

Exited about the Google Play plugin, but i'll wait until the stable release.

Friday, May 09, 2014 at 3:37:34 PM
0
BAnyBudde 3,225 rep

Nothing for a Smooth Camera Zoom yet... Hmmm

Friday, May 09, 2014 at 3:42:28 PM
2
TarKHaoS 394 rep

Nice job! Thanks!!!

Friday, May 09, 2014 at 3:45:51 PM
2
Nitro187 4,625 rep

Fantastic update. Thanks.

Friday, May 09, 2014 at 3:47:31 PM
2
henriquesv 1,794 rep

Great! I just don't see the time to test the new Twitter plugin!

Friday, May 09, 2014 at 3:51:03 PM
4
ByR 3,739 rep

Incredible! google play added!! Thanks scirra :)

I have some questions:

is the last version of cocoonjs plugin added? some of my projects use it so i don't know if update C2 is good idea right now.

are google play services from C2 compatible with cocoonjs? Because i prefer to use C2 version if we can import the highscores list ;)

thanks in advance

Friday, May 09, 2014 at 3:52:20 PM

Leave a comment

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