minisphere 4.2.0
minisphere 4.2.0 is the second minor release in the minisphere 4.x release series, introducing a new joystick API for Sphere v2, an accompanying joy module, and TextEncoder and TextDecoder support.
Breaking Changes
- minisphere now includes support for the Encoding API (
TextEncoderand
TextDecoderobjects). However, only UTF-8 is currently supported. Future
versions of minisphere will support more encodings. - The Sphere v2 subsystem now natively supports joystick input. Games using
the Sphere 1.x joystick functions will continue to work as before; however,
the new joystick API is much more flexible and should be preferred when
writing new code. kbis now calledkeyboard. This should make keyboard input code clearer,
but any existing Sphere v2 code will need to be updated.
Changes in This Version
- Adds native joystick support to the Sphere v2 API. Previously, using a
joystick or gamepad required calling Sphere v1 legacy functions. - Adds a new module to miniRT,
joy. This provides a simplified joystick
interface for games that don't need the full flexibility of the Sphere v2
Joystick API. - Adds W3C Encoding support (
TextEncoderandTextDecoderobjects) to the
Sphere v2 API. This allows reading and writing text from ArrayBuffer views. - Simplifies the FileStream API. All methods for reading and writing typed
values from files have been removed, leaving onlyread()andwrite()
which deal with ArrayBuffers directly. - The
kbbuilt-in object is now calledkeyboard, making keyboard input code
significantly easier to read at the cost of some extra verbosity. - Fixes a long-standing map engine bug where the input person(s) can't be moved
with the joystick.
Installing in Windows
Simply download and run minisphereSetup-4.2.0.exe. The Inno Setup install wizard will walk you through the installation process.
Installing in Linux
For Ubuntu (14.04 and later), minisphere is available via personal package archive (PPA):
Installing from a PPA is easy. Simply open Terminal and run the following commands:
sudo add-apt-repository ppa:fatcerberus/minispheresudo apt-get updatesudo apt-get install minisphere
You only need to do this once. The system will automatically notify you of future minisphere updates.
For other Debian distributions such as Linux Mint or Debian itself, simply download one of the .deb packages below. Users of 32-bit systems will want minisphere_4.2.0_i386.deb, while 64-bit users should download minisphere_4.2.0_amd64.deb. Once downloaded, simply double-click the file and your package manager will guide you through the process of installing the package.