An open API service indexing awesome lists of open source software.

https://github.com/code-forge-temple/godot-android-plugin-v2

Godot 4 Android plugin example with Java, C#, and GDScript — integrate native Android features into your Godot games.
https://github.com/code-forge-temple/godot-android-plugin-v2

android android-development android-studio csharp game-development gamedev gdscript godot godot-android godot-android-plugin-v2 godot-plugin godot4 godotengine indie-game-dev java mobile-development open-source

Last synced: 24 days ago
JSON representation

Godot 4 Android plugin example with Java, C#, and GDScript — integrate native Android features into your Godot games.

Awesome Lists containing this project

README

          

# Godot Android Plugin V2

This repository contains two projects that demonstrate how to build and integrate an Android plugin with Godot 4.x:

- `MyGodotPlugin`: This is the Android project that implements the Android plugin. It includes the necessary configurations and code to create a plugin that can be used within the Godot engine.

- `AndroidPluginInterface`: A Godot 4 project that integrates the plugin. It includes examples in both C# and GDScript to show how to interact with the plugin from your game.

## Tutorial Video

📺 Full walkthrough available on YouTube:

[Watch Demo Video](https://www.youtube.com/watch?v=BCidg2aCXWc)

The video demonstrates the C# integration step by step.
The repository additionally provides equivalent GDScript examples.

>Notes
>- Remember to update the `TODO` sections in the code when adapting for your own project.
>- The repo demonstrates minimal setup; you can extend the plugin to access native Android APIs such as sensors, ads, or system services.

## License

This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for more details.