-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add in-game server menu #6
Comments
Hi @Jenna1337, I’d love to collaborate on implementing the in-game server menu! Before getting started, I’d appreciate it if you could clarify a few technical details so I can ensure my approach aligns with the current structure of the project: UI/UX Requirements: Server Data Format: Looking forward to your feedback, |
@gmottajr As for UI, There is currently not a structure for holding server data, but entries should require an IPEndPoint and maybe also a name so the players don't have to distinguish by IP addresses. Note as I am unsure about the the capabilities of the game's menu system (I don't believe FEZ has a DrawableGameComponent for inputting text), we will probably have to make at least one more class that extends DrawableGameComponent, maybe more. I hope that answered your questions. |
Hi @Jenna1337, Technical Context:
UI/UX:
Once I’ve implemented the feature, I’ll add a configuration file to save and load the list of servers, and I’ll also create unit tests to verify the server list functionality and integration. |
To save the list to a config file, you could modify MultiplayerClientSettings (FezMultiplayerMod/MultiplayerMod/MultiplayerClientSettings.cs) to store the server list there in lieu of For context, I recommend looking at FezMultiplayerMod/FezMultiplayerMod/MultiplayerMod/FezMultiplayerMod.cs Lines 98 to 103 in f0b3eb0
Also, when the server list is updated, please call (Note: (IniTools (Shared/IniTools.cs) doesn't currently support any kind of IEnumerable aside from arrays, but more we can always add support for more collection types) |
Add an in-game menu that lets the player pick which server to connect to from a list of servers the player has previously connected to, and discovered LAN servers.
Note: LAN discovery requires #5
The text was updated successfully, but these errors were encountered: