Create a round-based multiplayer experience where users compete to be the last player left! A great next lesson after the adventure game, this series expands on core concepts in game design and computer science. Once finished, the experience can be easily customized with unique gameplay elements and monetized.
Objectives and Prerequisites
Practice modular programming by creating scripts that separately handle game functions, like teleporting players or starting a match timer.
Implement events whenever game matches start and end to create cause and effect relationships between separate scripts.
Implement arrays to manage players and manipulate them as needed as players start, win, or leave games.
Understand the coding architecture of round based games, including how to cleanup and reset to making looping gameplay.
Understand how to use if statements, arrays and for loops.
Have a general understanding of module scripts.
|Project Setup||Plan out a vision for the experience and build out a map to test gameplay and movement with.|
|Coding the Game Loop||Use module scripts to code a game loop that will run in the background of the experience.|
|Managing Players||Continue to use module scripts to manage an array of players and perform functions such as teleporting them to a match.|
|Timers and Events||Use events to track different states of the game and signal whenever a state changes, such as the end of a timer.|
|Creating a GUI||Display the current game state and other information to players using a graphical user interface.|
|Ending Matches||Track the current player count in matches and use that information to send events that trigger the game's end.|
|Clean Up and Reset||Learn how code is cleaned up to ensure that each player experiences the a continous gameplay loop after a match.|
|Finishing the Project||Find assets to decorate the map and see optional challenges to take the experience further.|
|Battle Royale Example|
Play a version of the final project to see what you can develop with this series.