neoSphere 5.8.0
neoSphere 5.8.0 is a feature release. This version adds several new experimental APIs.
➕ Release Notes
-
It is now possible to construct standard transformation matrices directly using static methods of the
Transformclass, without the need to callnew Transform()first. See the API documentation for more information. -
Support for the
globalbinding is now disabled when targeting API level 4 and higher. Going forward, games should use the ECMA standardglobalThisto access the global object.
🗒️ What's Changed?
- Adds a new API,
Color.fromRGBA(), for constructing colors from 8-bit RGBA component values. - Adds a new API,
Transform.Identity, for quickly getting an identity matrix. - Adds new static methods to
Transformto construct basic transformations without the need to callnew Transform()first. - Adds a new predefined color,
Color.EatyPig. - Fixes a bug that caused the dimensions of
Transform#matrixto be swapped. - Removes support for
globalwhen targeting API 4 or higher.