Skip to content

Releases: JujuAdams/Bulb

21.0.2

22 May 16:19
Compare
Choose a tag to compare
21.0.2 Pre-release
Pre-release

New Features

  • Adds .SetSprite() and .AddSprite() to dynamic and static occluders
  • Adds .SetTilemap() and .AddTilemap() to static occluders
  • Adds BULB_TRACE_EPSILON for fine control of shadow behaviour when using self-lighting with sprites and tilemaps

Other Changes

  • BulbRendererWithGroups() has been removed
  • Adds sprite/image/x/y parameters to BulbShadowOverlay() and BulbLightOverlay()

21.0.1 alpha

20 May 21:42
Compare
Choose a tag to compare
21.0.1 alpha Pre-release
Pre-release

New Features

  • Adds .SetSprite() and .AddSprite() to dynamic and static occluders
  • Adds .SetTilemap() and .AddTilemap() to static occluders

Other Changes

  • BulbRendererWithGroups() has been removed
  • Adds sprite/image/x/y parameters to BulbShadowOverlay() and BulbLightOverlay()

21.0.0 alpha

20 May 11:27
Compare
Choose a tag to compare
21.0.0 alpha Pre-release
Pre-release

New Features

  • Adds .SetSprite() and .AddSprite() to dynamic and static occluders
  • Adds .SetTilemap() and .AddTilemap() to static occluders

Other Changes

  • BulbRendererWithGroups() has been removed

20.3.0

23 Feb 12:15
08f27c6
Compare
Choose a tag to compare

New Features:

  • Adds clipping surfaces to renderers. These can be used to selectively clip the lighting surface to mask out areas that should not be affected by lighting e.g. for vision cones
  • Adds shadow overlays. These are applied after standard lights and shadows, but before lighting overlays and clipping
  • Adds lighting overlays. These cast no shadows, are applied after shadow overlays but before clipping
  • Adds directional light source (e.g. for sunlight)

Bug Fixes:

  • Fixes soft shadowing on AMD GPUs and some laptop GPUs
  • On-screen detection for sprites across the library is now more accurate
  • Some minor optimisations

20.2.0

09 Nov 21:52
Compare
Choose a tag to compare
  • Adds .Destroy() method to lights and occluders to ensure swift destruction rather than relying on GM's garbage collector
  • Fixes lights sometimes failing to render when scaling
  • Fixes crash in group-based renderer when using hard lighting
  • Fixes bm_max self-lighting blend mode

20.1.3

30 Aug 08:15
Compare
Choose a tag to compare

Fixes y-axis being flipped when using Bulb on the HTML5 export target.

20.1.2

05 Jul 12:31
Compare
Choose a tag to compare
  • Adds .DrawOnCamera() method
  • Fixes blend mode not being reset at the end of .Update()
  • Adds ambient light colour getter/setter
  • Adds optional alpha argument to draw methods

20.1.1

07 Jun 15:51
Compare
Choose a tag to compare

Fixes .UpdateFromCamera() when setting a camera's view/projection matrices

20.1.0

07 Apr 14:31
Compare
Choose a tag to compare

Adds group-based rendering via BulbRendererWithGroups().

20.0.0

13 Feb 17:23
Compare
Choose a tag to compare

Total rebuild of the library's API. Please read the new documentation for more information.