Releases: 01010111/zerolib
Releases · 01010111/zerolib
Oct 2020
Changelog
New Additions
- added new
Tween
class - added new
AnimationManager
class - added new
Anchor
class
Updates, Changes, and Fixes
- Timer
- added
reset()
- added
active
- added
get_remaining()
- made
paused
public
- added
- EventBus
- added
set_active()
- added
- StringExt
- allow single line comments (.jsonc) in
parse_json()
- allow single line comments (.jsonc) in
- FloatExt
- added
rand()
- added
- ArrayExt
- added
chunk()
- made functions generic instead of leaning on
Dynamic
- added
- Vec2
- added
in_circle()
- added
rad_between()
- added
- AStar
- made
los()
public
- made
- Simplified documentation all around
Feb 2020
Changelog
New Additions
- Added new Timer class
- Added new GOAP class
- Added new Vec3 class
- Added new SyncedSin class
- Added new AStar class, improves on
ArrayExt.a_star()
Updates, Changes, and Fixes
- ArrayExt
- Added
equals()
- Added
remove_duplicates()
- Removed
a_star()
- Added
- FloatExt
- Added
get_random_gaussian()
- Added
- StringExt
- Added
parse_json()
- Added
- ECS
- Changed ISystem to System, no longer uses an Interface.
- Rect
- Added
equals()
- Added
- IntPoint
- Simplified
toString()
- Simplified
- Color
- Added
to_hex_24()
- Added
- OgmoUtils
- Fixed
get_grid_layer()
- Fixed
- EventBus
- Removed
Dynamic
names in favor ofString
s - Renamed
register_listener()
tolisten()
- Renamed
deregister_listener()
tounlisten()
- Renamed
deregister_all()
tounlisten_all()
- Removed
- Achievements
- Removed
Dynamic
names in favor ofString
s
- Removed
- Vec2
- Added
radians
- Added
- Vec2, Vec3, Vec4, Rect, Color, IntPoint
- Fixed underused recycling when instantiating from array
- Fixed memory leaks (thanks @AustinEast)
Mostly Docs Update
Fixes:
- Fixed bug with
Color.from_int32()
Changes:
- Changed
FloatExt.to_vec4()
toFloatExt.to_color()
- Changed functionality of
StringExt.get_random()
- Changed
Color.rgba_to_hex()
toColor.to_hex()
- Improved docs in source!
- All docs now in API rather than Wiki!
New Additions:
- Added
normalize()
anddenormalize()
back toRange
- Added
Color.equals()
- Added
EventBus
to utilities - Added
EnumExt
to extensions - Added
Achievements
to utilities - Added
zero.extensions.Tools
as a way to save time using all of the extensions
The Great Zerolib Schism of 2019
This 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:
- moved all classes from
zero.ext
tozero.extensions
- moved all classes from
zero.util
tozero.utilities
- added functionality like
a_star()
toArrayExt
IntPoint
gets rewritten and adds lots of functionalityRange
also gets rewritten and adds lots of functionality
New! ✨:
Vec2
replacesVector
and has tons of functionalityVec4
takes cues fromVec2
- seriously tons of functionalityRect
gets extended fromVec4
and adds Rectangle functionalityColor
also gets extended fromVec4
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 roguebasinOgmoUtils
is an all in one utility for loading levels from OGMO EditorPRNG
is a simple pseudo random number generator
This 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 👍 )
Jan 2019 Update
New Additions
- Added fake 3D Stacks
- Added RichText
- Added ZFont, BitsyFont
- Added NineSliceBox
- Added Grid
- Added TopDownWalker Component
- Added ColorMix and FourColor shaders
- Added SquaresIn substate
Updates
- Added
snap_to_grid()
,limit()
to FlxPointExt - Added optional protection from
destroy()
to Controller - Added tags to Entity
- Added
util_int
,util_bool
,util_color
to FireOptions - Added
to_vec4
,flxpoint_from_angle
to FloatExt - Added
median
,get_xy()
,set_xy()
to ArrayExt - Added manual control to PlatformerDolly using SHIFT in debug mode
- Added
active
, andset_active()
to Components - Added ability to jump through one way platforms in PlatformerJumper
Changes
- Changed ZBitmapText to BitmapText
- Changed
flxutil.editors
toflxutil.formats
Fixes
- Fixed velocity in ParticleEmitter
- Fixed Joypad not updating
- Fixed KillAfterTimer callback
Particle Emitter
- Particle Emitter ✨
- Added flatten() to ArrayExt
- Added csv_to_int_array() to StringExt
- Nothing is required to initialize an entity
- Set PlatformerDolly's target to null and manually move it if you'd like
0.3.2
Travis CI integration
- Added zerolib to Travis CI
ZOME loader, demo components
- Added loader for ZOME (https://01010111.itch.io/zome) level files
- Added some demo components:
- PlatformAnimator
- PlatformJumper
- PlatformWalker