Releases: allejo/bzflag-rendering.php
Releases · allejo/bzflag-rendering.php
Version 0.2.2
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
New
- Added support for rendering Meshes in map thumbnails - @RighthandSon (#1)
Version 0.2.0
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 releasesIBaseStyle
IBoxStyle
IPyramidStyle
ITeleporterStyle
IWorldStyle
Version 0.1.2
Fixes
- Updated to fix the breaking changes in the latest
1.1-dev
ofbzflag-networking.php
Version 0.1.1
New
- Added support for rendering instances of group definitions, including
team
,shift
,spin
(only along the Z-axis) andscale
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
The initial stable release of this library with basic support for generating thumbnails.
Supported objects:
- Base
- Box
- Pyramid
- Teleporter