Skip to content

Releases: allejo/bzflag-rendering.php

Version 0.2.2

18 Apr 00:25
5c8b172
Compare
Choose a tag to compare

Fixes

  • Meshes now respect materials with the noRadar attribute and will not draw the respective faces
  • World walls are no longer drawn if noWalls is set in the world file

Development

  • PHPStan and PHP-CS-Fixer have been updated to v1 and v3, respectively
  • @since metadata for the API has been updated to have recent values
  • Added unit tests that asserts outputs against images in the examples/ directory
  • Added GitHub Actions to run unit tests, linting, and static analysis

Version 0.2.1

17 Apr 08:45
431aaf9
Compare
Choose a tag to compare

New

  • Added support for rendering Meshes in map thumbnails - @RighthandSon (#1)

Version 0.2.0

13 Aug 05:03
20fc5fb
Compare
Choose a tag to compare

New

  • Add support for worlds without walls
  • Introduce new PNG world renderer to let you export PNGs; requires the Imagick extension to be installed

Fixes

  • The walls in a thumbnail are no longer truncated on the right and bottom of the image

Removals

  • Removed the style classes and replaced them with classes; the classes are of the same name with no I prefix. A base class will allow for introducing of more style settings in future releases
    • IBaseStyle
    • IBoxStyle
    • IPyramidStyle
    • ITeleporterStyle
    • IWorldStyle

Version 0.1.2

16 Jun 06:09
9976329
Compare
Choose a tag to compare

Fixes

  • Updated to fix the breaking changes in the latest 1.1-dev of bzflag-networking.php

Version 0.1.1

14 Jun 08:32
463a899
Compare
Choose a tag to compare

New

  • Added support for rendering instances of group definitions, including team, shift, spin (only along the Z-axis) and scale transformations
  • Added an easy way to style elements by implementing the interfaces in the allejo\bzflag\graphics\SVG\Radar\Styles namespace and setting the static $STYLE variables to the object renderers

Changes

  • Map thumbnails are visually the same as the v0.1.0 release, however, the maths and generated SVG markup are pretty different

Version 0.1.0

14 Jun 08:23
6c9dc78
Compare
Choose a tag to compare

The initial stable release of this library with basic support for generating thumbnails.

Supported objects:

  • Base
  • Box
  • Pyramid
  • Teleporter