Game balance is an important factor when designing games. Making teams as balanced as possible prevents a team or player from having a serious advantage over another. Balanced teams let players know they're playing at the same level as opposing teams, and that each team has a similar objective to work toward.
However, you can create interesting gameplay experiences by intentionally unbalancing teams. By setting significantly different rules for teams, either through different character and class attributes, numbers of players, or types of objective, you can create complex scenarios that draw players in. When one team has fewer players than another, individual player skill is more important, and players feel like their contributions matter more toward their overall objective. This can also change the way players play the game by encouraging teams with fewer players to play more carefully.
In this guide, you'll learn how to create a Triad Infiltration game. This game mode uses three teams - Infiltrators, Attackers, and Defenders.
- The invisible Infiltrators are trying to steal an objective from the Defenders while avoiding Attackers.
- The Attackers are trying to steal the Defender's flag while preventing the Infiltrators from capturing their own objective.
- The Defenders are trying to stop both teams, and win when time runs out if neither of the other teams have reached a target score. Each team has a different customizable team size, and each team has different weapons. By balancing these teams asymmetrically, you can precisely control their power level. You can also experiment with player numbers to ensure that players feel like they're on an even playing field with the other teams, and create unique gameplay experiences for each player.
By completing this guide, you'll learn how to create a game mode where three different teams battle for control of objectives. You'll also learn how to balance teams of players asymmetrically to create varied play experiences.
Verse Language Features Used
map
: This example uses themap
container type, which provides key-value associations of Infiltrators and the number of seconds they should flicker after receiving damage.array
: This device uses multiple arrays to store references to other devices and teams of players.for
: With thefor
expression, you can iterate over the arrays the device uses.failure
: Failure contexts are used to access arrays and to control the flow of the program.
Verse APIs Used
- Subscribable: You'll subscribe to multiple events, such as players spawning and players joining the game.
- Playspace: The playspace tracks subscribable events related to players joining and leaving the game. It also handles retrieving lists of players and teams, and finding the team for a given player. In this tutorial, you'll subscribe to multiple playspace events,, and retrieve players and teams using playspace methods so you can manipulate them directly.
- Teams: The team class adds, removes, and retrieves players from teams. You'll use the team class in this tutorial to manipulate teams directly and balance players into teams asymmetrically.
Video Tutorials
In addition to the template and template tutorial, you can check out the Triad Infiltration videos that walk you though how to set up the asymmetrical game play all set to a wild west theme! Get on your horse (or wolf) and check it out!
Overview
This project builds on top of the following tutorials, so complete the tutorials below before continuing with this one:
- Learn to balance teams symmetrically by following the steps in Team Multiplayer Balancing.
- Learn to create a multiplayer experience that incorporates team balancing in Team Elimination Game.
After Team Multiplayer Balancing and Team Elimination Game, follow these steps to create the full game: