Defold 1.2.155 has been released

Defold 1.2.155

In this release we have removed the Facebook extension and moved it into an external library.

Facebook extension

In this release we’ve moved the Facebook functionality into a native extension.
If you need the Facebook support, please add a link to the dependency in your game.project. There are no expected changes in the actual behavior.

EDIT 2019-05-31:
In case you were using a custom AndroidManifest.xml while using facebook, you will now get a build error unless you update your manifest to reflect the changes in our builtin manifest (see builtins/manifests/android/AndroidManifest.xml).
In short, we removed the facebook specific parts into the extension’s manifest file.

Multiple property files

Bob.jar now also supports reading game project properties from multiple files.
This allows for adding/overriding properties when building QA/LIVE bundles on your CI machines.
E.g:

$ java -jar bob.jar --settings file1.ini --settings file2.ini ...

Physics

You can now alter the physics gravity at runtime using the new Lua functions physics.set_gravity()/physics.get_gravity()

Engine

  • DEF-3647 - Changed: Moved Facebook into an extension
  • DEF-3855 - Fixed: Bitmap fonts now use min/mag texture filtering settings from game.project
  • DEF-3819 - Fixed: Bundle resources now accept multiple (comma separated) paths
  • DEF-3943 - Fixed: Always set IP4/6 address before we call ares_gethostbyaddr
  • DEF-3932 - Fixed: Added --settings option to bob.jar to add/override game properties
  • DEF-3848 - Fixed: Expose gravity property in runtime via physics.set_gravity()/physics.get_gravity()/
  • DEF-3945 - Fixed: Android 64 bit release builds are release builds again
  • DEF-3829 - Fixed: Flipbook animations got previous image frame size

Editor

  • DEFEDIT-1655 - Added: Open files from a Console even from a trimmed callstacks of very long paths
  • DEFEDIT-1676 - Fixed: Highlight matching terms in Search in Files dialog
  • DEFEDIT-1677 - Added: Toggle Comment shortcut (Ctrl / on Windows and Linux, ⌘ / on macOS)
  • DEFEDIT-1681 - Fixed: Empty window was shown after a restart with all panes hidden
  • DEFEDIT-1683 - Fixed: Console links were not focusing on lines
  • DEFEDIT-1686 - Fixed: iOS architecture was confusing in Bundle dialog
25 Likes

Whoa! This is so cool! Previously, our build script would use sed to edit game.project and then restore it after building.

6 Likes

This is very appreciated! No need for weird workarounds anymore :slight_smile:

4 Likes

Thanks!
But the --help command outputs that the --properties option is actually called --settings :innocent:

bob.jar version: 1.2.155  sha1: 838cecd7a26c932e6be73421d98e51ba12f1d462  built: 2019-05-27 12:43:01

Unrecognized option: --properties

--settings <arg>                 a path to a game project settings
                                 file. more than one occurrance are
                                 allowed. the settings files are
                                 applied left to right.
6 Likes

Yeah, this is a really useful feature for larger projects where you need to build for different environments etc. We have python build scripts on top of bob.jar for Defold games at King and those scripts also manipulate game.project in a similar fashion.

4 Likes

Yeah, being able to change gravity at run-time really opens up for many new kinds of games!

4 Likes

Wow, thanks for pointing that out! :man_facepalming: Fixed in release notes.

5 Likes

:heart: :heart: :heart:

4 Likes

Hi Defold team, thanks for the amazing updates.
But I find that the new updates with the external facebook library crashed with the defunityads library. Here’s the build error that I faced.

Is there any help from the Defold team or community? Thanks.

3 Likes

Thanks, the issue is tracked here: https://github.com/AGulev/DefVideoAds/issues/4
I’ll check it today.

3 Likes

Thanks.

1 Like

Instant thought:

Bur probably there is constant gravity and moving building only :smiley:

7 Likes

We missed rolling out updates on the extender server, but it has now been updated and should work as intended. Please try again!

4 Likes

thanks!

1 Like

We’ve also updated the release to extension-facebook to v1.2:

  • v1.1 we fixed the library folder.
  • v1.2 we updated the autocomplete documentation (a new feature coming soon in the editor)
  • v1.3 more tweaks to the autocomplete documentation
5 Likes

Small feature request: right now any selected android architecture build droped to the same result directory “armv7-android”. Can you separate android build outputs to diffrent directories for example “armv7-android”, “arm64-android”, “universal-android”. Thx.

2 Likes

Yeah, we opted for the old mechanic of iOS, where both binaries are in the same package.
But, we’ve heard your input from others, and I think @AGulev had some ideas around this.

3 Likes

The game looks cool!! Which one is it?

2 Likes

It’s from Intrusion 2. This whole boss fight is imo the most spectacular 2D boss fight ever created :smiley:

Sorry, for off topic, but there is also one remarkable boss in Dragon’s Crown: https://youtu.be/baLe48811GE?t=36 :smiley:

3 Likes