Placeholder Image

Subtitles section Play video

  • Here's how to make a roadblocks game.

  • This video will be going over the basics.

  • This includes parts, properties, commands and an introduction to scripting usar clickable sections below To keep track of what step you're on during this tutorial.

  • To make a game, you'll need tohave roadblock Studio installed first.

  • If you don't have it, you can download it from roadblocks dot com slash create.

  • We've included this link in the description below.

  • From there, open up roadblocks studio and choose a template to start building on.

  • For this example, Choose base plate to begin placing things in the world, go up to the model or world menu and click parts parts are the basic building blocks for creating models and geometry.

  • Within roadblocks games you can choose between blocks, spheres, wedges and cylinders.

  • For this example, you're going to be building a basic OB Be so choose a block to make your starting platform.

  • By using the scale tool.

  • You can change the size of your part, hold control or command while you scale your part.

  • It'll evenly grow or shrink in both directions.

  • You can also use the rotate tool to change the pitch.

  • Yeah, and role of your parts.

  • There's also the move tool, which allows you to move parts via the X Why and z axes.

  • You can also change the color with the properties panel, change the transparency and the reflectiveness of your parts here.

  • The properties panel also allows you to set whether or not a part is anchored.

  • If apart isn't anchored, it will be affected by gravity and fall down instead of staying where you placed it in your game.

  • Here, you can also set the parts can collide bullion.

  • If this is turned off, players can walk right through it.

  • If it's turned on, players will collide with the part to change the name of the part, go up to the name, section and properties and change it to whatever you want.

  • If you want to place an object in your game that someone has already made, you can go over to the toolbox and search for anything you might want to use.

  • Anything you place into the game could be found in the Explorer under the workspace tap.

  • If you want to remove something from your work space, click on it and press delete or backspace to have your parts face into each other.

  • Turn off collisions from the model menu.

  • Otherwise, parts you place in the world will collide with each other to set where players will spawn in your game, you can play spawn points from the model menu.

  • If you want to hide your spawn points, you can set their transparency toe one and then delete the decal on them.

  • You can also set the can collide defaults to make sure players can walk through your spawn points in order to duplicate an object you've placed in the world, click on it and press control or command plus D.

  • For this example, you can create a couple of spawn points on your beginning.

  • Platform some other commands.

  • You may want to be familiar with our control or command Z.

  • This one do any actions you performed on your map control or command?

  • Why this will redo any actions you've undone.

  • Control or command?

  • Are this.

  • Rotate the object or objects you currently have selected F.

  • This will focus the camera on whatever object you currently have selected toe.

  • Organize your game.

  • You can group objects together to do this.

  • Control or command.

  • Click all of the objects.

  • You want a group and then press control or command plus G.

  • You can also shift.

  • Click in the workspace if you want to group together a bunch of objects.

  • Another staple of ob bees are lava bricks, which kill the player when they're touched.

  • In order to make wannabes, you'll need to get to scripting.

  • Scripting is what allows creators toe, add unique functionality, departs and models toe, add a script to a model or part, hover over them in the workspace and click the plus icon.

  • Then click script, and we'll add a basic hello world script to the object.

  • Roadblocks utilizes the Lua programming language for all of its scripting.

  • Here's a basic script.

  • They'll kill the player if they touch the block.

  • Functions are reusable groups of code that could perform actions.

  • In this case, the function is triggered whenever the player touches the block.

  • The parent refers to the block itself or the owner of this script.

  • The humanoid here is checking to make sure that whatever touch the block, it's a humanoid character.

  • If it is, it will execute the rest of the code.

  • Now that you have all of the basics out of the way, it's time to start really assembling your game.

  • Since you're creating a knobby, you could make the basic platform ing section on and lava bricks here at the end, then create a landing platform for the player to act as the finishing point.

  • To test your level, go to the test or home menu and click play.

  • This will spawn you in from the spawn points you said earlier.

  • If you want to spawn from a specific spot, you can click the drop down below play and click play from here.

  • When you're satisfied with your game, you can choose to publish it so that others can play it.

  • To do that, click on the publish button that will bring up a new menu.

  • Click on Create New Game from there, give your game of name description, set the genre and what devices your game is playable on to set.

  • Who can play your game, go up to the game settings in the whole menu, click permissions and then set your games of friends, public or private.

Here's how to make a roadblocks game.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it