Skip to content

neoSphere 5.8.0

Compare
Choose a tag to compare
@fatcerberus fatcerberus released this 24 Mar 01:47
· 40 commits to main since this release

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 call new 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 standard globalThis 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 call new 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.