Defold 1.2.127
This release extends the web profiler with additional information of what resources are used at a given point. We have also extended the capabilities of the hot reloading mechanism to work with gameobject files. The IAP extension on Android now also supports subscription items.
Runtime resource profiler
The web profiler now include detailed information of gameobject hierarchy and a list of currently loaded resources. We are hoping this will help our users to keep track of and debug memory usage in runtime.
Gameobject resource hot reloading
We have added the ability to hot reload gameobject resources (.go files), it works just like how you would normally hot reload component resources. This is a small step towards our goal of having whole Collections being reloadable.
IAP Subscriptions on Android
IAP subscription products was not supported on Android. The iap.list()
function did not return product information for subscriptions and when trying to buy a subscription using iap.buy()
the purchased failed with a “ERROR:IAP: Failed to parse purchase response (0).
” message. This release adds full support for IAP subscriptions, meaning that calls to iap.list()
will include subscription products, iap.buy()
will properly purchase them and iap.restore()
will return active subscriptions while iap.finish()
will do nothing (since subscriptions can’t be consumed).
Spine and Model refactoring
With this release we have made a large internal refactoring on the system that handles Spine and Model animations. One goal is the make it easier to tackle newer and currently unavailable Spine (and Collada) features down the road. But the current biggest impact for users is that in most cases Spine models will take less runtime memory and disk usage. However, since it’s a fairly big change internally we are eager to hear if your current projects encounter any issues after updating. Don’t hesitate to contact us on the forums!
Engine
-
DEF-3243
- Added: Runtime resource profiler. -
DEF-3255
- Added: Support for hot reloading game objects. -
DEF-3253
- Added: Android IAP subscription support. -
DEF-2686
- Added: APIgui.get_spine_animation
to get current playing spine animation on a GUI node. -
DEF-3187
- Changed: Spine and Model refactoring. -
DEF-3269
- Fixed: Issue when clearing OpenGL errors internally on HTML5. -
DEF-3264
- Fixed: Better error message when broken textures were compiled.
Editor
-
DEFEDIT-1370
- Fixed: Improved fuzzy search algorithm for better results in the Open Resource dialog. -
DEFEDIT-1371
- Fixed: Filter out non-editable resources (sounds, images) from Open Resource dialog. -
DEFEDIT-1372
- Fixed: Project builds are now parallelized, which should significantly reduce build times. -
DEFEDIT-1375
- Fixed: Fuzzy matching sometimes ranks full filename matches lower than partial matches. -
DEFEDIT-1376
- Fixed: GLException when closing editor tab that failed to render due to an error. -
DEFEDIT-1377
- Fixed: Crash when trying to use life stretch curves with particles. -
DEFEDIT-1379
- Fixed: HTML5 build fails with response code 400 when using any dependencies. -
DEFEDIT-1380
- Fixed: The Welcome dialog now links to the New Project Pane on first open.