diff --git a/CHANGELOG.md b/CHANGELOG.md index 0759c84..f570e34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## v1.8.0 +### Update plugin for Godot 4.3 +Thanks to [TheSkyOne](https://github.com/TheSkyOne) for bringing to my attention that [the plugin wasn't working for Godot 4.3](https://github.com/Iakobs/godot-play-game-services/issues/32). I've update it to use version 4.3 of the Godot Library Dependency. + +### Update Google Play Games Library version +Google's `play-services-games-v2` dependency was updated from version `19.0.0` to version `20.1.2`. + ## v1.7.0 ### Send JSON strings instead of Dictionaries The `gameLoaded` and `conflictEmitted` signals where sending an instance of the Dictionary class. Instead, they send a JSON string now, as suggested by @nepalisameer in [this issue](https://github.com/Iakobs/godot-play-game-services/issues/22). diff --git a/README.md b/README.md index 1a58932..476e69d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,15 @@ -# Godot Play Game Services -Godot 4.2+ plugin for integration of the latest version of [Google Play Game Services SDK](https://developers.google.com/games/services/android/quickstart). +# Godot Play Game ServicesK +Godot 4.3+ plugin for integration of the latest version of [Google Play Game Services SDK](https://developers.google.com/games/services/android/quickstart). + +If you want to download the plugin for a previous version of Godot 4.x, use the branch selector in the repository. For Godot 3.x versions, [look here](https://github.com/Iakobs/godot-google-play-game-services-android-plugin)! --- ![Plugin Header](github-social-preview.png) [![Android version and API level 33](https://img.shields.io/badge/Android-API%20Level%2033-darkgreen.svg)](https://developer.android.com) -[![Godot version 4.2](https://img.shields.io/badge/Godot%20Engine-4.2-blue.svg)](https://github.com/godotengine/godot/) -[![Google Play Game Services version 19.0.0](https://img.shields.io/badge/Play%20Services%20Games%20v2-19.0.0-green.svg)](https://developers.google.com/games/services/android/quickstart) +[![Godot version 4.3](https://img.shields.io/badge/Godot%20Engine-4.3-blue.svg)](https://github.com/godotengine/godot/) +[![Google Play Game Services version 20.1.2](https://img.shields.io/badge/Play%20Services%20Games%20v2-20.1.2-green.svg)](https://developers.google.com/games/services/android/quickstart) --- diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index b2e8bd7..daffa1d 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -37,8 +37,8 @@ android { dependencies { implementation("com.google.code.gson:gson:2.10.1") - implementation("com.google.android.gms:play-services-games-v2:19.0.0") - implementation("org.godotengine:godot:4.2.0.stable") + implementation("com.google.android.gms:play-services-games-v2:20.1.2") + implementation("org.godotengine:godot:4.3.0.stable") dokkaPlugin("org.jetbrains.dokka:android-documentation-plugin:1.9.10") } diff --git a/plugin/demo/project.godot b/plugin/demo/project.godot index 47e6d91..b7a898b 100644 --- a/plugin/demo/project.godot +++ b/plugin/demo/project.godot @@ -17,15 +17,29 @@ You will need to configure the game integrations in your Google Play Console in config/version="v1.0.0" config/tags=PackedStringArray("demo", "android", "google_play_games_services") run/main_scene="res://scenes/MainMenu.tscn" -config/features=PackedStringArray("4.2", "Mobile") +config/features=PackedStringArray("4.3", "Mobile") config/icon="res://icon.svg" +[autoload] + +GodotPlayGameServices="*res://addons/GodotPlayGameServices/autoloads/godot_play_game_services.gd" +SignInClient="*res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd" +PlayersClient="*res://addons/GodotPlayGameServices/autoloads/players_client.gd" +AchievementsClient="*res://addons/GodotPlayGameServices/autoloads/achievements_client.gd" +LeaderboardsClient="*res://addons/GodotPlayGameServices/autoloads/leaderboards_client.gd" +SnapshotsClient="*res://addons/GodotPlayGameServices/autoloads/snapshots_client.gd" +EventsClient="*res://addons/GodotPlayGameServices/autoloads/events_client.gd" + [display] window/size/viewport_width=720 window/size/viewport_height=1280 window/handheld/orientation=1 +[editor_plugins] + +enabled=PackedStringArray("res://addons/GodotPlayGameServices/plugin.cfg") + [file_customization] folder_colors={ diff --git a/plugin/export_scripts_template/export_plugin.gd b/plugin/export_scripts_template/export_plugin.gd index a0954a6..2c6de39 100644 --- a/plugin/export_scripts_template/export_plugin.gd +++ b/plugin/export_scripts_template/export_plugin.gd @@ -80,7 +80,7 @@ class AndroidExportPlugin extends EditorExportPlugin: return PackedStringArray([ "com.google.code.gson:gson:2.10.1", - "com.google.android.gms:play-services-games-v2:19.0.0" + "com.google.android.gms:play-services-games-v2:20.1.2" ]) func _get_android_manifest_application_element_contents(platform: EditorExportPlatform, debug: bool) -> String: