Don't Miss Out

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

Construct 2 Release r154

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

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

Friday, December 13, 2013

New this build: a multiplatform in-app purchases (IAP) plugin! Previously it has been difficult to set up IAP in games, requiring different plugins and events for each platform you want to publish to. This plugin aims to eliminate that work, having a single set of events for a single object that handles IAP on whichever platform you export to. The initial release of this plugin has support for the Windows Store, CocoonJS, Blackberry 10, Amazon Appstore, and Tizen. Other platforms are not yet supported, but we will be looking in to adding support for others in future. And when we do, the same set of events should work for that platform as well, making porting a lot easier.

There's no documentation for this plugin yet but the basic usage is as follows:

  • On start of layout, use the Add product ID action to add the product IDs you will be using, e.g. "product1,product2,product3". (This is necessary since some platforms don't support requesting a list of available product IDs.)
  • After that (still on start of layout), use the Request store listing action. This downloads the names and prices of the given products. (Again, this is necessary since some platforms don't support making purchases until this information has been received.)
  • When On store listing success triggers, the product names and prices are available, and purchases can start being made or checked with Has product.

You can also flip the 'Test mode' property like you can with the Windows 8 object. This enables 'test', 'developer' or 'sandbox' mode on the appropriate store for testing. Don't forget to turn off test mode when publishing!

Note some platforms will have quirks: one that is possible is that some platforms might not update the status of the Has product condition until a few moments later, so try checking it regularly if it's not doing what you expect.

This is a pretty complicated plugin internally, even if it looks simple, because each store works differently with a completely different API. We've done our best to wrap everything in a consistent way so it seems to work the same everywhere, but there may be variations between platforms. It's also a difficult plugin to test since it has to be published all the way to the store to verify that it works. Please let us know if you run in to any issues.

Note the IAP plugin does not appear in the free edition. This is because the free edition is not allowed to be used for commercial purposes.



A new IAP (In-App Purchases) plugin, to handle IAP across platforms. Only available with a license


Intel XDK support: updated script tag references and updated some of the Audio object's support for XDK-specific audio functions


Tizen export: now specifies feature "" in config.xml to prevent Tizen store defaulting to only supporting 720x1280


CocoonJS physics now supports 'GetMass()'. Note CocoonJS physics is still missing 'SetAngularDamping' and 'SetBullet'.

Bug Fix

Error in r153 using non-physics behaviors when project set to use asm.js physics

Bug Fix

Tilemap: now works correctly with the Physics behavior, including making use of tile collision polygons. Note if you set any tiles at runtime it has to recreate the entire physics bodies for all the tiles in the tilemap which could be slow, so try to avoid changing tilemaps when they have the Physics behavior.

Bug Fix

Tilemap: TileAt expression would return 536870911 for erased tiles (oops!); now returns -1

Bug Fix

Audio: on Safari for iOS and Chrome for Android, now plays music straight away if started in a user input event (like 'On touch'). Previously the music would have still been queued up to be started in the next touch after that.

Bug Fix

Export project dialog: can now export to network shares for some export options (not all can do this though - some you will still have to export locally first)

Bug Fix

Platform: enabling/disabling the behavior on a moving platform could teleport the player back to the platform

Bug Fix

Audio: could not change music volume in Firefox

Bug Fix

Some issues with the drag and drop behavior in IE11

Bug Fix

Turret behavior: rate of fire did not take in to account the time scale


asmina22 2,403 rep

thanks you're doing great work , the updates are so frequent !

Friday, December 13, 2013 at 6:36:53 PM
firebelly 7,294 rep

I think that platform fix will help me! Thanks!

Friday, December 13, 2013 at 6:39:39 PM
sggs 3,575 rep

Thank you for simplifying the process.

Friday, December 13, 2013 at 6:45:00 PM
Paradox 42.1k rep

I think the excitement over this one crashed the website. ;-)
I managed to get in, but I think I was a guest when I downloaded.

Friday, December 13, 2013 at 6:45:24 PM
Dzaky Alkaff 2,153 rep

Nice Work !,
will be waiting for Realtime Multiplayer Online feature. :D

Friday, December 13, 2013 at 6:48:36 PM
BluePhaze 14.7k rep

Great Job guys! Here's to having cross platform functionality out of the box! Definitely a good start!

Friday, December 13, 2013 at 6:53:41 PM
Bl4ckSh33p 9,620 rep

Thank you very much! Very good fixes and changes. :)
Looking forward to In-App Purchases.

Friday, December 13, 2013 at 6:58:22 PM
damainman 8,015 rep

Good work guys! Awesome update!!

Friday, December 13, 2013 at 7:01:07 PM
iceangel 33.9k rep

That great news, a new update. Thanks

Friday, December 13, 2013 at 7:01:20 PM
ChrisAlgoo 4,004 rep

Just about everything in this update will help my team. Thank you!

Friday, December 13, 2013 at 7:02:11 PM
AnD4D 12.8k rep

Amazing! I've been waiting months for GetMass!!!

Thanks Scirra! I feel like this release is especially for me :)

Friday, December 13, 2013 at 7:06:27 PM
thehorseman007 14.8k rep

Great , I love In App Purchase, Tizen Export, CocoonJS Physics, and all those bugs and other improvements. Thanks and great guys , Keep up the good work .

This is the best Christmas Present for me in my life.:)

Thanks again C2 Team for you hard work.

Friday, December 13, 2013 at 7:13:18 PM
danialgoodwin 2,593 rep

Thank you very much for all your hard work!

Friday, December 13, 2013 at 7:18:32 PM
thehen 12.0k rep

This is great! I love the idea of cross-platform IAP. I'm assuming the platform-specific IAP will still be maintained for when we have different monetisation models on different platforms?

Friday, December 13, 2013 at 8:50:19 PM
aerirprown 3,645 rep

This is a great addition. Thanks, Scirra.

Friday, December 13, 2013 at 8:58:34 PM

Leave a comment

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