Defold 1.2.162
We’ve replaced the internal SSL library to mbedTls, and the http.request()
can now work with a lot more secure sites, including Playfab
We have added the new engine flag --renderdoc
, that enables you to profile and debug graphics API calls from your game in Renderdoc. This will launch the application in Renderdoc compliance mode, which basically means the engine is run with a core OpenGL 3.2 context. At the moment, this is only available on Windows and Linux.
This sprint we also fixed some tilemap issues that arose from 1.2.161. I want to thank all users involved in finding these!
Sound
The sound system now got the possibility to pan sounds. The algorithm uses Constant Power panning (like Unity and FMod). Since we didn’t use it from the start, this means you’ll get an initial drop of intensity. You can compensate this with increasing the master gain. You can change the panning of a sound while it’s playing with sound.set_pan()
We also added the possibility to set the playpack speed of a sound. For shorter sounds, this has effect of changing the pitch of the sound.
You can now also add a callback to the sound.play() function.
This callback will be invoked once the sound is done playing. To distinguish between different sound instances from the same component, the sound.play()
function now also returns an identifier for that particular instance.
Native extensions
We’ve finally moved Google Play Services into a separate extension: extension-gps.
As a result of that extraction, we removed the ad_ident
and ad_tracking_enabled
from sys.get_sys_info()
. To get that info again, you can add dependencies to the projects extension-adinfo and extension-gps
Engine
-
#4389
- Added: Added sound panning support -
#4393
- Added: Added sound speed (pitch) support -
#4246
- Added: Add math.matrix4_translation(vmath.vector3 | vmath.vector4) -
#3177
- Added: Sound completed callback (DEF-1549) -
#4430
- Fixed: Fixed rendering issues for tilemaps -
#4365
- Fixed: Replaced old SSL library with mbedTLS -
#4423
- Fixed: Removed Google Play Services and dependent code -
#4422
- Fixed: Added debug support for Renderdoc on windows/linux -
#4412
- Fixed: Black screen in html5 if page scaling isn’t 100% -
#----
- Fixed: IP addresses now always get a MAC address on Win32 too