Releases: 01010111/zerolib
Releases · 01010111/zerolib
Oct 2020
Changelog
New Additions
- added new
Tweenclass - added new
AnimationManagerclass - added new
Anchorclass
Updates, Changes, and Fixes
- Timer
- added
reset() - added
active - added
get_remaining() - made
pausedpublic
- 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
Dynamicnames in favor ofStrings - Renamed
register_listener()tolisten() - Renamed
deregister_listener()tounlisten() - Renamed
deregister_all()tounlisten_all()
- Removed
- Achievements
- Removed
Dynamicnames in favor ofStrings
- 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
EventBusto utilities - Added
EnumExtto extensions - Added
Achievementsto utilities - Added
zero.extensions.Toolsas 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.exttozero.extensions - moved all classes from
zero.utiltozero.utilities - added functionality like
a_star()toArrayExt IntPointgets rewritten and adds lots of functionalityRangealso gets rewritten and adds lots of functionality
New! ✨:
Vec2replacesVectorand has tons of functionalityVec4takes cues fromVec2- seriously tons of functionalityRectgets extended fromVec4and adds Rectangle functionalityColoralso gets extended fromVec4and has lots of cool color functionalityECSis a simple and tiny implementation of an Entity-Component-System in HaxeLineOfSightis an implementation of a simple line of sight algorithm from roguebasinOgmoUtilsis an all in one utility for loading levels from OGMO EditorPRNGis 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_colorto FireOptions - Added
to_vec4,flxpoint_from_angleto 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.editorstoflxutil.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