Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Coding Roblox Games Made Easy, Second Edition - Second Edition

You're reading from  Coding Roblox Games Made Easy, Second Edition - Second Edition

Product type Book
Published in Jun 2022
Publisher Packt
ISBN-13 9781803234670
Pages 302 pages
Edition 2nd Edition
Languages
Author (1):
Zander Brumbaugh Zander Brumbaugh
Profile icon Zander Brumbaugh

Table of Contents (15) Chapters

Preface Section I: Introduction to Roblox Development
Introducing Roblox Development Knowing Your Work Environment Section II: Programming in Roblox
Introduction to Luau Roblox Programming Scenarios Creating an Obby Creating a Battle Royale Game Section III: The Logistics of Game Production
The Three Ms 50 Cool Things to Do on Roblox Worksheet Answers Other Books You May Enjoy
Index

Setting up the round system

The main part of creating this experience is setting up the game loop or round system. This backend code will allow you to have an intermission period before each round, add players to the battleground, show everyone who the victor is, and repeat the process.

Before creating this loop, we need to create a lobby for the players to be in during the intermission period or after they die in an ongoing round. This lobby can be designed however you want and can include pads that prompt purchases when touched, like those you created in the previous chapter. Regardless, players will likely spend several minutes in here during their play session, so you want to keep them engaged. To keep players who have already died more entertained, you will be instructed on how to make a graphical user interface (GUI) that allows you to spectate other players in the Working with the UI section of this chapter.

Additionally, you could make a simple obby with no checkpoints...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}