Placeholder Image

字幕列表 影片播放

由 AI 自動生成
  • Alright, yo, what's going on guys?

    好吧,你們怎麼了?

  • So this is my first video.

    這是我的第一個視頻。

  • It is the dev king here I know my name is kind of cheesy, but I hope you guys enjoy the name actually But anyways is the dev king here and I'm going to be starting my scripting or beginner scripting tutorial So this is it guys Basically in this tutorial series.

    我是開發王,我知道我的名字有點俗氣,但我希望你們喜歡這個名字,不管怎麼說,我是開發王,我要開始我的腳本或初級腳本教程了。

  • I'm going to be showing you guys everything there is about scripting from Printing to functions to loops to events to remote functions everything Okay, like I want to teach you guys everything so you can make awesome games like games in the front page So it's a jailbreak and you know meep city and all that stuff I'm gonna be teaching guys everything about scripting and how to do it all So if you want to learn completely how to script then this is how you do it guys All right.

    我將向你們展示關於腳本的一切,從打印、函數、循環、事件到遠程函數,應有盡有 好吧,我想教給你們一切,這樣你們就能製作超棒的遊戲,比如前端頁面中的遊戲,所以這是越獄,你們知道 meep City 和所有那些東西,我將教給你們關於腳本的一切,以及如何做到這一切,所以如果你們想徹底學會如何編寫腳本,那麼這就是你們的方法。

  • Anyways before we get into the video.

    總之,在我們開始看視頻之前

  • I just want to announce one thing I just want to shout out peace pod Okay Like he I learned a lot from him like a few months ago and it's hard to learn sometimes when you're doing scripting tutorials because Sometimes they just stop or they leave a gap in the video and like you'd like to kind of get confused But I'm gonna be replying to almost every comment or every comment as I can It also have some other my scripting friends come reply to your comments as well So they can help you out and if you're in the comment section below and you see someone's comment and you think you know the answer just give them the Answer I mean like if you think you can help them, you know, at least attempt to all right anyways, that's all I wanted to say and First things first, you're gonna need to download roblox studio.

    我只是想宣佈一件事,我只是想大聲喊出和平豆莢 好吧,就像他一樣,我從他那裡學到了很多東西,就像幾個月前,有時當你做腳本教程時很難學習,因為有時他們只是停止或他們在視頻中留下一個缺口,就像你想有點困惑。如果你在下面的評論區看到別人的評論,你覺得你知道答案,就給他們答案,我的意思是,如果你覺得你能幫助他們、總之,這就是我想說的,首先,你需要下載 roblox studio。

  • So the link to it is going to be in the description below It's just roblox.com slash create but the links in the description below if you don't want to type that in Anyways, after you have it open installed you're just gonna want to go ahead and go to new and you're gonna want to hit all templates and Now all templates means basically like roblox gives you a few like beginner templates to start out building your game Although we want to make our own game from scratch.

    總之,當你打開安裝好的遊戲後,你就可以繼續新建遊戲,然後點擊 "所有模板","所有模板 "基本上就是指 roblox 為你提供的一些初學者模板,以便你從頭開始製作遊戲。

  • So we're not gonna use any of these Yeah, that's basically what it is anyways all templates and then hit baseplate and Now it'll just start up the server for you should give that a second.

    所以我們不會使用這些模板,反正基本上都是這樣,然後點擊基板,現在它就會為你啟動服務器,請稍等片刻。

  • So now it's open and you have everything you need So I'm not gonna be like Where I am gonna be actually explaining like almost everything there is to know about this So if you already had a bit of experience with a studio Might want to go to you might want to go to the next tutorial because this one it's gonna be like from the ground Up, but if you want to review that's fine, too so anyways Workspace.

    所以,如果你對工作室已經有了一定的經驗,可能會想去看下一個教程,因為這個教程將從頭開始,但如果你想複習,也沒問題,總之,工作區。

  • Okay.

    好的

  • I'm gonna explain what the workspace is.

    我要解釋一下什麼是工作區。

  • Okay, so the workspace is Basically just everything you can see.

    好了,工作區基本上就是你能看到的一切。

  • Okay, so everything I can see right now is the workspace All right, so if I had a part in here, it's in the workspace Now if I put it to server storage, you can't see it anymore because it's in server storage now I'll explain all this other stuff in this and like all this stuff in a later video because it's a bit more advanced But all you know for now is this now anyways, we leave that part But I'm sorry if you guys don't have like the Explorer or properties or output showing up You're gonna want to go ahead and go to the view tab at the top of your screen All right And then you're gonna want to go hit explore and properties and output make sure they're all grayed out and you can move them around Too by just doing this so it's pretty kind of it's actually kind of cool because I usually have mine like this like Explorer on here and properties on here, but For beginners sake and for how like it looks by default.

    好的,我現在能看到的都是工作區 好的,所以如果我在這裡有一個零件,它就在工作區裡 現在如果我把它放到服務器存儲區,你就再也看不到它了,因為它在服務器存儲區裡 現在我會在後面的視頻裡解釋這裡面的所有其他東西,比如所有這些東西,因為它更高級一些,但不管怎麼說,你現在只知道這個、但很抱歉,如果你們沒有顯示資源管理器、屬性或輸出,就需要進入螢幕頂部的 "視圖 "選項卡,然後點擊 "資源管理器"、"屬性 "和 "輸出"。

  • I'll keep it like this.

    我會保持這樣。

  • So anyways now I'm gonna explain to you a few basic features of a part because you're gonna need to know that for scripting and Open and I'll show you how to make your first script and then the next video will actually start scripting So yeah, anyways, um, so let's go ahead and insert a part So to insert a part you don't want to go to the home tab or the model tab and then you want to click the part But okay, pretty simple not that hard Now if you go to part and you click on it in the workspace, right?

    總之,現在我要向你解釋一下部件的一些基本功能,因為你需要知道這些功能才能編寫腳本和打開,我將向你展示如何編寫第一個腳本,然後下一個視頻將真正開始編寫腳本。

  • This will give you all the properties for that part now So you'll be doing this every single day and hand that hands what you do and there are a bunch of cool like features or variables what you call them and you can change all these values and variables with Properties or you can do in script.

    這將為你提供該部分的所有屬性,所以你每天都要這樣做,然後將它交到你的手上,這裡有很多很酷的功能或變量,你可以用屬性或腳本更改所有這些值和變量。

  • So it says what you want to do like while the games running But if you want if you can like build something you don't have to really use a script for it We're just kind of cool.

    不過,如果你想的話,你可以創建一些東西,而不必使用腳本,我們就是這麼酷。

  • But anyways, so let's go ahead and explain like a few basic properties and which ones would need okay, so you're gonna click on the part and You can change the brick color.

    不管怎樣,我們先來解釋一下幾個基本屬性,以及哪些屬性是需要的,然後點擊部件,就可以更改磚塊的顏色了。

  • So I'll make it really blue So the brick color is called really blue and I can make it yellower.

    所以我要把它調成真正的藍色,磚的顏色就叫真正的藍色,我可以把它調得更黃一些。

  • That's what it's called new yellow So yellow and yeah, basically just color.

    這就是所謂的 "新黃色",對,基本上就是顏色。

  • I'm gonna make it like a little nice white or that's actually a violet.

    我要把它做成漂亮的白色,或者紫羅蘭色。

  • But anyways let's go ahead and change the material so the material is just It's pretty simple the material so That's foil.

    不過,不管怎樣,我們還是先把材質改一下,這樣材質就很簡單了,就是箔片。

  • That's brick.

    這是磚塊。

  • That's concrete.

    這是具體的。

  • I'm sure you got the just by now.

    我相信你現在已經明白了。

  • It's the material That's sand.

    這是沙子的材料。

  • Okay, so you'll be using this in your game spending what you like to use My personal favorite type of material is smooth brick.

    我個人最喜歡的材料是光滑的磚塊。

  • It just looked or smooth plastic.

    它看起來就像光滑的塑膠。

  • It just looks really nice and You know, there's no like material on it.

    它看起來非常漂亮,而且上面沒有類似的材料。

  • Just like kind of like clean nice walls and good for building in my opinion, but anyways I'm gonna go ahead and move this up a little bit so we can click on it Got the move tool and you can move it up and you also have the scale tool and stuff the scale tool basically Scales it so you can move like this.

    在我看來,這樣的牆壁很整潔,也很適合建築,但不管怎樣,我還是要把它往上移一點,這樣我們就可以點擊它,得到移動工具,然後你就可以把它往上移了,你還可以使用縮放工具,縮放工具基本上就是縮放它,這樣你就可以像這樣移動了。

  • You can move like this like this like this So yeah, it's pretty obvious but and then you have a rotate tool which is just like you can turn it like on the y-axis or on this axis or This axis to make it look really cool But if you're wondering how I'm like undoing all this stuff or like like yeah I'm doing it if you press ctrl Z It'll actually undo what you did and you press ctrl Y it'll redo what you did.

    你可以像這樣移動,像這樣,像這樣,所以是的,這很明顯,但你還有一個旋轉工具,就像你可以在 Y 軸、這個軸或這個軸上旋轉它,讓它看起來非常酷,但如果你想知道我是如何撤銷所有這些東西的,或者就像我正在做的那樣,如果你按下 ctrl Z 鍵,它實際上會撤銷你所做的,而你按下 ctrl Y 鍵,它會重做你所做的。

  • That's very useful You'll be using that all the time.

    非常有用,你會一直用到它的。

  • It also works that when you're using scripts so anyways Now that I've shown you that I'll show you a few more features of this so obviously you have the name which is I'm gonna name it my part and you have the class names the class name is basically what it is okay, so like if I have a Try to give an example if I have a Look a different thing.

    在使用腳本時也是如此,總之,既然我已經向你們展示了這一點,我就再向你們展示一下它的其他功能,很明顯,你們有名字,我把它命名為我的部分,你們有類名,類名基本上就是它的內容,所以,如果我有一個嘗試,舉個例子,如果我有一個外觀不同的東西。

  • It'll be called a different class name.

    它將被稱為不同的類名。

  • So this is terrain This is the camera so that by default like the name or what you'd actually call it But anyways, don't worry about that right now.

    是以,這是地形 這是攝像頭,默認情況下,它的名字就像你對它的稱呼,但無論如何,現在不用擔心這個。

  • So orientation is just the rotation.

    是以,方向只是旋轉。

  • Don't worry about that either You might not be using that for a little while So this is just I'll show you real quick So I can press 90 or type in 90 and it'll turn it all the way around on one side So that's a little bit more advanced, but don't worry about it.

    這一點也不用擔心,你可能一時半會兒用不上,所以這只是我快速演示給你看的,我可以按 90 或輸入 90,它就會把它轉到一側,所以這有點高級,但不用擔心。

  • So anyways I'm going to the part so position is the same thing you can move it around with the coordinates You can get exact values.

    總之,我現在要做的就是把部件定位,定位也是一樣的,你可以用座標來移動它,也可以得到精確的數值。

  • So boom I just moved it back to the zero on the Z and I'll move it to zero on the X So moving now, it's an exact center.

    所以,我剛剛把它移回了 Z 軸上的零點,然後又把它移到了 X 軸上的零點。

  • So that's kind of cool anyways Anchored archivable and can't collide or The all these kind of features, okay and locked now You're gonna be using the anchored and can't collide the most archivable.

    無論如何,錨定歸檔、無法碰撞或所有這些功能都很酷,好了,現在鎖定,你將使用錨定歸檔和無法碰撞的功能。

  • Just leave that check.

    只要留下那張支票。

  • Don't even worry about that This will be the most important okay collided and anchored or yeah, so anyways I'm gonna go ahead and show you what anchored and can't collide does so if you have to play press play, sorry The block the block is in the air, right, but it'll it's gonna fall down now You may be wondering like why I fell down because it's in the air, right?

    別擔心,這將是最重要的,好吧,碰撞和錨定或者是的,所以無論如何,我會繼續前進,並告訴你什麼錨定和不能碰撞的作用,所以如果你要玩按播放,對不起塊塊是在空中,右,但它會它會掉下來,現在你可能想知道為什麼我掉下來,因為它是在空中,對不對?

  • Like it's in the air.

    就像在空氣中一樣。

  • So you think it'd stay in the air, but Currently roblox applies like basic like physics So like gravity if that's too advanced or about that gravity is basically just like stuff that pushes stuff down But don't worry about that.

    所以你認為它會停留在空中,但目前 roblox 應用的是基本的物理學原理,比如重力,如果你覺得太深奧,重力基本上就是把東西往下壓,但這不用擔心。

  • So if you press anchored basically, none of these stuff will affect it Okay, so you press anchored it will just stay exactly where it was when the game started So anchored just makes it stay where it is.

    所以,如果你按下 "錨定 "鍵,基本上這些東西都不會對它產生影響 好吧,所以你按下 "錨定 "鍵,它就會保持在遊戲開始時的位置。

  • Okay, that's pretty simple So you can jump on it and make obvious, you know, whatever you want to do And now you have the can't collide part I want to move it down just a little bit because I want to be able to like walk.

    好的,這很簡單,所以你可以跳上去,做得很明顯,你知道的,你想做的任何事情,現在你有了不能碰撞的部分,我想把它往下移一點,因為我想能夠像走路一樣。

  • All right Okay, I'll show you but so can't collide by default can't glide is checked.

    好的,我演示給你看,但默認情況下,"不能碰撞 "和 "不能滑行 "是選中的。

  • Okay now can't glide pretty obvious in the name It means you can collide with it.

    好了,現在不能滑行,從名字上就能看出來,意思是你可以和它相撞。

  • Okay, so if I touch it, it will collide with me It'll bounce off me or I can jump on it.

    好吧,如果我碰到它,它就會和我相撞,從我身上彈開,或者我可以跳到它身上。

  • Now if I turn it off and I hit play What happens is it'll actually?

    現在,如果我把它關掉,然後按播放鍵 會發生什麼呢?

  • You'll go through it.

    你會熬過去的。

  • So like as you can see here, I'm walking through the brick I can't jump on or anything because I can't collide with it So let's say you can make like walls you can walk through and stuff, which is pretty cool You can change and the best part is you can change all this stuff with scripts Okay, so I can change every single one of these values like all of these with a script So when you're in the game and you need to do it in the game Like how you make doors and stuff you would just do that now also I forgot to mention transparency reflectance.

    所以,就像你在這裡看到的那樣,我正在穿過磚塊,但我不能跳上去或做任何事情,因為我不能與磚塊發生碰撞,所以比方說,你可以製作可以穿過的牆壁之類的東西,這很酷,你可以改變,最棒的是你可以用腳本來改變所有這些東西。

  • So Transparency is just like obviously transparent if you put out 0.5, it'll be halfway see-through, you know You can't really see all the way through it and you put it at one It will be all the way see through so you can see all the way through it Well, I'm gonna keep mine zero and reflectance also pretty simple How much it reflects so as you can see while I move it You can see that's reflecting the sky in those clouds and the Sun.

    透明度是透明的,如果透明度為 0.5,就會有一半是透明的,你知道,你不可能完全看透它,而如果透明度為 1,就會完全看透,這樣你就可以完全看透它了,我將保持我的透明度為 0,而反射率也非常簡單,你可以看到它反射了多少,當我移動它時,你可以看到它反射了天空中的雲彩和太陽。

  • So yeah, that's kind of cool, too Anyways, um, that is your first tutorial.

    總之,這是你的第一個教程。

  • So that's pretty simple guys This is how you make your first little block and basics intro to studio But I'm gonna show you guys how to insert a script real quick.

    這就是製作第一個小區塊的方法,也是工作室的基礎入門。

  • So You're gonna click on workspace you hit the plus button and you type in script All right.

    點擊 "工作區",按下 "加號 "按鈕,然後輸入腳本。

  • Now you have the script.

    現在你有了劇本。

  • All right So the script will run in workspace or server script service if it's anywhere else the script will not run So make sure it's either in here or in here now also one basic thing.

    所以,腳本將在工作區或服務器腳本服務中運行,如果在其他地方,腳本將無法運行。

  • I Want to tell you is printing.

    我想告訴你的是印刷。

  • Okay, so printing is basically just like you can print stuff to the output Okay, I'm not actually printing like with like a paper anything but printing you see as if by default that script had print Hello world in it.

    好吧,打印基本上就是把東西打印到輸出端,好吧,我不是真的用紙打印,而是打印,就像默認情況下腳本里有打印 Hello world 一樣。

  • Now it printed.

    現在打印出來了。

  • Hello world into the output.

    輸出 "Hello world"。

  • So yeah, that's our first tutorial and yeah, and the next video will be scripting probably using variables or Showing you some more printing or maybe both.

    這就是我們的第一個教程,下一個視頻可能會使用變量編寫腳本,或者向你展示更多打印功能,或者兩者兼而有之。

  • But yeah, anyways guys I hope this video wasn't too long and I hope you subscribe and Like the video if you liked the video that makes me let's me know that I like or you like it and I can make more of them so make sure like the video and subscribe if you enjoyed it and also guys if you want to just watch a playlist of all these because you may be watching it like months after I've posted it which would be so relevant, but You may be watching like months as I posted it There's probably gonna be a playlist in the description below So we can just like look through all of that once instead of having to you know, go find it and stuff So I recommend using that playlist and down below and just saving it or something.

    總之,我希望這個視頻不會太長,也希望你們訂閱並喜歡這個視頻,如果你們喜歡這個視頻,我會告訴你們我喜歡或者你們喜歡這個視頻,這樣我就可以製作更多的視頻,所以如果你們喜歡這個視頻,請務必喜歡這個視頻並訂閱,如果你們想觀看所有這些視頻的播放列表,因為你們可能會在我發佈視頻幾個月後才觀看,這樣就很有意義了、但你可能會在我發佈了幾個月後再看 可能會在下面的描述中有一個播放列表,所以我們可以只看一遍,而不用你知道,去找到它之類的東西,所以我建議使用該播放列表,並在下面保存它或其他東西。

  • All right.

    好的

  • Anyways guys, I hope you enjoyed the video I'll see you in the next one.

    總之,希望你們喜歡這段視頻,我們下期再見。

  • Peace

    和平

Alright, yo, what's going on guys?

好吧,你們怎麼了?

字幕與單字
由 AI 自動生成

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