Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Coding Roblox Games Made Easy
Coding Roblox Games Made Easy

Coding Roblox Games Made Easy: The ultimate guide to creating games with Roblox Studio and Lua programming

Arrow left icon
Profile Icon Zander Brumbaugh
Arrow right icon
Mex$344.99 Mex$492.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (33 Ratings)
eBook Jan 2021 238 pages 1st Edition
eBook
Mex$344.99 Mex$492.99
Paperback
Mex$615.99
Subscription
Free Trial
Arrow left icon
Profile Icon Zander Brumbaugh
Arrow right icon
Mex$344.99 Mex$492.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (33 Ratings)
eBook Jan 2021 238 pages 1st Edition
eBook
Mex$344.99 Mex$492.99
Paperback
Mex$615.99
Subscription
Free Trial
eBook
Mex$344.99 Mex$492.99
Paperback
Mex$615.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Coding Roblox Games Made Easy

Chapter 1: Introducing Roblox Development

Roblox is a massive entertainment platform like no other for both playing and creating games. With over 100 million monthly active users, Roblox has enabled both new and experienced developers to create successful games that can be played globally at no cost. With a plethora of resources and a vast and supportive community of developers from around the world to connect with, entering the Roblox game development scene is an opportunity that cannot be found anywhere else.

Before covering the technical details of working with Roblox Studio and programming in Lua, it is important that you are first familiar with what developing games on Roblox can offer you and what the day-to-day interactions with the platform typically consist of. By the end of this chapter, you will have a more comprehensive understanding of the different types of roles developers can fulfill in game projects, how becoming a Roblox developer can benefit you monetarily, and what to expect as you develop and publish your first games.

In this chapter, we're going to cover the following main topics:

  • Learning about the benefits of Roblox development
  • Discovering developer types
  • Gaining a perspective on your early projects

Technical requirements

You will not need any software or additional materials for this section as it is mostly informative theory. You may find it beneficial to have access to a computer to visit some of the websites or applications discussed in this chapter.

Learning the benefits of Roblox development

Roblox has been a consistently growing platform since its creation in 2006, and in recent years, its growth has accelerated tremendously. As of 2020, more than 100 million unique users play Roblox monthly. Because of this, there has never been a better time to become a Roblox developer as there is an abundance of new players looking for an increasingly diverse variety of games from new creators.

Financial opportunities on Roblox

Perhaps one of the greatest contributing factors to Roblox's overall rise in popularity with developers is the monetary benefits that are offered. These benefits may have been one of your primary motivations to learn more about the platform, and that is to be expected. The top games on the Roblox platform are currently making tens of millions of US dollars from in-game purchases annually.

As a developer, you can earn money from your games through a process called the Developer Exchange, or more commonly called DevEx. Roblox has a virtual currency called Robux, which can only be purchased with real currency. After a player purchases Robux, the balance on their account is updated and then they can spend them freely on any game they want. When a player spends Robux on one of your in-game purchases, 70% of the Robux from that purchase will go to you, as Roblox takes a 30% marketplace fee.

The two types of in-game purchases are as follows:

  • Game passes: Single-time purchases
  • Developer products (more commonly called dev products): Purchased multiple times, for something such as in-game currency

You must accumulate a total of 100,000 Robux and be 13 years old or older in order to be eligible for the Developer Exchange program. In addition to sales you make directly, players of your games that have a Roblox Premium membership grant you additional Robux based on how much time they spend playing your game, though this amount is typically just a fraction of what sales amount to. Furthermore, there are some invite-only programs that allow you to sell character accessories, plugins, and more for Robux, but it is expected that these will become open to the public with time.

When working with a development team in a Roblox group, developers can be paid with Robux either directly or through a percentage of game revenue. Direct pay-outs are a simple action that can be done through the tabs of the Configure Group page and are not a recurring payment. Giving developers a percentage of the game's earnings automatically deposits that amount into their account after it pends for verification. Remember, this can only be done when a game is hosted in a group, not on an individual's profile.

Important note

It may be valuable to remember that after a player makes an in-game purchase, Roblox has a 3-day wait period before those Robux are deposited into a group or personal account in order to verify that the purchase was a legitimate sale.

More information about the Developer Exchange program can be found here: https://www.roblox.com/developer-exchange/help.

Improving professional skills

Aside from the monetary benefits of being a Roblox developer, you are uniquely enabled to enhance other skills that you may find applicable in other professional environments. Whether you fulfill the role of project manager or just an additional programmer, you are poised to develop efficient team coordination and communication skills. One of the most sought-after qualities employers look for, especially in STEM, where most work is team-based, is being able to coordinate your work in a team with clear communication. Roblox development is, in my opinion, one of the best places for prospective computer science students to get their start and learn the fundamentals of collaboration. The platform helps develop not only greater programming abilities but also a strong foundation in leadership and eventually fiscal management skills.

Benefits of networking

While working with other people is not always necessary and there have been popular titles established by single-member teams, the social nature of Roblox strongly encourages developers to coordinate with each other to create games, with each developer fulfilling one or more roles in a project. Currently, almost every game at the top of the Popular sort has been created by a team of two or more individuals. With the great success and subsequent growth of some top games on the platform, the development teams of those games have expanded to more than 20 people, though teams of that size are not yet typical.

The best way to get involved with the community and find other developers to collaborate with is through Twitter, as well as the communication application Discord. By having a Twitter account dedicated to your development work, you can post the creations you are most proud of while communicating with other, more popular developers. These new connections with other developers in the Roblox Twitter Community (RTC) may give you the opportunity to collaborate with more well-known individuals and grow your name the more you work. Discord is a communication app that could be compared to Slack. There are a variety of Discord servers that are oriented around Roblox development and are, consequently, an excellent place to show off creations, discuss your work with other members of the community, and find new individuals to direct your efforts with.

Another important type of community for developers is Roblox YouTubers. As YouTubers create content showcasing your games, an impression is made upon their audiences and, as a result, your player count will likely increase from the new publicity. Forming firm connections with these individuals may secure future promotion for your projects while also creating advocates for your work in the process. While there is not always an easy way to connect with these content creators, they often have a Discord or Twitter presence in addition to business emails where they may respond to your inquiries.

Overall, the type of networking described here is the same in many fields of work. Expanding your image and developing your identity and reputation are the most vital elements of your career. Conducting your work legitimately and professionally will have effects that may not be immediately recognized but will certainly be of benefit to you in the future. With better networking abilities, you will become more easily connected with new people who can benefit both your work and reputation.

Discovering developer types

As previously mentioned, the Roblox developer community is quite diverse; each developer brings their own unique style and technique to the platform. In game development, there are a variety of roles that a developer can fulfill. Most commonly on Roblox, each developer typically has one primary skill that they utilize for a project. The most common types of developers on Roblox are programmers, builders, 3D modelers, UI/UX designers, and other various artists. Each developer that holds their respective role is equally important to creating a well-refined finished product.

Programmers

Programmers are responsible for creating the core of any game. From storing player data, creating working weapons, or any other game functionality that does not occur by default, a programmer is the one producing it. On Roblox, programmers use an adaptation of Lua, a fast, C-based procedural language that is commonly found in the game development industry. You will find that the syntax of Lua is less complex than others and seems even more human-oriented than most high-level languages. Because of this, many programmers find the learning curve to be quite shallow and if Lua is your first language, you may find that the transition to other languages is quite easy as common syntax from multiple programming languages is utilized.

Modelers

3D modelers create the individual items that you see in a game, from furniture, pets, food items, to any other visual pieces that are typically small to medium in size. While these models can be made inside of Roblox Studio, most 3D modelers have become skilled in using the free 3D modeling application Blender to create their meshes. There are many reasons for doing this, in particular that the parts used for creating objects inside of Roblox Studio are quite blocky and you cannot easily achieve smooth or complex shapes, while it is considerably easier to do so in modeling software.

Builders

Builders fulfill the role of creating the worlds that exist in your game. Whether it be a cold corridor in a spaceship stuck adrift or a hot, arid desert with an oasis at its center, builders are developers that ultimately create the first impression of a game when players join. With this in mind, it is important that the builder for a project is skilled enough to create the desired vision. While intuitively, you may think that builders and modelers are one and the same, they are not. Builders focus more on the overall map and world design for projects, though they often use Blender and simultaneously fulfill the role of 3D modeling for various assets in the world.

UI/UX designers

UI/UX designers create the pages and screens that players interact with inside your game. Some good examples of something a UI designer would be responsible for making include a player's inventory screen, a health bar, or any other designed visual interface. Oftentimes, the UI is the first thing a player will notice in addition to the map of your game; therefore, it would be optimal that the designer is capable of creating a visually appealing set of UI that matches the style of the game itself.

Some more peripheral developer types include animators, music producers, graphic designers, and other artists. All the different types of developers mentioned are important for creating a strong, finished product and it is important that they all are equally competent in being able to accomplish the goals of a project. You should be sure to identify which of the preceding roles interest you the most so that you can focus your time on learning more about them and developing those skills for future use.

Gaining a perspective about your early projects

Though the beginning of your development career may vary, one thing is typically standard: your first game project will not be number one on the popular page, and that's okay! As frustrating as it may be that you are not granted the instant gratification everyone craves, this is the best outcome. Speaking from personal experience, maintaining a popular game that is played by tens of thousands of players concurrently (or more) is quite stressful. It is best that new developers have time to gain additional experience in order to first acclimatize to the platform before producing popular titles. Figure 1.1 depicts the thumbnail of my first game, Endure; it almost immediately tells an onlooker that the project was made by an amateur:

Figure 1.1 – Endure was one of my first titles and lacked refinement

Figure 1.1 – Endure was one of my first titles and lacked refinement

Many new developers often run into what I've coined the Roadblocks on Roblox, where they begin to create a project that they have a passionate but loosely defined vision for and are forced to abandon it as they struggle to accomplish everything that they had originally imagined. The best way to move past these issues is to lay out a development plan and solidify the features and mechanics that should be included in your project. With this, you can review and restructure your vision as needed, keeping in mind what is popular with Roblox consumers, as well as what can be realistically accomplished with your personal abilities and that of your team for a project.

Ultimately, motivation and dedication are key; without these, projects simply do not come to fruition. It is important to remember that games are not often enjoyable to players if they were not enjoyable for the developers to create. If you are collaborating with other people, make sure that everyone on the team is on the same page for the direction and rough roadmap for the development of the game. The optimal goal, for both your mental health and the quality of your projects, is simply to make each new game better than your last. You may spend months developing a game only to have it perform at a mediocre level, but this is part of building your foundation. From each project, you gain a bit more experience and recognition. Figure 1.2 shows a direct result of following these practices; Power Simulator has been played more than 100 million times and its thumbnail is much more engaging to potential players due to its professional level of design:

Figure 1.2 – Power Simulator is my most successful title to date, a result of 2 years of experience

Figure 1.2 – Power Simulator is my most successful title to date, a result of 2 years of experience

No matter what becomes of your early projects, always look forward to the future and try to improve the gaming experience for your players while improving the development process for yourself; only with repeated effort will you find success.

Summary

The key points to remember from this chapter are what opportunities exist on the Roblox platform, what different developer types do and what interests you, as well as finding a collection of people in the community with which to create more well-founded projects.

After combining what you have learned about networking, what to expect from early development, as well as how to build your overall experience as a developer, I believe that you too will be able to accomplish amazing feats on the platform while strengthening skills that will benefit you in any professional environment.

In the following chapter, you will begin familiarizing yourself with Roblox Studio, the program with which you will create your games. Knowing all the features of your work environment, including those that may not be immediately noticeable, will help to increase your development efficiency and overall productivity on future projects.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Discover solutions to common problems faced while creating games on Roblox
  • Explore tips, tricks, and best practices and learn advanced Roblox coding techniques to create games
  • Understand how to program in the Roblox Lua language, add engaging effects, add a variety of functionalities, and much more

Description

Roblox is a global virtual platform like no other for both playing and creating games. With well over 150 million monthly active users, Roblox hosts all genres of games that can be played by other members of the community using the Lua programming language. Not only can you create games for free, but you can also earn considerable sums of money if from the success of your games, and become part of the vast and supportive developer circle that provides excellent opportunities for networking in a tight-knit community. With this practical book, you'll get hands-on experience working on the Roblox platform. You'll start with an overview of Roblox development and then understand how to use Roblox Studio. As you progress, you'll gradually learn everything you need from how to program in Roblox Lua to creating Obby and Battle Royale games. Finally, you'll delve into the logistics of game production, focusing on optimizing the performance of your game by implementing impressive mechanics, monetization, and marketing practices. By the end of this Roblox book, you'll be able to lead or work with a team to bring your gaming world to life, and extend that experience to players around the world.

Who is this book for?

This Roblox guide is for anyone interested in learning how to develop games on the Roblox platform. If you're already familiar with Roblox and looking for tips, tricks, and Roblox and Lua best practices for efficient development, you'll find this book helpful. The book requires no prior knowledge of game development.

What you will learn

  • Get started with Roblox development and explore aspects such as choosing a developer type
  • Understand how to use Roblox Studio and other free resources
  • Create your first game with the Roblox Lua programming language
  • Become well-versed with the three Ms - Mechanics, Monetization, and Marketing
  • Develop real-world games such as Battle Royale and Obby
  • Discover expert tips for collaborating effectively and managing project workloads

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 08, 2021
Length: 238 pages
Edition : 1st
Language : English
ISBN-13 : 9781800566361
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jan 08, 2021
Length: 238 pages
Edition : 1st
Language : English
ISBN-13 : 9781800566361
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Mex$ 2,770.97
40 Algorithms Every Programmer Should Know
Mex$1025.99
Git for Programmers
Mex$1128.99
Coding Roblox Games Made Easy
Mex$615.99
Total Mex$ 2,770.97 Stars icon

Table of Contents

11 Chapters
Section 1: Introduction to Roblox Development Chevron down icon Chevron up icon
Chapter 1: Introducing Roblox Development Chevron down icon Chevron up icon
Chapter 2: Knowing Your Work Environment Chevron down icon Chevron up icon
Section 2: Programming in Roblox Chevron down icon Chevron up icon
Chapter 3: Introduction to Roblox Lua Chevron down icon Chevron up icon
Chapter 4: Roblox Programming Scenarios Chevron down icon Chevron up icon
Chapter 5: Creating an Obby Chevron down icon Chevron up icon
Chapter 6: Creating a Battle Royale Game Chevron down icon Chevron up icon
Section 3: The Logistics of Game Production Chevron down icon Chevron up icon
Chapter 7: The Three Ms Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8
(33 Ratings)
5 star 60.6%
4 star 6.1%
3 star 3%
2 star 18.2%
1 star 12.1%
Filter icon Filter
Top Reviews

Filter reviews by




Ryan McFarland Mar 08, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Whether you are new to programming or a long time developer, this book definitely has something for you! It is a fantastic overview of not only how to make a game in Roblox, but also what skills you'll need in your toolkit to make your games stand out from the rest even beyond developing. This book highlights the importance of perspective particularly well. Your first masterpiece won't be your last masterpiece. Pay close attention to the material in here, because even after your game is complete your work is not finished. Mechanics > Monetization > Marketing, the vision for your game will be the foundation for your success. If you either want to master your craft or even just have fun, this book has your back!
Amazon Verified review Amazon
AvidAviator Jun 21, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a pretty good intro to coding Lua for Roblox. It does not hold your hand, however, so if you have no coding experience at all or don't understand object oriented programming, this may not be the first book you should pick up. There is a good amount of sample code and corresponding explanation, but at times I found myself having to go back through and re-read a couple of times, do some googling, etc., which is perfectly fine - that's the best way to really learn. I got this book to help my young son learn how to build his own games in Roblox and as a team we have done a pretty good job. He designs the levels and I hook the code in. :) For reference, I have a BS and MS in CompSci and am a data scientist so I have quite a bit of background in coding but am not a software engineer. This book was a good balance for me and I'm really impressed that it was written by a college student. (Who is also really a nice guy - he reached out via twitter to thank my son for some artwork he made for one of Zander's games). Zander, you have a bright future ahead of you.
Amazon Verified review Amazon
Kinty L. Mar 06, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The author seems to be very familiar with the Roblox market and environment and understands the concepts he teaches well. I strongly recommend this book if you are interested in Roblox development as it also goes over information about the general platform, not just programming.
Amazon Verified review Amazon
Phil Jan 22, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book comes with a lot of visual examples that are easy to follow if you are a beginner! Would definitely recommend this book to anyone looking to learn how to code games on Roblox as well as to anyone who is looking to gain extra knowledge when developing on the platform using Lua!
Amazon Verified review Amazon
Hans Jürgen Elschner Oct 21, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I just love this book!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.