MassiveHeights Black Versions Save

World's fastest HTML5 2D game engine   🛸

v0.5.13

2 years ago

Updated spine core to v4

v0.5.12

3 years ago

Minor fixes and improvements

v0.5.11

4 years ago

Added simple 'Camera' class Added System#onPaused and System#onResumed events Added Component#enabled property Added GameObject#xy property Added Vector#random method Added Rectangle#random method Added GameObject#removeAllChildren method Added ability to use OffscreenCanvas to measure the text

Fixed incorrect pointerUp message

Changed AssetManager to post complete even if the queue is empty Changed sounds to be auto paused on engine pause

Refactored Emitter

v0.5.10

4 years ago

Changes

  • Changed API: all static classes are moved into Black class
  • Changed Input to Black.input
  • Changed MasterAudio to Black.audio
  • Changed Time to Black.time
  • Changed AssetManager.default to Black.assets
  • Changed Black to `Black.engine
  • Changed bundler to Rollup
  • Changed Engine, MasterAudio, Input, Viewport to use __initialize method for initialization so constructor can be overriden
  • Changed Device to Black.device
  • Changed Device#isLandscape to Black.viewport.isLandscape, same for isPortrait.
  • Changed TextField#color to TextField#textColor

Bug Fixes

  • Fixed all circular dependencies
  • Fixed clipRect is not working for emitter
  • Fixed AssetManager dispose logic
  • Code and JsDoc cleanup

v0.5.9

5 years ago

New features

  • Added new stage scale mode - Cover! (Thanks to m31271n)
  • Added pivot and 9 slice grid support for Texture Packer exporter
  • Added ability to presimulate emitter
  • Added ability to dispose Black (WIP)

Changes

  • Orientation lock reworked. Added extra div element to control the rotation of the canvas.
  • Changed stage.orientation to viewport.orientationandStageOrientationtoOrientation`
  • Simplified scale logic (Thanks to m31271n)
  • Changed the way how native input events are iterated
  • Minor texture packer exporter improvements (Thanks to m31271n)

Bug Fixes

  • Fixed incorrect no audio warning
  • Fixed Arcade Physics not working when stage is locked is rotated
  • Fixed matrix vector transform in case when out vector is the same as input
  • Fixed arcade physics world bound for letter box
  • Fixed spine skip clipping (Thanks to rhyzx)
  • Fixed input not working with Orientation Lock
  • Fixed many incorrect JsDoc comments

v0.5.8

5 years ago

New features

  • Added useHiDPR property to control render quality on high DPI screens
  • Added ability to draw rounded rectangle
  • Added ability to load custom asset in AssetManager using CustomAsset
  • Added gradient and pattern support for Graphics

Changes

  • Changed empty clip rectangle to clip everything instead of nothing
  • Improved anchor performance

Bug Fixes

  • Fixed Orientation Lock still works when disabled
  • Fixed many GCC comments
  • Fixed bug causing colored sprite to render incorrectly
  • Fixed slice9grid not working as expected on colored sprites
  • Fixed bug causing Arcade physics to not cleanup colliders after removing objects from stage
  • Fixed Arcade physics units to be always within stage
  • Fixed clip rect not working on TextField
  • Fixed getTextures returning null for backed vectors
  • Fixed BVG quadratic curve math
  • Fixed many BVG rendering bugs and glitches
  • Fixed anchors not working in some cases

v0.5.7

5 years ago

Changes

  • Changed license to Simplified BSD!!!
  • Changed Emitter#state to be public
  • Added TextField#getAllStyles method which returns all styles

Bug Fixes

  • Fixed GameObject#relativeTo method
  • Fixed tiling sprite causing incorrect rendering of other Graphics objects

v0.5.6

5 years ago

New features

  • Added Graphics#cacheAsBitmapDynamic property allowing to disable auto refresh of bitmap cache

Bug Fixes

  • Fixed few Cache As Bitmap bugs causing Graphics and tiling sprite to render incorrectly
  • Fixed incorrect rendering of cached slice9grid texture
  • Fixed incorrect rendering of tiled texture from texture atlas

Examples & Docs

  • Added "Cache As Bitmap Dynamic" example

v0.5.5

5 years ago

New features

  • Added support for Black Vector Graphics (beta)
  • Added orientation lock support
  • Added Graphics to optionally accept either string or GraphicsData instance
  • Added skew via skewX and skewY properties in the DisplayObject
  • Added support for 9 grid slice
  • Added sprite tiling support
  • Added sprite wrapping support
  • Added svg2bvg tool which converts SVG files into BVG
  • Added bsa-gen tool to generate sound atlases from multiple audio files
  • Added Timer component
  • Added GameObject#relativeTo method to calculates GameObject's position relative to another GameObject
  • Added Graphics#quadraticCurveTo method
  • Added Graphics#setLineDash method
  • Added optional param isNonZero for Graphics#fill method to control winding order
  • Added GraphicsData class. Now you can have many graphics objects inside one Graphics GameObject.

Changes

  • Graphics internally changed and now supports nested graphics via GraphicsData object
  • Changed Black Texture Atlas format to support version number (internal)

Bug Fixes

  • Fixed incorrect font bounds on different platforms by changing the way how its calculated. Now it checks font height using pixel by pixel method. Line height is a bit smaller from now. But overall font metrics looks good and exactly the same on different browsers.

Examples & Docs

  • Added tutorial about how to use "bsa-gen" tool to generate sound atlas
  • Added tutorial about how to use "svg2bvg" tool and vector graphics in your app
  • Added tutorial about how to use texture atlases
  • Added 3 timer examples
  • Added "Vector As a Sprite"
  • Added "Orientation Lock" example
  • Added "Texture Repeat" example
  • Added "Slice 9 Grid" example
  • Added "Skew" example

v0.5.1

5 years ago
  • Fixed broken visible property
  • Fixed broken overhearing
  • Fixed missing Stage#onUpdate calls
  • Added TextField#highQuality property to control how TextField will be rendered
  • Added many tests