flixel v4.1.0 Release Notes

Release Date: 2016-07-10 // almost 8 years ago
  • ๐Ÿ†• New features:

    • FlxG.vcr: added an OpenSaveDialog argument to stopRecording() (#1726)
    • FlxSound:
      • added loopTime (#1736)
      • added a StartTime argument to play() (#1736)
      • added fadeTween (#1834)
      • added a setter for time (#1792)
    • FlxMouse: added enabled
    • FlxGamepadInputID: added IDs for analog stick directions (#1746)
    • ๐Ÿšš FlxG.watch: added addExpression() and removeExpression() (#1790)
    • Console:
      • added watch and watchExpression commands (#1790)
      • added Reflect, Std, StringTools, Sys, Type and FlxTween to default classes
    • CompletionHandler: added locals declared with var to completion
    • WatchEntry:
      • added a remove button
      • added Float rounding (to FlxG.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: added isNullOrEmpty()
    • FlxDefines: added inverted versions of all FLX_NO-defines (e.g. FLX_DEBUG for FLX_NO_DEBUG)
    • FlxTileFrames: added spacing and border arguments to combineTileSets() and combineTileFrames() (#1807)
    • FlxBitmapDataUtil: added copyBorderPixels()
    • FlxGame: GameWidth and GameHeight in new() now use the window size if set to 0 (#1811)
    • FlxPoint: added scale() (#1811)
    • FlxBar: added numDivisions
    • FlxBaseTilemap: added loadMapFromGraphic() (#1525)
    • FlxAnimation: added the ability to set paused directly (#1538)
    • FlxTilemap: added antialiasing (#1850)
    • โž• Added GLSL shader support for FlxSprite, FlxTilemap, FlxBar and FlxBitmapText (#1848)
    • FlxGraphic: added an optional Cache argument to fromFrame()
    • FlxG.debugger: added visibilityChanged (#1865)

    ๐Ÿ›  Bugfixes:

    • ๐Ÿ›  FlxText: [Flash] fixed blurry lines on multiline texts with FlxTextAlign.CENTER (#1728)
    • ๐Ÿ›  FlxSound: fixed fadeOut() and fadeIn() 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] fixed ticks holding the current date's timestamp instead of ms since game start
    • ๐Ÿ›  FlxCamera: fixed background scaling for zoom < 1 on native targets (#1588)
    • ๐Ÿ›  FlxBaseTilemap: [Neko,HTML5] fixed invalid array access in overlapsPoint() (#1835)
    • ๐Ÿ›  FlxObject: fixed overlapsPoint() at x / y = 0 (#1818)
    • ๐Ÿ›  FlxReplay: fixed simultaneous recording of key and mouse input (#1739)
    • ๐Ÿ›  FlxVelocity: fixed accelerateFromAngle() setting maxVelocity to negative values (#1833)
    • ๐Ÿ›  Fixed compilation with hscriptPos defined (#1840)
    • ๐Ÿ›  FlxDrawTilesItem: fixed numTiles value with color offsets
    • ๐Ÿ›  FlxBitmapFont: fixed a crash related to incorrect UTF-8 handling (#1857)
    • ๐Ÿ›  FlxAtlas: fixed a crash when the constructor is called with powerOfTwo == true (#1858)
    • ๐Ÿ›  FlxTween: fixed nested tween chains (#1871)
    • ๐Ÿ›  FlxTypedGroup: fixed recursion in forEachOfType() (#1876)
    • ๐Ÿ›  Tracker: [Neko] fixed a crash in setVisible() (#1879)
    • ๐Ÿ›  Fixed some flixel-internal fields being accessible when they shouldn't be (#1849)

    ๐Ÿ”„ Changes and improvements:

    • ๐Ÿšš Console: removed resetState, switchState and resetGame commands
    • โšก๏ธ FlxArrayUtil: optimized flatten2DArray()
    • FlxSpriteUtil: changed alphaMask() arguments from Dynamic to FlxGraphicAsset (#1806)
    • FlxG.signals: changed preUpdate to be dispatched after FlxG.elapsed is updated (#1836)
    • FlxG.debugger: changed drawDebugChanged to be dispatched after drawDebug is updated
    • FlxDefines: added a check for incompatible OpenFL / Lime versions (should be < 4.0.0 / < 3.0.0 respectively)