Massive update !


Pushed a Massive update ! 

Update log:

• Added Public lobbies system:

 - Players can host public lobbies now, so other players can join them in a single click.

 - Players can set a custom name for their lobby name.

 - Up to 10 public lobbies (you can increase the number as much as you want in the template events)

 - Public lobbies' auto refresh every 5 seconds to check for available lobbies.

 - Dead lobbies (lobbies that have 0 players in it) will automatically get deleted from both the database and from the public lobbies page.

 - Each lobby shows the lobby name and the number of players currently in that lobby.

 - Public lobbies are auto sorted based on the number of players in the lobby (from top to bottom).

• Added Private lobbies system:

 - Players can host private lobbies now, so only other players who got the code can join.

 - The generated code length is 4 digits (you can increase/decrease the length in the template events).

 - The dead generated codes (the one that is left in the database with no host) will automatically get deleted from the database.

• Changed the collection name "Lobbies" in Database to "PrivateLobbies" and added another collection called "PublicLobbies" since now we got 2 type of lobbies (Public/Private).

• Added Stop server action when the host disconnect (to make sure the server is off).

• Replaced the action (disconnect peer from broker server and all clients) with the action (disconnect peer from all clients), no need to disconnect from the broker server (saves time in connection).

• Player can't press "Join now" if the (enter host ID) parameter is empty (to avoid Firebase error showing).

• Commented every new event, and updated few comments.

• Updated all the variables (conditions/actions) in the template to the new variables (conditions/actions).

• Declared all variables in the template.

Files

Impostor Alert Template GDevelop Project.zip 10 MB
Jul 14, 2024

Get Impostor Alert Template

Buy Now$5.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.