Skip to content

0.9.0-4.2.2

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Apr 16:05

New minor 0.9.0-4.2.2 release for Godot Kotlin.

  • Support for Kotlin and Java source files has been added. You can now use .gdj, .kt and .java files as scripts you can attach to nodes and objects. Check the documentation to understand the differences between using registration files and source files. Java and Kotlin source code is not kept when exporting your game, so you won't risk leaking it.
  • Attaching and creating scripts through the UI dialog is now working properly.
  • VariantArray should now be exported with the correct generic type in Godot.
  • Build errors related to scripts are more detailed.
  • Add some missing methods in core godot types.
  • Using reflection in your project has been fixed.
  • An alert dialog will appear, when possible, if Godot crashes for a reason related to the module.
  • A new minimal project template has been created to show new users what a basic setup for a Godot Kotlin project looks like: https://github.com/utopia-rise/godot-kotlin-project-template

Don't forget to change your build.gradle configuration with the following line:

plugins {
    id("com.utopia-rise.godot-kotlin-jvm") version "0.9.0-4.2.2"
}

Warning: With the changes made to scripts in this version, it's possible you encounter issues when opening an existing JVM project. If that's the case, close the project, delete your .godot/ directory and let Godot reimport everything.

The files prefixed with godot-kotlin-jvm_editor_ are the editors.

godot-kotlin-jvm_export_templates_0.9.0-4.2.2.tpz is the archive for all export templates . See exporting documentation on how to use it.

What's Changed

Full Changelog: 0.8.2-4.2.1...0.9.0-4.2.2