You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The match will end after a fixed time and the winner will be the player with most kills
Implementation Concerns
Things to Change/Add
Game Mode Configuration
Add the game mode to the game configuration (passed through matchmaking) to differentiate between Battle Royale and Deathmatch modes.
Game Initialization Parameters (for deathmatch)
When the game is created, ensure the following parameters are set:
The zone is always disabled
Add a configurable game duration timer
Set configurable respawn seconds
End Game Check
Keep :end_game_check as it currently is in Battle Royale mode, we won't use it for Deathmatch.
Add an if statement to distinguish between Battle Royale :end_game_check and Deathmatch.
In Deathmatch, send a message to the game updater process to end the game (and retrieve the winner) after a configurable time.
Kill Tracking
Track kills — already implemented
Respawn Queue
Add a pipe at the end of each tick update to send every dead player to a respawn queue (it's not really a queue, just a function that will be triggered after a fixed time), all of them will be respawned after a configurable time.
Respawn Implementation
Use send after to trigger respawn after a configurable time.
Respawn will restore the player to their initial health and position. (The position could be random too - 2nd iteration)
Second Iteration
Tiebreaker Algorithm
Add an algorithm to resolve ties. -> (amount of deaths, random).
Invincibility After Respawn
Include configurable invincibility seconds following respawn.
Game Duration to Frontend
Send the current time until game finishes information to the frontend.
Podium Implementation
Implement a podium to display player standings at the end of the game (top N kills).
The text was updated successfully, but these errors were encountered:
We want to create another game mode
Create a new game mode that will go as follows:
Implementation Concerns
Things to Change/Add
Game Mode Configuration
Add the game mode to the game configuration (passed through matchmaking) to differentiate between Battle Royale and Deathmatch modes.
Game Initialization Parameters (for deathmatch)
When the game is created, ensure the following parameters are set:
End Game Check
Keep
:end_game_check
as it currently is in Battle Royale mode, we won't use it for Deathmatch.if
statement to distinguish between Battle Royale :end_game_check and Deathmatch.Kill Tracking
Track kills — already implemented
Respawn Queue
Add a pipe at the end of each tick update to send every dead player to a respawn queue (it's not really a queue, just a function that will be triggered after a fixed time), all of them will be respawned after a configurable time.
Respawn Implementation
send after
to trigger respawn after a configurable time.Second Iteration
Tiebreaker Algorithm
Add an algorithm to resolve ties. -> (amount of deaths, random).
Invincibility After Respawn
Include configurable invincibility seconds following respawn.
Game Duration to Frontend
Send the current time until game finishes information to the frontend.
Podium Implementation
Implement a podium to display player standings at the end of the game (top N kills).
The text was updated successfully, but these errors were encountered: