Releases: MassiveHeights/Black
Releases · MassiveHeights/Black
v0.5.13
v0.5.12
v0.5.11
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
Changes
- Changed API: all static classes are moved into Black class
- Changed
Input
toBlack.input
- Changed
MasterAudio
toBlack.audio
- Changed
Time
toBlack.time
- Changed
AssetManager.default
toBlack.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
toBlack.device
- Changed
Device#isLandscape
toBlack.viewport.isLandscape
, same forisPortrait
. - Changed
TextField#color
toTextField#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
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.orientationand
StageOrientationto
Orientation` - 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
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
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
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
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
andskewY
properties in theDisplayObject
- 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
forGraphics#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