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
Transform
class, without the need to callnew Transform()
first. See the API documentation for more information. -
Support for the
global
binding is now disabled when targeting API level 4 and higher. Going forward, games should use the ECMA standardglobalThis
to 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
Transform
to 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#matrix
to be swapped. - Removes support for
global
when targeting API 4 or higher.