HaxeFlixel is as the name suggests an implementation of the Flixel game framework using the Haxe programming language. Flixel is an incredibly easy to use game library for creating 2D games from back in the Flash/ActionScript days. It is an incredibly easy to use framework and due to the nature of Haxe, it is easily ported (or technically compiled) to a variety of different platforms. I like HaxeFlixel to the point that I actually did a pretty in-depth tutorial series on getting started with it.
We discuss HaxeFlixel today because HaxeFlixel 5.9.0 was just released with the following changes:
FlxInputText
: Add improved input text to core flixel (flixel-ui’s implementation will be deprecated) (#3219)FlxReplay
: AddgetDuration
(#3135)InputFrontEnd
: (#3134)- Add
addInput
andaddUniqueType
to replaceadd
- add
destroyOld
arg to thereplace
method - Allow more than one instance of a certain
IFlxInputManager
type
- Add
SoundFrontEnd
: AddonVolumeChange
signal (#3148)FlxBasePath
: (#3153)- Create base class for
FlxPath
for simpler custom path following logic - Add signals
onEndReached
,onFinished
andonNodeReached
- Replacement fields:
startAt
,direction
,loopType
,target
,currentIndex
,nextIndex
,current
andnext
- Create base class for
FlxGraphic
: AddtrackingInfo
to help debugging graphics (#3183)FlxFlicker
: Addpause
andresume
(#3179)FlxRect
: AddclipTo
and fixintersection
bug (#3190)FlxPointer
: AddgetGamePosition
,gameX/Y
,getViewPosition
, andviewX/Y
, to replace “screen” fields (#3210)FlxAnimationController
: AddonLoop
,onFrameChange
andonFinish
, to replacecallback
andfinishCallback
(#3205) (#3216)FlxStrip
: Add support for blendmodes (#3213)FlxTextBorderStyle
: Add SHADOW_XY, prevent border clipping (#3236)LogStyle
: AddonLog
signal to replacecallbackFunction
(#3239)(#3307)FlxBar
: Add custom border sizes (#3234)- Gamepads: Add
acceptMode
and “mapped inputs” (#3276) (#3280)- Add
ACCEPT
andCANCEL
input IDs that conditionally map to eitherA
orB
depending onFlxG.gamepads.acceptMode
- Add
gamepad.getMappedInput
to get an anum value of every possible gamepad input from various devices, i.e.PS4(PS4ID.X)
- Add
FlxG.assets
: A way to overwrite and customize the way HaxeFlixel fetches or produces assets from ids (#2982)FlxG.cameras
: Addinsert
method (#3290)FlxSave
: Allow custom handling of parsing errors (#3286)FlxDirectionFlags
: Addup
,down
,left
andright
fields (#3303)FlxG.assets
: AddgetSoundAddExt
(#3311)FlxG.assets
: Add-DFLX_DEFAULT_SOUND_EXT
to automatically append file extension to sound asset ids (#3314)
Key Links
HaxeFlixel 5.9.0 Release Notes
You can learn more about FlaxPixel and the 5.9.0 release in the video below.