Les versions Beta ne sont pas autant testées que les versions Stables
New 'Follow' behavior; Tween updates; bug fixes & more
05 March, 2024 ()
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're adding a brand-new behavior: the Follow behavior! If you've ever wanted a "companion" who follows the player around, this behavior makes that easy: you can set the companion to follow the player on a delay, and then they'll go everywhere the player does. More generally, this behavior remembers a history of the followed object for a period of time in a memory and performance efficient way. This provides additional capabilities like being able to record and replay movements, and even a "rewind time" style feature, where the player can go back in time and then continue from an earlier point. There are four new examples for this behavior that you can find in the Example Browser which demonstrate how this can be achieved.
We've also made some changes to framerate handling to clear up some confusion. Firstly, the standard frames per second (FPS) measurement previously actually measured ticks per second, and so could still read 60 FPS even if nothing was being rendered, which happens when nothing is changing. We've changed it to now only measured rendered frames per second, so it will drop to 0 when nothing is being rendered. We've added back a separate ticks per second (TPS) measurement which reflects the old measurement. This all makes it clearer to identify the rate at which frames are drawn and ticks are processed, which are not always the same. We've also changed the 'Set min/max framerate' action to 'Set min/max delta-time' to more accurately reflect what it does, as using the term 'framerate' is a bit misleading there.
Other than that there's some updates to the Tween behavior, Flowcharts, and a few bug fixes. Note we're also enabling WebGPU by default (when 'Auto' is selected) for the runtime in beta releases only, to help get wider testing of WebGPU. It will likely remain off by default for the next stable release to make sure it's ready, but this is a step on the way to having it on by default everywhere. Happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r382
Nouvelles fonctionnalités
'Follow' behavior: follow another object on a time or distance delay
Nouveaux ajouts
Tween behaviour: 'Is ping-pong' condition
Tween behaviour: 'PlaybackRate' expression
New examples 'Cell linking', 'Simple synth', 'Tower climbing'
Platform Info: expressions 'FramesPerSecond' and 'TicksPerSecond'
4 new examples for the 'Follow' behavior
Changements
Flowcharts: allow connecting multiple outputs of a node into the same input
Replace 'Set min/max framerate' action with 'Set min/max delta-time'
FPS measurement now only measures rendered frames
Project WebGPU mode 'Auto' now means enabled for beta releases only
Corrections de bug
Layout View: possible crash trying to copy too much data
Possible crash undo/redoing changes involving meshes
Animations editor: properly style the settings dialog for light/dark themes
Improve robustness of offline caching for very large projects
Scripting updates
Replace IRuntime properties 'minimumFramerate'/'maximumFramerate' with 'maxDt'/'minDt'
Add IRuntime properties 'framesPerSecond', 'ticksPerSecond'; deprecate 'fps'
Partager Construct 3 la parution r382 maintenant