Les versions Beta ne sont pas autant testées que les versions Stables
Instant Games updates; new Playable Ads exporter; bug fixes
14 January, 2019 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
In this release we've made a number of improvements for Facebook Instant Games. Firstly Instant Games now requires an additional file (fbapp-config.json) so the standard Web (HTML5) export cannot be uploaded directly any more. To fix this, there's now a separate new Instant Games export option which also generates this file for you, so the export can be directly uploaded again. We've also added support for a number of requested extra Instant Games features, such as changing context and custom updates. While most new features will only be supported in the new C3 runtime, in this case we did also go back and add the new Instant Games features to the C2 runtime as well.
Note that from this release onwards, you must use the Instant Games export option for the Instant Games plugin to work. Additionally note that there is a breaking change in the Instant Games Show ad action: it now lets you pick which ad type to show, but existing projects will default to Interstitial. To show a Rewarded video ad you must change the Show ad action to specify that type instead.
In addition to that there's a new and currently experimental Facebook Playable Ads export option. This is designed to export projects compatibile with the Playable Ad format, which imposes a range of tight restrictions. The primary restriction is that the export must be a single file, with everything inlined in to index.html. This is a tough restriction to comply with, so not all features may work in this mode (notably no network requests are allowed, so anything involving loading a remote URL will not be allowed). The file size limit is also very low (currently 2 MB) - it's not clear if this is taking in to account compression or not, but it probably means it's only suitable for small, simple games, so it's unlikely you'll be exercising the full range of Construct's features anyway. There's also a new On CTA click action in the Facebook plugin which you'll need to use for Playable Ads (which calls the required FbPlayableAd.onCTAClick() function). Note this exporter is only available for projects using the new C3 runtime. Hopefully despite all these tight restrictions it will still be a useful way to build Playable Ads! If you use it, let us know how it works out - we're interested to hear any feedback.
Finally as ever there's a range of other additions and bug fixes, particularly around the Animations Editor and JSON plugin. See the changelog for full details!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r134
Nouvelles fonctionnalités
New 'Facebook Playable Ads' export option (C3 runtime projects only)
Nouveaux ajouts
New 'Facebook Instant Games' export option, which generates the now-mandatory fbapp-config.json file
Instant Games: 'Change context' action (based on chooseAsync) and 'On context changed' trigger
Instant Games: 'Custom update' (based on updateAsync with CUSTOM action), 'Switch game' and 'Subscribe to bot' actions
Instant Games: 'Show ad' action can now specify the ad type to show
Facebook plugin: add 'On CTA click' action, for use in Playable Ads
JSON Plugin: Push value/Pop value actions for adding/removing values at the start/end of an array
JSON Plugin: Front/Back expressions for retrieving values from the start/end of an array
Changements
C3 runtime: adjusted "not supported" message for clarity
Data editor: row/column size customisation now saved to project
Corrections de bug
Exporting projects with "Minify script" enabled not working in r133
C3 runtime: web fonts with spaces in the name could fail to load after export
C3 runtime: Google Play plugin prevented runtime starting if failed to load
Tween Behaviour: take in to account instance's own time scale
Animations Editor: collision polygons could restore incorrectly after undoing a batch of changes
Animations Editor: lines with thickness greater than 1 not draw around the edges
Animations Editor: avoid drawing lines of length 0
Animations Editor: image points misplaced after cropping with 1px padding
Cloud Save: folder entries cache could become corrupted if a network request failed
Amélioration des performances
JSON Plugin: cache lookups to optimise modifying multiple children of the same parent
Partager Construct 3 la parution r134 maintenant