v3.0.0 - new features & improvements
This release features many changes that fix and improve current code, and add new features.
New:
Quaternion
: This class represents 3D spatial rotations, and provides an interface to work with them.Object3D
: This class provides an easy interface to Spark's SceneObjects.Pool
: This class allows easy dynamic instance spawning.World.onNextTick
provides an event that is triggered on the next frame.- Plugins: Plugins allow the creating of external files that are loaded by Volts to extend its capabilities. An example of this is the
oimo
. plugin, which gives theObject3D
class RigidBody physics capabilities.
Improvements:
- The snapshot system has been changed and now allows for the snapshot-ing of QuaternionSignals.
- Concurrent promises. Now Volts can perform many asynchronous tasks at once.
- Better error and log messages.
- Writeable Vectors and Quaternions can be created by simply accessing the
signal
property. - New functions have been added to
Vector
, including:Vector.fromSignal
,Vector.random2D
,Vector.random3D
,setMag
,toArray
,setSignalComponents
,disposeSignalResources
.
Fixes/ other changes:
State.setKey
is nowState.setValue
.- Single assets are not casted to arrays anymore
Notes:
- Object3D.makeRigidBody and the Oimo physics plugin are still beta capabilities. Feedback is, as always, welcomed. #6
There are many bug fixes which are not listed above.