mahdisml / DartGodot

Godot + Dart 🎯

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use this?

Ahmadre opened this issue · comments

I want to use this Package to POC to switch from Unity to Godot for our professional customer projects.

Can you tell me what to do step by step?

It would be awesome if this can be documented.

My questions are for example (similar to https://github.com/applogik/unity_widget):

  1. How can I send a Message (String value for example) FROM FLUTTER -> GODOT
  2. How can I send a Message FROM GODOT -> DART
  3. Are there "Event-Listeners" in Flutter I can use? Like: onEnterTree, onProcess, ...? (Similar to unity: OnSceneCreated, OnUnityMessage, ...)
  4. How do I create a Widget/View from my GODOT Scene to show it in Flutter?

I think this package is just for compiling dart to godot (GDScript),
not for using in flutter ... I'm searching also a solution like the unity_widget for godot, but without success.
I see some discussion on reddit:
https://www.reddit.com/r/godot/comments/u4ja0o/godot_in_flutter/

I want to use this Package to POC to switch from Unity to Godot for our professional customer projects.

Can you tell me what to do step by step?

It would be awesome if this can be documented.

My questions are for example (similar to https://github.com/applogik/unity_widget):

1. How can I send a Message (String value for example) FROM FLUTTER -> GODOT

2. How can I send a Message FROM GODOT -> DART

3. Are there "Event-Listeners" in Flutter I can use? Like: onEnterTree, onProcess, ...? (Similar to unity: OnSceneCreated, OnUnityMessage, ...)

4. How do I create a Widget/View from my GODOT Scene to show it in Flutter?

I think only way is build a connector with Android Native (Kotlin)
Flutter -> Kotlin/Java -> Godot

https://docs.godotengine.org/en/3.5/tutorials/platform/android/android_plugin.html
https://docs.flutter.dev/development/platform-integration/platform-channels