Skip to content

Releases: 01010111/zerolib

Oct 2020

07 Oct 01:50
Compare
Choose a tag to compare
Oct 2020 Pre-release
Pre-release

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
  • EventBus
    • added set_active()
  • StringExt
    • allow single line comments (.jsonc) in parse_json()
  • FloatExt
    • added rand()
  • ArrayExt
    • added chunk()
    • made functions generic instead of leaning on Dynamic
  • Vec2
    • added in_circle()
    • added rad_between()
  • AStar
    • made los() public
  • Simplified documentation all around

Feb 2020

12 Feb 20:30
Compare
Choose a tag to compare
Feb 2020 Pre-release
Pre-release

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()
  • FloatExt
    • Added get_random_gaussian()
  • StringExt
    • Added parse_json()
  • ECS
    • Changed ISystem to System, no longer uses an Interface.
  • Rect
    • Added equals()
  • IntPoint
    • Simplified toString()
  • Color
    • Added to_hex_24()
  • OgmoUtils
    • Fixed get_grid_layer()
  • EventBus
    • Removed Dynamic names in favor of Strings
    • Renamed register_listener() to listen()
    • Renamed deregister_listener() to unlisten()
    • Renamed deregister_all() to unlisten_all()
  • Achievements
    • Removed Dynamic names in favor of Strings
  • Vec2
    • Added radians
  • Vec2, Vec3, Vec4, Rect, Color, IntPoint
    • Fixed underused recycling when instantiating from array
    • Fixed memory leaks (thanks @AustinEast)

Mostly Docs Update

17 Sep 15:41
8ae4242
Compare
Choose a tag to compare
Mostly Docs Update Pre-release
Pre-release

Fixes:

  • Fixed bug with Color.from_int32()

Changes:

  • Changed FloatExt.to_vec4() to FloatExt.to_color()
  • Changed functionality of StringExt.get_random()
  • Changed Color.rgba_to_hex() to Color.to_hex()
  • Improved docs in source!
  • All docs now in API rather than Wiki!

New Additions:

  • Added normalize() and denormalize() back to Range
  • 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

12 Sep 19:37
Compare
Choose a tag to compare
Pre-release

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 to zero.extensions
  • moved all classes from zero.util to zero.utilities
  • added functionality like a_star() to ArrayExt
  • IntPoint gets rewritten and adds lots of functionality
  • Range also gets rewritten and adds lots of functionality

New! ✨:

  • Vec2 replaces Vector and has tons of functionality
  • Vec4 takes cues from Vec2 - seriously tons of functionality
  • Rect gets extended from Vec4 and adds Rectangle functionality
  • Color also gets extended from Vec4 and has lots of cool color functionality
  • ECS is a simple and tiny implementation of an Entity-Component-System in Haxe
  • LineOfSight is an implementation of a simple line of sight algorithm from roguebasin
  • OgmoUtils is an all in one utility for loading levels from OGMO Editor
  • PRNG 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

08 Jan 18:11
Compare
Choose a tag to compare
Jan 2019 Update Pre-release
Pre-release

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, and set_active() to Components
  • Added ability to jump through one way platforms in PlatformerJumper

Changes

  • Changed ZBitmapText to BitmapText
  • Changed flxutil.editors to flxutil.formats

Fixes

  • Fixed velocity in ParticleEmitter
  • Fixed Joypad not updating
  • Fixed KillAfterTimer callback

Particle Emitter

27 Jul 14:19
Compare
Choose a tag to compare
Particle Emitter Pre-release
Pre-release
  • 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

26 Jul 21:04
Compare
Choose a tag to compare
0.3.2 Pre-release
Pre-release
  • fixed classpath error, woops

Travis CI integration

26 Jul 18:06
Compare
Choose a tag to compare
Travis CI integration Pre-release
Pre-release
  • Added zerolib to Travis CI

ZOME loader, demo components

26 Jul 16:40
Compare
Choose a tag to compare
Pre-release