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

Making your bed

Making your bed tends to be a daily task in real life. On Roblox, thankfully, you only need to make it once. In this recipe, we will be using the building tools within Roblox Studio in combination with primitive parts to create a bed template, and then detail it with a headboard and bed frame legs. We will then create blankets and pillows. We will complete this recipe by finalizing the bed with color and a material.

How to do it…

In this recipe, we will first build the bed’s frame out of different-shaped parts. We will then create a mattress and pillows, followed by covering the bed with sheets. We will finish by draping the sheet over the edges of the bed at the bottom of the bed.

Let’s look at how we can do this:

  1. To begin, insert a square block part onto the baseplate.
  2. Next, rescale the part to roughly the size of a bed. In this example, we will be scaling the part to 10, 1.25, 14 studs:
Figure 1.21: Legs attached under the bed frame

Figure 1.21: Legs attached under the bed frame

  1. Now, to make room to place the legs, move the part up 0.75 studs from the baseplate so that the bed is levitating above the baseplate:
Figure 1.22: Bed leg moved inward from the corner

Figure 1.22: Bed leg moved inward from the corner

  1. Now, using square parts, create four bed legs, one under each corner of the bed. The legs used in this example are scaled 0.5, 0.75, 0.5 studs.
  2. Move each of the table legs inward 0.15 studs from the tabletop’s edges to add depth to the model.
  3. Next, create a headboard along the back end of the bed using a square part.
  4. Next, insert a wedge part, place it on one of the sides at the top of the headboard, and rescale it to be roughly half of the length of the headrest. In this example, I have the wedge sloping inward.
  5. Duplicate the headboard wedge part and rotate it 180 degrees, then place it on the opposite side of the headboard, as seen in Figure 1.23:
Figure 1.23: Wedges on headboard

Figure 1.23: Wedges on headboard

  1. Duplicate the original part sitting on top of the legs and then move it to sit on top to create the mattress.
  2. Now, to help tell the pieces apart, change the mattress part color to Pearl (231, 231, 236).
  3. Using a cylinder part, round the end of the mattress at the bottom end of the bed opposite to the headboard, as seen here:
Figure 1.24: Breakdown photo of the parts used to round a mattress

Figure 1.24: Breakdown photo of the parts used to round a mattress

  1. Now, insert a square part and rescale it to the shape of a pillow. In this example, the pillow is 3.5, 1, 2 studs.
  2. Using four individual cylinder parts, place them on each corner of the pillow to round the edges.
  3. Next, duplicate the pillow’s square body parts.
  4. Rescale the duplicated part to fill the gap between the corners, as shown in Figure 1.25:
Figure 1.25: Breakdown photo of the parts used to round a pillow

Figure 1.25: Breakdown photo of the parts used to round a pillow

  1. Group the parts of the pillow and name the model Pillow.
  2. Now, recolor the parts within the pillow group to (231, 231, 236).
  3. Move the pillow onto the bed below the headrest.
  4. Now, rotate the pillow so that it’s leaning against the headrest.
  5. Next, duplicate the pillow and move it beside the first to finish the pillows.
  6. To create a bed sheet, duplicate the mattress and rescale it to sit over the top of the mattress by 0.15 studs on all 6 sides.
  7. Rescale the top of the bedsheet (the end where the pillows are) back 2 studs so that the mattress is visible.
  8. Now, duplicate the sheet part and create a second bedsheet at the foot of the mattress. In this example, the foot sheet is scaled to 10.2, 1.65, 2.3, as shown here in Figure 1.26:
Figure 1.26: Foot sheet

Figure 1.26: Foot sheet

  1. Now, color your bed sheets and frame. In this example, the color for the sheets is 236, 57, 57 and the color of the bed frame is 165, 126, 107.
  2. Next, add the Wood material to the bed frame and legs.
  3. Select all the parts and group them, then rename your model Bed.

This concludes the final step of creating a bed model. If your bed falls apart when you test the place, it means that you probably didn’t anchor your parts! Make sure to remember that as you build through each recipe in this cookbook:

Figure 1.27: Completed bed model

Figure 1.27: Completed bed model

You now should have an understanding of the ways to overlay parts onto each other as well as how to use the seat part as a method of letting players lay on the bed (see the There’s more… section at the end of this recipe).

There’s more…

Remember using the seat part for the chair in step 7 of the Building cactuses recipe? Well, if you use the same seat part but have it rotated at an angle on top of the bed, players can then lay on the bed:

Figure 1.28: Player lying on the bed, or are they sitting?

Figure 1.28: Player lying on the bed, or are they sitting?

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