本帖最后由 蚊子 于 2020-8-6 18:21 编辑
This tutorial will run you through Godot's interface. We're going to look at the Project Manager, docks, workspaces and everything you need to know to get started with the engine.
本教程将引导您通过Godot的界面。我们将研究项目管理器,扩展坞,工作区以及开始使用该引擎所需的一切。 Project managerWhen you launch Godot, the first window you'll see is the Project Manager. Since you have no projects there will be a popup asking if you want to open the asset library, just click cancel, we'll look at it later.
启动Godot时,您将看到的第一个窗口是项目管理器。由于您没有任何项目,因此会弹出一个对话框,询问您是否要打开资产库,只需单击“取消”,我们将在以后进行查看。 Now you should see the project manager. It lets you create, remove, import or play game projects.
现在您应该看到项目管理器。它使您可以创建,删除,导入或玩游戏项目。 In the top-right corner you'll find a drop-down menu to change the editor's language.
在右上角,您会找到一个下拉菜单,用于更改编辑器的语言。 From the Templates tab you can download open source project templates and demos from the Asset Library to help you get started faster. Just select the template or demo you want, click download, once it's finished downloading click install and choose where you want the project to go. You can learn more about it in About the Asset Library.
在模板标签中,您可以从素材资源库下载开源项目模板和演示,以帮助您更快地入门。只需选择所需的模板或演示,然后单击下载,完成下载后,单击安装,然后选择项目要去的地方。您可以在关于资产库中了解更多信息。
Create or import a project创建或导入项目To create a new project, click the New Project button on the right. Here you give it a name, choose an empty folder on your computer to save it to, and choose a renderer.
要创建一个新项目,请单击右侧的按钮。在这里给它起一个名字,在计算机上选择一个空文件夹保存它,然后选择一个渲染器。
New Project Click the Browse button to open Godot's file browser and pick a location or type the folder's path in the Project Path field.
单击浏览按钮打开Godot的文件浏览器,然后选择一个位置或在“项目路径”字段中键入文件夹的路径。 When you see the green tick on the right, it means the engine detects an empty folder. You can also click the Create Folder button next to your project name and an empty folder will be created with that name for the project. Finally, you need to choose which renderer to use (OpenGL ES 3.0 or OpenGL ES 2.0). The advantages and disadvantages of each are listed to help you choose, and you can refer to Differences between GLES2 and GLES3 for more details. Note that you can change the backend from the project settings if you change your mind later on. For this tutorial either backend is fine.
当您在右侧看到绿色的勾号时,表示引擎检测到一个空文件夹。您也可以单击项目名称旁边的按钮,然后将使用该项目的名称创建一个空文件夹。Create Folder
最后,您需要选择要使用的渲染器(OpenGL ES 3.0或OpenGL ES 2.0)。每种优点和缺点都会列出来帮助您选择,有关更多详细信息,请参阅GLES2和GLES3之间的差异。请注意,如果您以后改变主意,则可以从项目设置中更改后端。对于本教程,任何一个后端都很好。 Once you are done click Create & Edit. Godot will create the project for you and open it in the editor.
完成后,单击。Godot将为您创建项目并在编辑器中将其打开。 The next time you open the project manager, you'll see your new project in the list. Double click on it to open it in the editor.
下次打开项目管理器时,您会在列表中看到新项目。双击它以在编辑器中将其打开。 You can import existing projects in a similar way, using the Import button. Locate the folder that contains the project or the project.godot file to import and edit it.
您可以使用“导入”按钮以类似的方式导入现有项目。找到包含project.godot要导入和编辑的项目或文件的文件夹 。 When the folder path is correct, you'll see a green checkmark.
文件夹路径正确时,您会看到一个绿色的选中标记。
Your first look at Godot's editor
初识Godot的编辑器Welcome to Godot! With your project open, you should see the editor's interface with menus along the top of the interface and docks along the far extremes of the interface on either side of the viewport.
欢迎来到GODOT!打开项目后,您应该看到编辑器的界面,界面顶部带有菜单,并且停靠在视口两侧的界面的最远端。 At the top, from left to right, you can see the main menus, the workspaces, and the playtest buttons. The FileSystem dock is where you'll manage your project files and assets.
在顶部,从左到右,您可以看到主菜单, 工作区和playtest按钮。 该文件系统是在这里您可以管理您的项目文件和资产。 The Scene dock lists the active scene's content and the Inspector allows for the management of the properties of a scene's content.
“ 场景”扩展坞列出了活动场景的内容,而“ 检查器” 允许管理场景内容的属性。 In the center, you have the Toolbar at the top, where you'll find tools to move, scale or lock your scene's objects. It changes as you jump to different workspaces.
在中心,您可以在顶部找到工具栏,在这里可以找到用于移动,缩放或锁定场景对象的工具。当您跳到不同的工作区时,它会改变。 The Bottom Panel is the host for the debug console, the animation editor, the audio mixer… They are wide and can take precious space. That's why they're folded by default.
该底部面板是用于调试控制台,动画编辑,混音器主机这些作用...他们有一些占地方平时用不着的时候它们都是隐藏的。
|