Les versions Beta ne sont pas autant testées que les versions Stables
Layer 'interactive' setting; scripting updates; bug fixes
01 February, 2022 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
This release adds a much-requested feature: layers now have an interactive setting that can be turned off so the layer does not respond to click or touch input. This makes it easy to ensure layers get out of the way of inputs, such as menus on layers that are made invisible. There is both a layer property for the initial setting, and it can be changed and checked at runtime too.
There's also a set of new scripting APIs, including support for the new sub-layers feature, and the ability to access Sprite's set of animations and their animation frames. As usual there's another new example project and a batch of bug fixes. We'll now be focusing on reliability and working towards a stable release in the next few weeks. So happy testing and as ever if you run in to any problems please file an issue following all the guidelines!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r281
Nouveaux ajouts
Layers can now turn off 'interactive' option so they don't respond to mouse/touch input
Example Browser: more detailed results footer with extra clear options
Changements
Update 'Foggy outbreak' example to better handle transparency with fog
Corrections de bug
Some icons not showing in new Start Page/Example Browser
Shadow Light: position was incorrect when a child in a hierarchy
Platform behavior: did not fall down if standing on Jumpthru behavior that was then disabled
Platform behavior: could incorrectly trigger 'On landed' after hitting moving ceiling
Drawing Canvas: 'Paste object' with another Drawing Canvas with effects did not work
Scripting updates
Add ILayer properties isInteractive, isSelfAndParentsInteractive
Add ILayer property parentLayer, generators parentLayers(), subLayers(), allSubLayers()
Change ILayer isVisible property to return layer's own state; add isSelfAndParentsVisible property
Fix incorrect ILayer index property on sub-layers
Add ILayout allLayers() generator
Add IAnimation and IAnimationFrame interfaces
Add ISpriteInstance property 'animation', method getAnimation(name)
Partager Construct 3 la parution r281 maintenant