Defold 1.2.139
This release adds a new function to bind render targets in the render script. It will be replacing the old render.enable/disable_render_target
which are now deprecated. The new function has a transient
option that can signal to the renderer if one of the render target attachments can or cannot be discarded after it has been used. Using this new option can optimize render target usage in some cases where attachments don’t need to be copied internally if they are not used.
There has been some changes to the internal font cache structure (which is used when rendering text in the GUI and with label components). This change will make it easier for developers to create some text effects in shaders, for example adding a gradient.
We have updated Emscripten to 1.38.12 both in the prebuilt engine binaries, and on the Native Extensions server. This is a step in the direction of being able to soon support WebAssembly output for HTML5 builds. Please report any bugs encountered in the HTML5 builds of your games!
Engine
-
DEF-3460
- Added: Newrender.set_render_target
function with options argument. -
DEF-3463
- Changed: Font glyphs are placed at baseline in font cache. -
DEF-2971
- Changed: Updated emscripten version to 1.38.12. -
DEF-3548
- Fixed: Added missingproject.bundle_resources
to the project editor. -
DEF-3547
- Fixed: Crash when creating new PFX node with non-existent resource. -
DEF-3531
- Fixed: Jitter bug with ParticleFX. -
DEF-3533
- Fixed: Exception on cleanup of temp folder when running Bob on Windows.