Some helper classes for Haxe that I like to use :D
Tween
classAnimationManager
classAnchor
classreset()
active
get_remaining()
paused
publicset_active()
parse_json()
rand()
chunk()
Dynamic
in_circle()
rad_between()
los()
publicArrayExt.a_star()
equals()
remove_duplicates()
a_star()
get_random_gaussian()
parse_json()
equals()
toString()
to_hex_24()
get_grid_layer()
Dynamic
names in favor of String
sregister_listener()
to listen()
deregister_listener()
to unlisten()
deregister_all()
to unlisten_all()
Dynamic
names in favor of String
sradians
Fixes:
Color.from_int32()
Changes:
FloatExt.to_vec4()
to FloatExt.to_color()
StringExt.get_random()
Color.rgba_to_hex()
to Color.to_hex()
New Additions:
normalize()
and denormalize()
back to Range
Color.equals()
EventBus
to utilitiesEnumExt
to extensionsAchievements
to utilitieszero.extensions.Tools
as a way to save time using all of the extensionsThis update removes ALL dependencies for zerolib, so this library is no longer a flixel utility library, but a generic haxe utility library! You can find all of the old flixel stuff (plus some new updates) over at zerolib-flixel
!
Updated:
zero.ext
to zero.extensions
zero.util
to zero.utilities
a_star()
to ArrayExt
IntPoint
gets rewritten and adds lots of functionalityRange
also gets rewritten and adds lots of functionalityNew! ✨:
Vec2
replaces Vector
and has tons of functionalityVec4
takes cues from Vec2
- seriously tons of functionalityRect
gets extended from Vec4
and adds Rectangle functionalityColor
also gets extended from Vec4
and has lots of cool color functionalityECS
is a simple and tiny implementation of an Entity-Component-System in HaxeLineOfSight
is an implementation of a simple line of sight algorithm from roguebasin
OgmoUtils
is an all in one utility for loading levels from OGMO EditorPRNG
is a simple pseudo random number generatorThis update breaks a lot of stuff so I hope it's worth it! (by the way I sort of nuked the repo so I wouldn't have to deal with git stuff so check older releases if you want a legacy version 👍 )
snap_to_grid()
, limit()
to FlxPointExtdestroy()
to Controllerutil_int
, util_bool
, util_color
to FireOptionsto_vec4
, flxpoint_from_angle
to FloatExtmedian
, get_xy()
, set_xy()
to ArrayExtactive
, and set_active()
to Componentsflxutil.editors
to flxutil.formats