flixel v3.2.0 Release Notes

Release Date: 2014-02-21 // about 10 years ago
    • โž• Added PixelPerfectScaleMode (scales the game to the highest integer factor possible while maintaining the aspect ratio)
    • FlxTween
      • backward is now a public, read-only property
      • renamed delay to startDelay
      • added loopDelay that controls the delay between loop executions with LOOPING and PINGPONG
      • Added easier to use FlxTween.tween() function, which automatically determines whether to use single VarTween or MultiVarTween based on the number of Values being tweened
    • โž• Added some basic unit tests
    • ๐Ÿšš FlxCamera: removed followAdjust(), the followLead point should be set directly
    • FlxSpriteUtil.screenWrap(): prevent sprite from ever being offscreen
    • FlxSprite:
      • fixed crash on cpp with loadRotatedGraphic() on state switches
      • fixed "jittering" in certain cases with y velocity in simple render on flash (for example when standing on a platform in a platformer)
    • ๐Ÿšš Moved FlxTilemap-functions arrayToCSV(), bitmapToCSV() and imageToCSV() to FlxStringUtil
    • FlxMath.computeVelocity() -> FlxVelocity.computeVelocity()
    • FlxState.setSubState() -> FlxState.openSubState()
    • โž• Added FlxStringUtil.getDebugString()
    • ๐Ÿ‘Œ Improvements to FlxSystemButton
    • Window: add optional close button
    • ๐Ÿ”ฆ Exposed complete callback in FlxTimer, so now you can do: FlxTimer.start(...).complete = function(t) { };
    • ๐Ÿ›  Fixed a bug with onFocus() not firing the first time on Android
    • FlxTypedButton
      • added allowSwiping flag
      • added allowHighlightOnMobile flag