Notes
New this build: a new much-anticipated official Tween behavior, a new Drawing canvas plugin, and a new Advanced Random plugin! Note that from now on unless otherwise noted all changes are specific to the C3 runtime, as our development focus is moving to that.
The new Tween behavior makes it easy to make gradual changes over time, such as smoothly moving an object to a position over a few seconds. You can choose from a range of properties to tween, such as the angle or opacity, and also tween a number value so you can easily apply the tween to anything else you can set with events, such as effect parameters. This is the top request from our feature suggestion platform and we're pleased to finally provide it as an official feature!
The new Drawing canvas plugin provides a surface that you can draw your own content on to, such as filled/outlined rectangles/ellipses/polygons, gradients, lines and more, and also the ability to paste an object in to the canvas, including with any object effects. It's also a pure WebGL implementation for maximum performance and flexibility, being uniquely able to combine both general drawing commands and pasting objects with effects. This was also a top request on the feature suggestion platform!
The new Advanced random plugin provides some tools for advanced random number generation, including 2D and 3D random functions such as perlin noise. These can be used for things like procedurally generated level designs, generating tilemaps, or creating textures to use for effects. The core random number generator is even compiled with WebAssembly for maximum performance, since there can be some pretty intensive calculations involved.
These new features are all very fresh and just in their first iterations - there may be some more features we add further down the line, and be warned they may have issues given their newness. Still these represent some significant new features and capabilities for the C3 runtime!
As ever we have a batch of bug fixes as well. We've added several big new features since the last stable release, such as the iframe plugin, JSON plugin, Share plugin, Tile Movement behavior, particles object spawning, tiled background image transforms, audio fades, and screen recording, as well as the Tween behavior, Drawing canvas plugin and Advanced random plugin in this release. Our focus will now be to ensure everything is working smoothly to bring this all to a stable release, hopefully in the next few weeks. So if you've been sitting on any issues please make sure they are filed following all the guidelines soon to ensure we can look at them by then!