Skip to content

Releases: MEEPofFaith/black-holes-library

Fix Server Crash

28 Jul 20:29
Compare
Choose a tag to compare

Fixed BHL attempting to load shaders on headless.

Fix

16 Apr 07:01
Compare
Choose a tag to compare
Fix
  • Fixed incorrect default values that caused SwirlEffects to have 0 distance by default.

Update Stuff

15 Apr 03:34
Compare
Choose a tag to compare
  • Modernized BlackHoleBulletType despawn code
  • BlackHoleBulletType defaults values now allow splash damage
  • Updated swirl effect drawing
    • Simply draw code by using a trail - Also makes the points show their actual trajectory.
  • API change: Replaced lerp and edgeColor in SwirlEffect with colorFrom and colorTo

More bug fixes and adjustments

29 Mar 01:19
Compare
Choose a tag to compare
  • Added default values to SwirlEffect
  • Added option to draw a star-shaped glow in the center of black holes
  • Units with black hole abilities are now automatically added to the immune list
  • The immunities are now ObjectSets instead of Seqs. If you're adding to the immunities in your mod, you must update to function in this version and beyond.
  • Fixed error when SwirlEffect has no edge color
  • Fixed black hole bullets not being immune to suction

Bug fixes and adjustments

26 Mar 01:55
Compare
Choose a tag to compare
  • Added BHLayer to more easily reference the start and end points of the frame buffer.
    • The end layer is no longer Layer.max so that stuff can be drawn over if desired.
  • Fixed issues with the swirl effects
    • BlackHoleBulletType swirl effects did not scale with the bullet's growth.
    • BlackHoleAbility swirl effects did not spawn in the correct location when sucking things in.

More BlackHoleAbility options

18 Mar 16:02
Compare
Choose a tag to compare
  • Option to not draw the blackhole
  • Option to only be active when shooting
  • Display stats
  • Fix damage and range being completely wrong
  • Swirl effect parentization
    • Note: Becomes buggy when another unit enters the area and I have no idea how to fix that yet

BlackHoleBulletType and BlackHoleAbility

17 Mar 20:52
Compare
Choose a tag to compare

Added BlackHoleBulletType from PM to this mod, as well as a BlackHoleAbility that allows you to attach a black hole to a unit. Both are added to the class map, making them json accessable.

Other changes:

  • Adjusted the rim glow radius
  • Made SwirlEffect work properly with json (Added empty constructor)
  • Better support for setting SwirlEffect spin direction

Add SwirlEffect to the classmap

16 Mar 04:03
Compare
Choose a tag to compare

Whoopsies I forgor. *dies*

Add DrawBlackHole and BlackHolePart

16 Mar 03:56
Compare
Choose a tag to compare

This way you don't have to make your own. Additionally, they are added to the ClassMap so json mods can use them.

Json.Black.Holes.mp4

Prevent Crashing when too many Black Holes are on Screen at Once

14 Mar 00:11
Compare
Choose a tag to compare

Number of black holes is now capped at 510 to prevent crashing. 510 is still a lot so I doubt this'll ever be an issue.