Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Coutinho, Christopher.

Title Roblox Lua scripting essentials [electronic resource] : a step-by-step guide / Christopher Coutinho. [O'Reilly electronic resource]

Imprint [United States] : Apress, 2023.
QR Code
Description 1 online resource
Summary Embark on a transformative journey through the exciting world of Roblox Lua scripting with this comprehensive hands-on guide. Tailored to game developers, both seasoned and new, this book serves as your roadmap to mastering the art and science of Lua scripting within the dynamic Roblox Studio environment. You'll explore a wide spectrum of foundational concepts, including variables, functions, loops, tables, arrays, and more. Delve into advanced topics like raycasting, object-oriented programming with humanoids, and intricate leaderboard systems. Each chapter is crafted with real-world examples and step-by-step tutorials, empowering you to create engaging and interactive gameplay experiences. You'll gain profound insights into modularization, efficient coding practices, and techniques to optimize your scripts, paving the way to elevate your game development to an entirely new plane of creativity and complexity. You'll also discover sophisticated scripting concepts, such as custom events, and client-server communication. Invest in your future as a Roblox developer today, and let this book be your guide to crafting extraordinary gaming experiences. Roblox Lua Scripting Essentials provides the insight, tools, and guidance needed to shape your unique path in this thrilling domain of game development.
Contents Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Introduction -- Chapter 1: Introduction -- What Does This Book Require? -- About Lua -- Installing Roblox Studio -- Roblox Studio Templates -- Exploring Roblox Studio's Editor -- Scene View: Camera Movement -- View Selector -- Setting Up the Coding Workspace -- Creating Your First Lua Script -- Saving and Publishing Your Project -- Reopening Your Project -- Summary -- Chapter 2: Working with Parts -- Part Primitives -- The Transform -- Pitch, Yaw, and Roll -- Global vs. Local Coordinate Space
Translating (Moving) a Part -- Scaling a Part -- Rotating a Part -- Studs: Roblox Unit of Measurement -- Translation Snapping -- Rotation Snapping -- Collisions -- Anchoring Objects -- Commenting Your Code -- Summary -- Chapter 3: Variables, Scope, Arrays, Operators, and Conditionals -- Basic Lua Data Types -- Variables and Literals -- Naming Variables in Lua -- Variable Declaration and Initialization -- Variable Scope -- Tables, Arrays, and Dictionaries -- Creating an Array -- Two-Dimensional Array -- Creating a Dictionary -- Operators (Unary/Binary) and Operands -- Assignment Operator
Arithmetic Operators -- Compound Assignment Operators -- Relational Operators -- Length Unary Operator -- Concatenation Operator -- String Coercion -- Escape Sequences -- Conditionals -- Logical Operators -- Operator Precedence and Using Parentheses -- Summary -- Chapter 4: Loops -- While Loops -- Infinite Loops -- Repeat...Until Loop -- Numeric For Loop -- Generic For Loops -- Nested Loops -- Breaking Out of a Loop -- Continue Statement of a Loop -- Summary -- Chapter 5: Objects, Data Types, and Properties -- Roblox Parts and Objects -- Object Hierarchy Navigation
Roblox (Luau) Additional Data Types -- Manipulating Parts: Vector3 Data Type -- Changing the Position of a Part -- Scaling a Part Using Multiplication -- Moving a Part Using Lerp -- Computing Distance Between Parts -- Manipulating Parts: Cframe Data Type -- Offsetting a Part -- Rotating a Part -- Moving a Part in a Specific Direction -- Part Rotation to Face Another Part - (1) -- Part Rotation to Face Another Part - (2) -- Parenting a Part to Another Part -- Color3 Data Type -- Instance Data Type -- Enum Data Type -- Random Data Type -- Properties of Parts (Objects) -- Summary
Chapter 6: Functions and Events -- Functions -- Invoking a Function -- Function Parameters -- Function Return Values -- An Arbitrary Number of Parameters -- Anonymous Functions -- Events -- Touched Event -- Changed Event -- ClickDetector.MouseClick Event -- MouseButton1Click Event -- PlayerAdded Event -- ChildAdded and DescendantAdded Events -- Other Miscellaneous Event -- Event-Driven Programming -- Script vs. LocalScript -- BindableEvent -- RemoteEvent -- RemoteFunction -- BindableFunction vs. RemoteFunction -- Summary -- Chapter 7: Roblox Services -- Roblox Services -- Workspace Service
Subject Roblox (Video game)
Video games -- Programming.
Jeux vidéo -- Programmation.
Other Form: Print version: 9798868800252 (OCoLC)1399461106
ISBN 9798868800269 (electronic bk.)
Standard No. 10.1007/979-8-8688-0026-9 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information