Les versions Beta ne sont pas autant testées que les versions Stables
More scene graph improvements; Mobile Ad IDFA changes; snapshot canvas area & more
08 September, 2020 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
We've continued to improve the scene graph feature in this release. First of all you can now choose which properties to apply to the child in the Add child action, much like you can choose which properties to pin with the Pin behavior. For example you can choose to follow just the position, and ignore the size and scale. Secondly the Add child action is a bit smarter about how it assigns instances: previously if you did SpriteA: add child SpriteB, and you had 1 x SpriteA and 10 x SpriteB, only one SpriteB would get connected to SpriteA. Now it will attach all 10 of them. Similarly if you have 5 x SpriteA and 10 x SpriteB, each SpriteA will be connected to consecutive pairs of SpriteB. Finally if you have 10 x SpriteA and 10 x SpriteB, it will still pair them up as it did before. Hopefully this makes it work more intuitively. We expect this will be it for new scene graph features or changes in this release cycle - the next stable release will include these runtime features, and then we'll move on to further features, such as editor features, in the next release cycle.
The Mobile Advert plugin has also been updated to handle changes regarding the IDFA (identifier for advertisers) on iOS 14+. You can now use the 'Request IDFA' action to prompt the user for access to use the IDFA, which may affect ad performance. Note using this requires both Xcode 12+ and iOS 14+, both of which are currently in beta - if you don't then it will act as if the feature is not supported. These changes were originally scheduled for iOS 14's initial release, but they have since been delayed until next year, so you have a few months to look in to making the necessary changes to your projects.
Finally there are new options in both the system Snapshot canvas and Drawing Canvas Save image action allowing you to snapshot or save a specific area of the canvas instead of the whole surface. For example now you can snapshot just a subset of the displayed game, e.g. just the area the player controls. Note the area is given in device pixels, so you may want to refer to the Platform Info's CanvasDeviceWidth/Height expressions, or the Drawing Canvas' new SurfaceDeviceWidth/Height expressions. As ever there's also a batch of bug fixes, particularly in the Animations Editor on mobile. Stay tuned for further updates!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r215
Nouveaux ajouts
Scene graph: new parameters in 'Add child' to choose which properties to apply
Mobile Advert: 'Request IDFA' action, 'On IDFA request complete' trigger, and 'IDFAState' expression to support changes on iOS 14+
System: new 'Snapshot canvas' options to specify the area to snapshot
Drawing canvas: new 'Save image' options to specify the area to save
Drawing canvas: expressions 'SurfaceDeviceWidth', 'SurfaceDeviceHeight'
Changements
Scene graph: 'Add child'/'Remove child' actions now assign instances intelligently depending on instance counts
Mobile Advert: update iOS Google Mobile Ads SDK to 7.64.0
Updated Closure Compiler with a bug fix that could have caused problems with 'Advanced' minify mode
Editor: ensure focus transfers to previously focused window after closing a dialog
Replace 'Pin behavior' example with 'Basic hierarchy', doing the same thing with scene graph instead
Corrections de bug
Animations editor: mobile layout sliding panels shown with a slight offset
Animations editor: prevent activating tool when dragging mobile sliding panels
Animations editor: prevent closing the dialog by doing a sliding gesture on the left side of a mobile device
Animations editor: prevent clicking through sliding panels in mobile
Animations editor: importing multiple frames at the same time was only guessing the collision polygon for the first one
Animations editor: crash attempting to use the reload from source option in the same session the project was saved to a folder
Z Order bar: moving instances directly into a different layer was adding them in the incorrect position
Loading very large folder-based projects could in some circumstances get stuck loading
9-patch: could render alpha incorrectly on corners in editor
Pathfinding: async regenerate actions would never be marked complete if used with invalid or empty region
Button: focus conditions/actions not working in checkbox mode
Partager Construct 3 la parution r215 maintenant