Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Ultimate Roblox Game Building Cookbook

You're reading from   The Ultimate Roblox Game Building Cookbook Design immersive experiences with easy-to-follow recipes for world and game development

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781805121596
Length 218 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Taylor Field-Draper Taylor Field-Draper
Author Profile Icon Taylor Field-Draper
Taylor Field-Draper
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Chapter 1: Getting Started with Studio Modeling FREE CHAPTER 2. Chapter 2: Introduction to Solid Modeling and CSG Tools 3. Chapter 3: Sculpting Terrain 4. Chapter 4: Learning to Use VFX 5. Chapter 5: Building a Multiplayer Obby 6. Chapter 6: Designing a House 7. Chapter 7: Single-Player Map Flow 8. Chapter 8: Building a PvP Map 9. Chapter 9: Monetizing Your Experience 10. Chapter 10: Extra Building Recipes 11. Index 12. Other Books You May Enjoy

Creating a chair

In this recipe, we will be creating a chair prop using primitive-shaped parts. We will start by boxing out the shape of the chair with a primitive part and then attach a seat, which will allow players to sit on the chair. You will see how to orientate the seat part before we apply color and wood to our chair. We will finish off this recipe by using the MaterialFlip plugin, which can be downloaded from here: roblox.com/library/166951203.

How to do it…

We will begin by creating the basic shape of the chair out of square parts. We will further render out the chair’s shape by adding legs. Next, will add a seat part to the model and then detail the chair with color and the Wood material. To finish, we will correct the woodgrain of the chair using the MaterialFlip plugin.

So, to create a chair, follow these steps:

  1. Insert a square part into Workspace by navigating to the Model tab in the top bar and then selecting the Part tab.
  2. Next, select the part and then navigate to the Property tab. In the Size value field, change the increments to 2, 1.5, 2.25 studs.
  3. Duplicate the square part and place it flush on top of the original part. Resize the duplicated part to 0.35, 2.5, 2.25 to make this the back of the chair.
  4. Rescale the original part to 2, 0.2, 2.25, which will be the seat of the chair. Adjust as necessary using the Scale and Move tools.
  5. Next, create four legs on each corner of the bottom of the chair using a square part scaled to 0.2, 1.3, 0.2 studs.
  6. Now, in the Model tab, select the Rotate tool. In the Snap to Grid part of the Model tab, checkmark the box labeled Rotate, and then change the number in the value field box to 5 degrees.
  7. Rotate each of the legs 5 degrees outward on the x and z axes. You can see a before-and-after comparison in Figure 1.1:
Figure 1.1: Rotated chair legs

Figure 1.1: Rotated chair legs

  1. Now, to make sure there’s no gap between the legs and the chair seat, select all four legs and then use the Move tool to move the legs upward so the tops of the legs are hidden inside of the chair part.
  2. Next, insert a Seat object from Toolbox or the Chapter 1 folder.
  3. Next, place the Seat object onto the chair with the yellow marker facing where the player’s legs will point. You can press Ctrl + R and Ctrl + T to rotate the seat or part selected:
Figure 1.2: A seat object placed on the chair

Figure 1.2: A seat object placed on the chair

  1. Change the transparency of the seat to 1 by navigating to the Appearance tab found within the seat’s Properties box.
  2. Change the color of the chair to (108, 88, 75).
  3. Next, change the chair part Material type to Wood.
  4. If your wood grain does not flow the proper way, select the MaterialFlip plugin found in the Plugin tab within the top bar and then click on the part with improper woodgrain to flip the texture’s orientation:
Figure 1.3: Images of incorrect (left) and correct (right) woodgrain

Figure 1.3: Images of incorrect (left) and correct (right) woodgrain

  1. Select all of the parts of the chair and then checkmark the Anchored box found in the Properties menu. This will cause the parts to remain in place and not be affected by physics.
  2. With all of the parts still selected, click Ctrl + G to group the parts of the chair, and name the model Chair within the Workspace.

This completes this recipe for creating a chair:

Figure 1.4: Completed chair model

Figure 1.4: Completed chair model

You now should have a basic understanding of how to manipulate parts within Roblox Studio, set transparency, and use seat parts.

You have been reading a chapter from
The Ultimate Roblox Game Building Cookbook
Published in: Dec 2023
Publisher: Packt
ISBN-13: 9781805121596
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 $19.99/month. Cancel anytime
Banner background image