-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiplayer Bomber and Pong demo: More Info on how to get them to run #535
Comments
The instructions will only show when the player is hosting a server. This also includes a button to get your public IP address. This partially addresses godotengine#535.
The instructions will only show when the player is hosting a server. This also includes a button to get your public IP address. This partially addresses godotengine#535.
The instructions will only show when the player is hosting a server. This also includes a button to get your public IP address. This partially addresses godotengine#535.
The instructions will only show when the player is hosting a server. This also includes a button to get your public IP address. This partially addresses godotengine#535.
I wonder if we should allow defining Android permissions in the project settings for this to work out of the box. We can't commit |
Maybe the Android permissions would be better set in the project settings. I found the hard to find in the Export settings. If however having these setting in the Project settings would also mean how the Multiplayer demos could have these already enabled, that would be a big plus. But I think in order for people to learn better from the demos and create their own projects, it should still be mentioned somewhere that these permissions need to be set. |
Which demo project is affected:
Multiplayer Bomber demo
Multiplayer Pong demo
OS/device including version:
Desktop/Android
Issue description:
The bomber and pong demo are the most recommended Godot multiplayer demos. As someone who want's to find out how Godot multiplayer works, I would naturally try those first. After all if I can't get a finished working demo to run on my devices, what is the point of learning the multiplayer API?
Setting up multiplayer to work over an Internet connection is tricky enough for beginners. After ages I finally got the pong demo to work with port forwarding (which does not need internet permissions), so it took me another eternity to get the bomber demo to run, because I did not expect having to enable internet permissions as it is mentioned nowhere. As someone who new to multiplayer and setting up ports, I thought it must be something I did wrong with the setting in my router. Tutorials I found online on how to set up port forwarding are severely out of date or pretty much useless because every router software apparently works completely differently and has very different naming schemes.
Over the past couple of months I gave up multiple times before and many hours of frustration could have been saved if there would be better instructions for how to get the demo to run. What I know now that finally enabled me to run the demo on my devices I had to piece together from multiple sources of Godot documentation, various Godot QAs, unofficial multiplayer Godot tutorials, Godot reddit threads, and quite a few Godot unrelated websites and Youtube videos. This also applies to the pong demo, though it was slightly easier there due to the lack of extra hurdle (enabling internet permissions).
Suggestions:
To get both demos to work over an internet connection and port forwarding:
The text was updated successfully, but these errors were encountered: