This release brings a new cross-platform shader system named Shade, and many more improvements and fixes.
Changelog
New Features
- Shade: New cross-platform shader system with GLSL output support
- Add
ceramic shadecommand to convert Haxe shaders into GLSL or ShaderLab - Shade plugin is now enabled by default and Haxe shaders are converted automatically
- Add
- Graphics: New
Graphicsclass for immediate-mode drawing (Canvas 2D / Flash-like API) - Runtime: Add
Visual.addBefore()andVisual.addAfter()methods for precise child ordering - Runtime: Add
ScrollView.autoComputeContentSizeoption - Runtime: Add
Float32type andFloat32Utilsutilities - Runtime: Add
lerp32function - Runtime: Add basic support for Construct 3 bitmap font format
- Runtime: Add window size configuration defines for HD/4K defaults
- Tilemap: Add
useMeshtoTilemapLayerfor more efficient rendering using a single mesh - Tilemap: Add
shaderfield toTilemapLayerData
Improvements
- Clay: Abstract OpenGL into cross-platform GLGraphicsDriver and GLGraphicsBatcher API
- Clay: Fix antialiasing not working through WebGL
- HTTP: Improved native download implementation with cleaner per-target code
- Tools: Move from C++11 to C++17 on native targets
- Tools: Add
--no-downloadoption fornode tools/install - Tools: Improved plugin discovery
- Tools: Allow plugins to be enabled by default via
+pluginsin runtime config - Android: Fix compatibility with more recent Gradle/JVM versions
- Unity: Various fixes for new shader pipeline compatibility
- Renderer: Non-linear z-depth progression to avoid z-fighting issues
- Renderer: Per-render-target z tracking
Bug Fixes
- Runtime: Fix
IntFloatMapoff-by-one error - Runtime: Fix inaccurate check when using
floatColorsinstead ofcolors - Runtime: Make
Float32Utils.f32()work on C# target - LDtk: Fix entity
layerInstanceand level not being assigned to layer instance - Loreline: Fix assets not loading when using runtime assets/hot reload
- Loreline: Fix C# target compatibility
- Elements: Restore
LabeledFieldView
Documentation
- Comprehensive API documentation overhaul
- Expose more types from
AllApi.hxfor documentation generation
New Contributors
- @CodeLazier made their first contribution in #165
Full Changelog: v2.0.2...v2.1.0