Les versions Beta ne sont pas autant testées que les versions Stables
New beta cycle: nested timelines & lots more!
04 May, 2020 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
It's the start of a new beta release cycle, and we have a big update for you today! The main new feature is the ability to use nested timelines. The Timeline Bar now supports adding an existing timeline at a position in another timeline. Nested timelines can also include further nested timelines, so it is quite easy to create complex structures. This is particularly useful for things like chaining timelines together - previously you would have to set up events or use keyframe tags, which could be cumbersome. While in the editor, a nested timeline becomes part of the main one, so the preview works as if it was a single timeline. At runtime everything continues working as before, so no changes there if you don't need to use this feature. This has been quite a long time in the making and we hope you find this useful!
Other key changes include:
• Cloud Save with Google Drive now shows shared folders that you have write access to. This should be useful for conveniently sharing your work with others.
• Physics now defaults to framerate independent. This is to ensure it works at the same speed on devices with different display refresh rates. However it also means it can be non-deterministic due to variations in frame times, which means physics can work slightly differently each time even with the exact same inputs. You can always opt back in to framerate-dependent mode with the 'Set stepping mode' action, but this will then cause physics to work at different speeds depending on the device. It's probably best to use framerate independent mode, and adjust your project to be more reliable if necessary.
• Worker mode has a new default mode Auto, which means Construct decides whether to turn it on. Currently this means it is turned off if you use any scripting at all in your project, otherwise it's turned on. This is intended to make sure beginners using scripting don't run in to unexpected problems due to the code running in a Web Worker. You can still force it enabled or disabled by changing the Use worker property to Yes or No.
• Note a potentially breaking change in how timelines handle absolute result modes.
There's even more in the full changelog below, including the new ability to access sprite collision polygon points, physics contact points, and more, and as ever a batch of bug fixes. Happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r198
Nouvelles fonctionnalités
Nouveaux ajouts
Google Drive cloud save: now also lists shared folders that you have write access to
Sprite: expressions 'PolyPointCount', 'PolyPointXAt' and 'PolyPointYAt' to get collision polygon point positions
Physics: expressions 'ContactCount', 'ContactXAt' and 'ContactYAt' to get list of contact points
Move To behavior: specify image point for 'Move to object'
Line-of-sight behavior: specify image point for 'Has LOS to object'
Browser: 'Set hash' action, 'On hash changed' trigger
Browser: 'Port' expression
Changements
Timelines: a timeline using absolute result mode now overrides all other changes (breaking change)
Physics: now defaults to framerate-independent mode (possible breaking change)
'Use worker' property has new default 'Auto' mode
Layout View: drag-dropped SVG files now use a more appropriate size
Mobile advert: update Google Mobile Ads SDK to 7.58.0
Animations editor: improve the flood fill tolerance algorithm
Corrections de bug
Tilemap bar: tile collision polygons not drawn after using the eraser tool
Tilemap bar: show error feedback when loading invalid map files
Animations editor: minor color changes when swapping between the primary and secondary color
Animations editor: possible crash using the rectangle select tool
Sprite: 'On frame changed' could incorrectly trigger at end of animation
Mirrored/flipped objects rendered incorrectly with background-blending effects
MoveTo: ensure stops on solid closer to solid
iOS: did not always show on-screen keyboard when focusing a text input
Pressing 'Escape' to cancel a dialog in a popup window did not always work
Scripting updates
Sprite: getPolyPointCount(), getPolyPointX(), getPolyPointY(), getPolyPoint() methods
Sprite: getImagePointCount() and getImagePoint() methods
Physics: getContactCount(), getContactX(), getContactY(), getContact() methods
Fix crash autocompleting localVars inside a function block
Partager Construct 3 la parution r198 maintenant