flixel v4.1.0 Release Notes
Release Date: 2016-07-10 // almost 8 years ago-
๐ New features:
FlxG.vcr
: added anOpenSaveDialog
argument tostopRecording()
(#1726)FlxSound
:FlxMouse:
addedenabled
FlxGamepadInputID
: added IDs for analog stick directions (#1746)- ๐
FlxG.watch
: addedaddExpression()
andremoveExpression()
(#1790) Console
:- added
watch
andwatchExpression
commands (#1790) - added
Reflect
,Std
,StringTools
,Sys
,Type
andFlxTween
to default classes
- added
CompletionHandler
: added locals declared withvar
to completionWatchEntry
:- added a remove button
- added
Float
rounding (toFlxG.debugger.precision
decimals) - added support for in- / decrement of numeric values via up / down keys
- added support for moving selection to start / end via up / down keys (non-numeric values)
FlxStringUtil
: addedisNullOrEmpty()
FlxDefines
: added inverted versions of allFLX_NO
-defines (e.g.FLX_DEBUG
forFLX_NO_DEBUG
)FlxTileFrames
: addedspacing
andborder
arguments tocombineTileSets()
andcombineTileFrames()
(#1807)FlxBitmapDataUtil
: addedcopyBorderPixels()
FlxGame
:GameWidth
andGameHeight
innew()
now use the window size if set to 0 (#1811)FlxPoint
: addedscale()
(#1811)FlxBar
: addednumDivisions
FlxBaseTilemap
: addedloadMapFromGraphic()
(#1525)FlxAnimation
: added the ability to setpaused
directly (#1538)FlxTilemap
: addedantialiasing
(#1850)- โ Added GLSL
shader
support forFlxSprite
,FlxTilemap
,FlxBar
andFlxBitmapText
(#1848) FlxGraphic
: added an optionalCache
argument tofromFrame()
FlxG.debugger
: addedvisibilityChanged
(#1865)
๐ Bugfixes:
- ๐
FlxText
: [Flash] fixed blurry lines on multiline texts withFlxTextAlign.CENTER
(#1728) - ๐
FlxSound
: fixedfadeOut()
andfadeIn()
not canceling the previous tween (#1834) - ๐
FlxGamepad:
[Flash] fixed potential range errors when checking axis values - ๐
CompletionListEntry
: fixed text width exceeding list width - ๐
FlxGame
: [HTML5] fixedticks
holding the current date's timestamp instead of ms since game start - ๐
FlxCamera
: fixed background scaling forzoom < 1
on native targets (#1588) - ๐
FlxBaseTilemap
: [Neko,HTML5] fixed invalid array access inoverlapsPoint()
(#1835) - ๐
FlxObject
: fixedoverlapsPoint()
at x / y = 0 (#1818) - ๐
FlxReplay
: fixed simultaneous recording of key and mouse input (#1739) - ๐
FlxVelocity
: fixedaccelerateFromAngle()
settingmaxVelocity
to negative values (#1833) - ๐ Fixed compilation with
hscriptPos
defined (#1840) - ๐
FlxDrawTilesItem
: fixednumTiles
value with color offsets - ๐
FlxBitmapFont
: fixed a crash related to incorrect UTF-8 handling (#1857) - ๐
FlxAtlas
: fixed a crash when the constructor is called withpowerOfTwo == true
(#1858) - ๐
FlxTween
: fixed nested tween chains (#1871) - ๐
FlxTypedGroup
: fixed recursion inforEachOfType()
(#1876) - ๐
Tracker
: [Neko] fixed a crash insetVisible()
(#1879) - ๐ Fixed some flixel-internal fields being accessible when they shouldn't be (#1849)
๐ Changes and improvements:
- ๐
Console
: removedresetState
,switchState
andresetGame
commands - โก๏ธ
FlxArrayUtil
: optimizedflatten2DArray()
FlxSpriteUtil
: changedalphaMask()
arguments fromDynamic
toFlxGraphicAsset
(#1806)FlxG.signals
: changedpreUpdate
to be dispatched afterFlxG.elapsed
is updated (#1836)FlxG.debugger
: changeddrawDebugChanged
to be dispatched afterdrawDebug
is updatedFlxDefines
: added a check for incompatible OpenFL / Lime versions (should be < 4.0.0 / < 3.0.0 respectively)