Placeholder Image

字幕列表 影片播放

由 AI 自動生成
  • 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.

    這包括零件、屬性、命令和腳本的介紹usar點擊下面的可點擊部分來跟蹤你在本教程中的步驟。

  • 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.

    對於這個例子,你將建立一個基本的OB Be,所以選擇一個塊來做你的起始平臺。

  • 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.

    還有移動工具,可以通過X Why和Z軸來移動零件。

  • 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.

    你還可以設置可以碰撞的默認值,以確保玩家可以通過你的產卵點來複制你放在世界中的物體,點擊它並按控制或命令加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.

    你可能要熟悉我們的控制或命令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.

    旋轉您當前所選的一個或多個對象 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.

    你想要一個組,然後按控制鍵或命令加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.

    ob蜜蜂的另一個主力軍是熔岩磚,當玩家被觸及時,會被殺死。

  • 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.

    然後點擊腳本,我們將為對象添加一個基本的hello world腳本。

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

    Roadblocks利用Lua編程語言來編寫所有的腳本。

  • 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.

    既然你要創建一個knobby,你可以在最後這裡做基本的平臺ing部分和熔岩磚,然後為玩家創建一個降落平臺,作為終點。

  • 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.

下面就為大家介紹一下路障遊戲的製作方法。

字幕與單字
由 AI 自動生成

單字即點即查 點擊單字可以查詢單字解釋