Skip to content

Latest commit

 

History

History
311 lines (293 loc) · 18.8 KB

CHANGELOG.md

File metadata and controls

311 lines (293 loc) · 18.8 KB

v.3.1.0

  • Refactor of FlxRandom
    • All functions are now deterministic and safe to use with replays
    • Due to the use of a new algorithm for pseudo-random number generation (linear congruential generator), old replays are no longer compatible
    • weightedPick(), weightedGetObject() and colorExt() have been added
  • New FLX_NO_SOUND_SYSTEM conditional
  • FlxTrailArea: Several improvements (can now be resized with setSize()), default delay is now 2
  • FlxMisc has been removed, openURL() can now be found in FlxG
  • FlxCamera: getContainerSprite() has been removed, as well as the underscore in some public variables ("_flashSprite")
  • AngleTween now accepts FlxSprite as a parameter
  • FlxSpriteGroup: Added forEach(), forEachAlive(), forEachDead() and forEachExists()
  • FlxSpriteUtil:
    • new drawTriangle() and drawPolygon(), fadeIn() and fadeOut() functions
    • more control for the drawing functions via FillStyle and DrawStyle
    • added convenient default values for drawCircle()
    • allow FlxObjects in screenWrap() and screenCenter()
  • FlxTypedButton refactor
    • Callbacks are now set via onUp.setCallback as opposed to setOnUpCallback
    • new labelAlphas and labelOffsets arrays for more control
    • the highlight frame is now disabled by default on mobile
    • "swiping" is now possible (enter button area while input is pressed to press it)
  • FlxTypedEmitter and FlxSound: Added setPosition() methods
  • FlxSlider: New setVariable flag, improvements to inner update logic
  • FlxSprite:
    • pixelsOverlapPoint() has been removed
    • loadfromSprite() -> loadFromSprite()
    • setGraphicDimensions() -> setGraphicSize()
    • added getGraphicsMidpoint()
  • Optimized input checking when using FlxG.keys (aka FlxKeyShortcuts)
  • FlxTypedGroup:
    • autoReviveMembers flag has been removed
    • Revive param has been added to recycle()
  • FlxRect, FlxPoint and FlxBasic and FlxObject now have toString() functions used for traces and the flixel debugger
  • The focus lost screen and the sound tray now react to window resizes
  • BUG: Fixed numpad minus not working as a default volume down key
  • FlxStringUtil.sameClassName() added
  • The stats window of the debugger has been refactored, now has fancy FPS and memory graphs
  • FlxGame.focusLostFramerate added
  • BUG: Fixed flixel cursor reappearing after regaining focus
  • Android sound caching improvement
  • Fixes for OUYA gamepad combatibility (fixed some button IDs in OUYAButtonID)
  • Fix for a bug in the standalone flash player that would fire onFocus / onFocusLost twice
  • Prevent paused sounds from playing after regaining focus
  • Several bug fixes and improvements to FlxText and FlxTextField classes
  • Renamed framerates to clear up confusion:
    • gameFramerate -> updateFramerate
    • flashFramerate -> drawFramerate
  • BUG: Fixed order of operations issue that was causing FlxSubStates to crash on close.
  • BUG: Fixed a splash screen repeating bug when using default splash screen.
  • Gamepad support improvements
    • Improvements and optimizations to gamepad api, fixed Ouya compatibility!
    • FlxGamepadManager: getActiveGamepadIDs(), getActiveGamepads(), getFirstActiveGamepadID(), getFirstActiveGamepad and anyInput() added
    • FlxGamepad: firstPressedButtonID(), firstJustPressedButtonID() and firstJustReleasedButtonID() added
    • Added PS3ButtonID and LogitechButtonID classes
  • Ported resolution policies from flixel for moneky (FlxG.resolutionPolicy / flixel.system.resolution) and removed FlxG.autoResize
  • Renamed FlxG.debugger.visualDebug to drawDebug
  • FlxTween optimizations
  • BUG: Fixed jittering movement of FlxObjects following a FlxPath
  • Removed FlxG.paused, it was a container variable without functionality
  • FlxRect: Added setSize()
  • BUG: Fixed changing color or alpha of a FlxText affecting its origin
  • BUG: Fix incompatiblity of FlxText.borderStyle and FlxText.alpha
  • Moved flixel.system.input to flixel.input
  • FlxArrayUtil.fastSplice() added
  • Moved interfaces into a new interfaces package
  • BUG: Fixed crash when using traces on android

v.3.0.4

  • Removed experimental FLX_THREADING conditional
  • Changes type of CHANGELOG and LICENSE files from .txt to .md - makes it more readable on github
  • FlxSpriteGroup: Default scrollFactor is now (1, 1) and upon adding sprites, their scrollFactor is snychronized
  • Now using the HaxeFlixel logo as an icon for the application by default again
  • FlxAnimationController: Additional null checks to prevent erros with FlxSpriteFilter
  • FlxG: addChildBelowMouse() and removeChild() added
  • FlxG.debugger.removeButton() added
  • Added toString() functions to FlxPoint and FlxRect
  • Console: Refactor which includes removing some commands and making it more flexible
  • FlxColorUtil: Now uses proper terminology (ARGB instead of the misleading RGBA)
  • FlxSprite: setGraphicDimensions() and updateHitbox() helper functions for working with scale added
  • FlxStringUtil: htmlFormat() and filterDigits() added
  • FlxMath: Improvements to sign() and chanceRoll()
  • FlxClickArea: Has been moved to flixel-addons
  • FlxText: Internal TextField is now accesible via textField
  • FlxTrailArea added, an alternative to FlxTrail which should be more performant
  • FlxBitmapUtil.merge() added

v.3.0.3

  • No changes to 3.0.2, just a fix for the faulty 3.0.2 haxelib release

v.3.0.2

  • FlxTilemap: Region size checks added to fix a bug
  • FlxSprite.setColorTransformation() added
  • FlxAngle.getAngle(): Round parameter added
  • FlxPreloader: Workaround for issue in Chrome, enabled by default again
  • FlxCollision.pixelPerfectCheck(): Now correctly works with rotated sprites
  • FlxSpriteUtil drawing functions: Support for RGBA colors, new lineStyle param
  • MouseEventManager: Fix pixel-perfect checks for touchscreens
  • FlxSpriteGroup: Get rid of motion variable (velocity etc) overrides to fix a bug with FlxPath, add width and height getters
  • Basic HTML5 gamepad support (Chrome and Opera)
  • FlxG.android added (supports the back and menu keys for now)
  • FlxGame constructor: Added StartFullscreen param for desktop targets
  • FlxTypedGroup: Added iterators / iterator(), forEach(), forEachAlive(), forEachDead(), forEachExists()
  • FlxColorTween now accepts FlxSprite as a parameter and it will change its color automatically
  • QuadPath doesn't generate control points anymore

v.3.0.1-alpha

  • Fixes to gamepad API.
  • Added tilemap scaling.
  • FlxSpriteGroup has been reworked and now extends FlxSprite instead of FlxTypedGroup
  • FlxCollisionType introduced
  • FlxDebugger: UI improvements, now remembers visibility settings of the windows
  • Compiler fix for Blackberry target.
  • FlxAssets: Fonts are no longer inlined so they can be changed
  • FlxMath: isDistanceWithin(), isDistanceToPointWithin(), isDistanceToMouseWithin() and isDistanceToTouchWithin() added
  • FlxG.fullscreen now works on cpp targets
  • FlxObject.inWorldBounds() added
  • LICENSE.txt cleanup

v.3.0.0-alpha

  • New Front End classes to better encapsulate FlxG functionality.
  • Refactored the animation system.
  • Better support for nested sprites via FlxSpriteGroup.
  • Moved lots of stuff into utility classe to reduce clutter in core classes.
  • Continued optimizations for cpp targets.

v.2.0.0-alpha.3

  • Fix for FLX_MOUSE_ADVANCED (wouldn't compile earlier)
  • FlxMath functions are Float-compatible. Thanks @Gama11
  • Fix for negative object width and height. Thanks @Gama11
  • Fix for FlxPath and FlxObject
  • Added Frame parameter for FlxSprite's play(). Now you can start animation from specified Frame
  • Added gotoAndPlay(), gotoAndStop(), pauseAnimation() and resumeAnimation() methods for FlxSprite
  • Added frameRate property for FlxAnim
  • Fixed camera scrollrect on html5 target
  • Fixes for reflection which caused crashes
  • Added tileScaleHack var for tilemaps and tileblocks. It should help with tilemap tearing problem
  • Fixed FlxWindow dragging bug
  • Fix null error bug with logging functions. Thanks @Gama11
  • Projects now use .xml instead of .nmml. Thanks @Gama11
  • Fixed facing for FlxSprite with TextureAtlas
  • FlxTrail improvements from Andrei Regiani (now it supports origin and scaling)
  • FlxSlider refactoring and fixes. Thanks @Gama11
  • Fixed FlxTextField.setFormat() to load font correctly
  • Fixed AntTaskManager. Thanks @Henry.T
  • Blocked sounds for html5 target (until i'll make them work there)
  • Fixed FlxU.formatTime to correctly display milliseconds. Thanks @jayrobin
  • Big refactoring regarding FlxPoint, FlxRect, FlxU (now it splitted into FlxAngle, FlxArray, FlxColor, FlxMath, FlxMisc, FlxRandom and FlxVelocity classes). Huge thanks @Gama11
  • Merged FlxMath, FlxColor and FlxVelocity plugins from FlixelPowerTools into utility classes from org.flixel.util package. Thanks @Gama11
  • Fixed FlxTypedGroup atlas setter
  • Fixed FlxBasic updateAtlasInfo() method
  • Added @:isVar to FlxButtonPlus x and y so they can be accessed from a derived class. Thanks @ProG4mr
  • Temp fix for logging on HTML5 / disable htmlText. Thanks @Gama11
  • Moved all color constants to FlxColor util and totally removed them from FlxG. Thanks @Gama11
  • Improved nape classes documentation. Thanks @Gama11
  • Added forceComplexRender property for FlxObject on flash target. It forces to use BitmapData's draw() method for rendering (smoother, but slower)
  • Added onComplete callback for FlxSound. Works on flash and desktop
  • Fixed for PxBitmapont's loadPixelizer() on html5. Now it should render without artifacts
  • Added FlxG.quickWatch() and renamed FlxString.formatHash() to FlxString.formatStringMap(). Thanks @Gama11
  • Added loadFromSprite() method for FlxSprite
  • Added support for animated sprites in FlxTrail
  • Added functions to hide, show and toggle the debugger to FlxG. Thanks @Gama11
  • Slightly better texture atlas handling. Now you can easily add support for new atlas format
  • Fixed tilesheet rendering (for latest openfl release)

v.2.0.0-alpha.2

  • openfl compatibility
  • Removed isColored() method from FlxCamera, since Sprite's colorTransform is working properly with drawTiles() now
  • Added XBox controller button definitions for Mac (took from HaxePunk)
  • FlxPath enhancement, it has pathAutoCenter property now (true by default) and setPathNode() method for direct change of current path node. Thanks @Gama11
  • Little fixes regarding new compiler conditionals and mouse input

v.2.0.0-alpha

  • Perfomance optimization: merged preUpdate(), update() and postUpdate() methods. So you should call super.update(); from your classes.
  • A little bit better TexturePacker format support for FlxSprite
  • Added missing button definitions for XBox controller to FlxJoystick. Thanks @volvis
  • Bitmap filters for FlxSprite and FlxText now works on native targets. Thanks @ProG4mr
  • Added experimental update thread. Thanks @crazysam
  • Fixed FlxTilemap for multiple map loading. Thanks @SeanHogan
  • Added FlxAssets.addBitmapDataToCache() method for more control over image caching
  • Added drawCircle() function to FlxSprite. Thanks @Gama11
  • Added method for updating tilemap buffers, usefull for camera resizing. Thanks @impaler
  • FlxEmitter Improvements: added scaling, fading and coloring. Thanks @Gama11 for the idea and help
  • Added powerfull Console to FlxDebugger. Thanks @Gama11
  • Improved logging and variable watching functionality. Thanks @Gama11
  • Added move function to FlxObject. Thanks @sergey-miryanov
  • Fixed FlxTilemap's arrayToCSV() method on neko target. Thanks @pentaphobe
  • Added optional right and middle mouse button support. Use FLX_MOUSE_ADVANCED compiler conditional. Thanks @Gama11
  • Added FlxColorUtils class. Thanks @Gama11
  • Added new compiler conditionals: FLX_NO_FOCUS_LOST_SCREEN and FLX_NO_SOUND_TRAY compiler conditionals. See template.nmml file for details. Thanks @Gama11

v1.09

  • Fix for FlxSprite.fill() on cpp targets
  • Now you can pass BitmapData to FlxTilemap's loadMap() method
  • Added Nape support (thanks @ProG4mr). See org.flixel.nape package
  • FlxText can be static (i.e. non-changable) now. This can be usefull for cpp targets
  • FlxCamera improvements: lerp, lead and following (thanks @ProG4mr)
  • Refactored input system (thanks @impaler). Added new compiler conditionals for switching off unnecessary inputs - see template nmml-file.
  • Tilesheet rendering for html5 target (it is much faster than blitting)
  • Added new compiler conditionals for switching off debugger and recording systems - see template nmml-file (thanks @impaler)
  • Improved Joystick support (thanks @crazysam)
  • Added FlxTypedGroup - much less casting in the engine's code. Plus you can use it too
  • Updated getters/setters (for Haxe 3 compatibility)
  • Replaced Math.floor() with Std.int where it was possible
  • Fix for FlxSprite's porting (now it works correctly)
  • Added filters functionality for FlxSprite (thanks @ProG4mr). Works on flash target
  • Fix for FlxBar - now they rotate correctly
  • Initial support of TexturePacker format - see org.flixel.plugin.texturepacker (thanks @sergey-miryanov)
  • Refactored drawing methods - now they are more readable and compact (thanks @sergey-miryanov)
  • Initial SubState support (thanks @IQAndreas for his AS3 code)
  • MouseInteractionMgr - mouse events for FlxSprite (thanks @ProG4mr)
  • Fix for null Params arrays for callbacks in FlxButtonPlus
  • Pausing cameras when the game is paused
  • Many other little improvements, fixes and optimizations from FlixelCommunity, @impaler, @crazysam, @ProG4mr and others

v1.08

  • New draw stack rendering system for cpp and neko targets (replacement for layer system). It is simpler to use but little bit slower.
  • NME 3.5.1 compatible
  • Bug fixes for FlxText (shadow problem) and tweening (for oneshot tween)
  • FlxTextField class now works on flash target also and can be used as input field, but I've removed multicamera support
  • Small optimizations from @crazysam
  • Added FlxBackdrop addon class
  • Added TaskManager addon (ported from AntHill: https://github.com/AntKarlov/Anthill-Framework)
  • Added onFocusLost() and onFocus() methods to FlxState class. These methods will called when app losts and gets focus. Override them in subclasses.

v1.07

  • New layer system for cpp and neko targets. See https://github.com/Beeblerox/HaxeFlixel/wiki/Introduction-in-layer-system-%5BEN%5D
  • Fixed draw position round issue for cpp and neko targets. It uses less math methods and more accurate now.
  • Added drawTiles() counter in debugger output (on cpp and neko targets).
  • Added BACKWARD and PINGPONG tween types. Thanks @devolonter!
  • Added cancel() method to FlxTween
  • Added initial support for html5 target. But it's very-very slow
  • Added NestedSprite addon. It is some sort of display object container, a very limited one, but powerfull enough (it's not in finished state right now but usable).
  • Added FlxTrail class (thanks @crazysam)
  • Fixed ZoomCamera addon class
  • Change FlxEmitter behavior, so it can kill itself when all particles are dead
  • Fixed FlxCollision plugin, so all of it's method are working on flash, cpp and neko targets
  • Added FlxGamePad and FlxAnalog controls (initial state). Thanks to WingEraser for his Flixel-Android port (I took them from there).
  • Lots of small fixes, changes and tweaks (thanks to Samuel Batista aka crazysam and @FlixelCommunity)

v1.06

  • Added FlxKongregate plugin (flash only). Thanks to goldengrave for porting this class.
  • Fixed bug with FlxButton's makeGraphic() crashing on cpp and neko targets.
  • Fixed bug with VarTween and MultivarTween on Haxe 2.10
  • Fixed bug when FlxGroup's tweens weren't updated
  • Added new logo. Huge thanks to Impaler!!!
  • Added StarfieldFX class from FlixelPowerTools.

v1.05

  • Fixed bug with animation callback for FlxSprite on cpp target
  • Ported FlxButtonPlus class from FlixelPowerTools
  • Fixed Android sound issue. Thanks to Adrian K. (@goshki) for testing
  • Added FlxSkewedSprite class (see skewedSprite example on github repo). This class isn't optimized for flash target
  • Added loadFrom() method for FlxSprite. So you can easily copy graphics from one FlxSprite to another. This is especially usefull for cpp target. Thanks to Phoenity for this idea
  • Initial support for Haxe 2.10
  • Added basic support for multitouch (see FlxG.touchManager and multitouch example on github repo). Flash version requires Flash Player 10.1 now.
  • Compile fix for FlxPreloader on mac platform. Thanks to Talii for it.
  • Integrated tweening system from HaxePunk (Thank you, Matt Tuttle). All FlxBasic's subclasses have this functionality now. See addTween(), removeTween(), clearTweens() methods of FlxBasic instances and 'org.flixel.tweens' package.
  • Added basic support for Joystick input (See FlxG.joystickManager and org.flixel.system.input.Joystick and org.flixel.system.input.JoystickManager classes for details). I need someone to test it.

v1.04

  • Fixed bug with FlxCamera's color property on cpp target. Sorry for it

v1.03

  • Updated rendering system for cpp target so it uses 2d tile transformations now (which means non-uniform scaling is working now)
  • FlxBitmapTextField's background property is working on cpp target now
  • Replaced FlxDictionary with ObjectHash (for FlxControlHandler plugin)
  • Added BTNTileMap class (which can be found in org.flixel.addons package) from http://bullettimeninja.blogspot.com/2012/01/lasers-and-ray-casting.html
  • Added ZoomCamera class (also in org.flixel.addons package) from http://bullettimeninja.blogspot.com/2011/09/zoom-camera.html
  • Made a little optimization for FlxSprite's onScreen() method for cpp target (not using Math.sqrt() now)
  • Added width and height getters/setters for FlxCamera on flash target
  • Made small optimizations in rendering for cpp target (the way it pushes and splices draw data)
  • Fixed pixelPerfectPointCheck() method from FlxCollision plugin
  • Made pixelPerfectCheck() method from FlxCollision plugin work on flash only. It's always returns false on other targets. Sorry:(
  • Fixed FlxCamera's bug with changing it's size (width, height and zoom)

v1.02

  • Ported FlxBar class
  • Added FlxBitmapTextField class (background property isn't working on cpp for now)
  • Added PxButton class which uses FlxBitmapTextField for text rendering
  • Replaced Dynamic with appropriate types (where it was possible)
  • Improvements in FlxQuadTree and FlxObject (less garbage)
  • Changed TileSheet creation process to insert gaps between frames. This should solve 'pixel bleeding' problem

v1.01

  • Finally ported FlxPreloader class
  • Fixed issue with FlxTextField class when it wasn't affected by fade() and flash() effects (on cpp and neko targets)
  • Improvements in memory consumption for FlxTileBlock and FlxBitmapFont classes
  • Updated lib to work with haxe 2.09
  • Ported FlxGridOverlay from Flixel-Power-Tools

v1.00

  • Initial haxelib release