Is there a tutorial on the template on how I can change it to quiz mechanic? Sorry, I’m really new to game development. We are trying to make a quiz game but to make it more fun, we would like to adapt the among us concept but instead of doing random tasks, we will change it to random questions with multiple choices or text input.
The template itself is a tutorial (all events are commented), but a tutorial to change the template tasks from their mechanic to quiz mechanic, no, you need to learn how THNK works (the template should teach you that as well), then you can add/change template mechanics however you like.
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).
Replaced the hide players behind walls technic, with a new one, that looks exactly the same as the one in Among US, and it’s much better for performance.