Book Image

Coding Roblox Games Made Easy, Second Edition - Second Edition

By : Zander Brumbaugh
Book Image

Coding Roblox Games Made Easy, Second Edition - Second Edition

By: Zander Brumbaugh

Overview of this book

“I read/worked through the book with my kids to build a game together and I highly recommend pre-teens, teens, and tweens to pick this up as their first book to coding games” -James W. Y III, Technology Integration Specialist at Old Bridge Township Public Schools “...a must-read, must-practice essential book for anyone getting started with building games on Roblox using Luau programming...” -Frederic Markus, President, Feerik Games (Ex-Ubisoft, Nintendo, Rockstar, Disney, LucasArts, and Epic Games) “..includes everything from Roblox Studio menus, the basics of the Luau scripting language, how to tie in real-world (or any world!) physics into your experience of marketing your game as well as some great ideas for where to go next.” -Jay Sebastian, Computer Scientist and Adjunct Lecturer in AI for Games and Simulation Roblox isn't just popular; it's incredibly popular, featuring more than 54 million active players per day. Any experience imaginable can be created on Roblox. Coding Roblox Games Made Easy, 2nd Edition, is a go-to guide for anyone at any age looking to get started with building a game on Roblox using Luau programming. In just about 300 pages, you’ll learn the basics of Luau programming, build two end-to-end games, add customizations to finally publish and monetize them. The bonus chapter ‘50 Cool Things to do in Roblox’ is a perfect end to your learning journey with information nuggets presented with examples to save your time when coding, animating, building avatars, using Robux and so much more. Join Zander, 19-year-old Roblox developer and programmer on this game-development journey and bring your ideas to life
Table of Contents (15 chapters)
Free Chapter
1
Section I: Introduction to Roblox Development
4
Section II: Programming in Roblox
9
Section III: The Logistics of Game Production
13
Other Books You May Enjoy
14
Index

Understanding the client-server model

The client-server model is a distributed communication structure that can be found throughout many fields of computing. In game development, this type of communication is most often used so that the server acts as a provider and verifier for clients who make requests to it. In other words, the server is a computer that is responsible for holding and dispatching information and the client is someone or something (a computer application or a player of your experience in the Roblox sense) that asks the server for information or requests the server to perform some action. In this section, we will learn how to work with both sides of this model as a programmer on Roblox.

Different script types

Since the server and client are separate models with different defined purposes, programming in Roblox requires the use of unique instances from the LuaSourceContainer base class, depending on whether a script is working with the client (local) or with...