Reader small image

You're reading from  The Ultimate Roblox Game Building Cookbook

Product typeBook
Published inDec 2023
Reading LevelN/a
PublisherPackt
ISBN-139781805121596
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Taylor Field-Draper
Taylor Field-Draper
author image
Taylor Field-Draper

Taylor Field-Draper is a veteran Roblox developer based in Alberta, Canada, who has been creating on the platform for over 15 years, specializing in level and game design, building, and 3D generalist work. At the time of writing this book, he works as the lead producer for special projects at Gamefam where he oversees the direction, conceptualization, and art production for some of Roblox's most popular events, particularly virtual concerts. Prior to working at Gamefam, Taylor was a freelance game developer for numerous Roblox-focused studios and dozens of games that have collectively garnered billions of accumulative visits.
Read more about Taylor Field-Draper

Right arrow

Beaming a laser

A second resource that Roblox provides us with is the Beam object, which draws a texture between two attachments. Attachments define a point we can use to create a start and end point for the beam. We can then modify the appearance of the image being emitted, the curvature, and the width to create a tight beam effect. We will examine how to create attachments and then how to project a beam between the two set attachment points.

How to do it…

We will start this recipe by inserting two Attachment objects into a part and then moving them to the width of our beam. We will then insert a Beam object and then link it to the two attachments. We will continue by applying our ImageID texture and then changing the start and end width of the beam. To begin, follow these steps:

  1. In the top menu bar, navigate to the Constraints section found under the Model tab.
  2. Enable Constraint Details so that the constraints that we place are visible.
  3. Next, insert a...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The Ultimate Roblox Game Building Cookbook
Published in: Dec 2023Publisher: PacktISBN-13: 9781805121596

Author (1)

author image
Taylor Field-Draper

Taylor Field-Draper is a veteran Roblox developer based in Alberta, Canada, who has been creating on the platform for over 15 years, specializing in level and game design, building, and 3D generalist work. At the time of writing this book, he works as the lead producer for special projects at Gamefam where he oversees the direction, conceptualization, and art production for some of Roblox's most popular events, particularly virtual concerts. Prior to working at Gamefam, Taylor was a freelance game developer for numerous Roblox-focused studios and dozens of games that have collectively garnered billions of accumulative visits.
Read more about Taylor Field-Draper