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.
Fixed a bug, when the impostor kills everyone it shows DEFEAT screen to everyone including the impostor (now it shows DEFEAT for the crewmates and VICTORY for the impostor).
Fixed a bug, if a player has disconnected during the match, and crewmates has finished all their tasks, no victory happens because the disconnected player didn’t finish his tasks, (now even if a player has disconnected, the game will auto update its tasks’ data to the new number of players currently in the match, and trigger victory when all tasks have finished).
Quests bar will auto update if a player has disconnected during the match.
Included the game map tileset in the Assets folder, in case the user want to change/update the map.
Fixed a bug where you see the impostor venting out while he is getting out of the door (now the impostor will show up only when the door animation (vent out) has finished).
Fixed a bug where it shows DEFEAT to all players including the impostor when the crewmates vote against a crewmate and the last 2 players are impostor vs crewmate (now the game ends with VICTORY to impostor and DEFEAT to crewmate).