Godot on multiple screens ?
-
Is it possible to detect and apply a different scene on each screen if the player has multiple screens, for PC users ?
Let's say player has Screen A and Screen B. I want to show in my game two different scenes at the same time, Scene A and Scene B.
Is it possible to show Scene A in Screen A and Scene B on Screen B ? -
Yes this is possible you can use the godot window class it has methods like get_current_screen() and set_current_screen()
-
If you ask whether it's possible or not the answer is yes. If I recall correctly this wasn't the case in the older Godot 3 because they only support single window and everything is contained within. But in Godot 4 there's this option
Godot Engine is actually a Godot game (with Editor option turned on), so whatever you can do in Godot Engine should be exposed for your Godot games.I haven't personally tested myself on game that utilize multiple views, and each screen has its own scene, but there's this demonstrations:
Geegaz (@geegaz_)
Having some fun with Godot 4.0's multiple windows feature ✨✨✨ I love it :D #Godot4 #GodotEngine #indiedev
FxTwitter / FixupX (fxtwitter.com)
-
@altria that is actually impressive...
However, I am planning to use Godot 3, so I'll just get over it...
Thanks for answering -
@Salodo oh yeah thanks ! So there is no similar functions in Godot 3 ?
-
I don't think it exist, multi windows mode was a new thing that recently added on Godot 4. But I don't have Godot 3 installed for me to check it myself.