官术网_书友最值得收藏!

Editor window

The following is a screenshot of the main Godot editor window. This is where you will spend most of your time when building projects in Godot. The editor interface is pided into several sections, each offering different functionality. The specific terminology for each section is described as follows:

Godot Editor Window

The main portion of the editor window is the Viewport. This is where you'll see parts of your game as you're working on them.

In the upper-left corner is the Main menus, where you can save and load files, edit project settings, and get help.

In the center at the top is a list of the Workspaces you can switch between when working on different parts of your game. You can switch between 2D and 3D mode, as well Script mode, where you can edit your game's code. The AssetLib is a place where you can download add-ons and example projects. See Chapter 7, Additional Topics, for more information on using the AssetLib. Refer to the following screenshot:

The following screenshot shows the Workspaces buttons on the toolbar. The icons in the toolbar will change based on what kind of object you are editing. So will the items in the Bottom panel, which will open various smaller windows for accessing specific information such as debugging, audio settings, and more:

The buttons in the upper-right Playtest area are for launching the game and interacting with it when it's running:

Finally, on the left and right sides are the Docks you can use to view and select game items and set their properties. The left-hand dock contains the FileSystem tab:

All of the files inside the project folder are shown here, and you can click on folders to open them and see what they contain. All resources in your project will be located relative to res://, which is the project's root folder. For example, a file path might look like this: res://player/Player.tscn.

In the right-hand dock, you can see several tabs. The Scene tab shows the current scene you are working on in the Viewport. In the Inspector tab below it, you can see and adjust the properties of any object you select. Refer to the following screenshot:

Selecting the Import tab and clicking on a file in the FileSystem tab lets you adjust how Godot imports resources like textures, meshes, and sounds, as shown in the following screenshot:

As you work through the game projects in this book, you'll learn about the functionality of these items and become familiar with navigating the editor interface. However, there are a few other concepts you need to know about before getting started.

主站蜘蛛池模板: 闵行区| 徐闻县| 会同县| 西宁市| 沽源县| 鄂托克前旗| 林甸县| 武宁县| 枣阳市| 固始县| 西华县| 盐城市| 洛扎县| 曲水县| 郓城县| 贵州省| 阳原县| 额尔古纳市| 西贡区| 安多县| 巴塘县| 横峰县| 海晏县| 凌海市| 泰州市| 商城县| 奉化市| 三穗县| 深圳市| 秦皇岛市| 边坝县| 靖西县| 全南县| 哈尔滨市| 昌邑市| 遵义市| 乐平市| 资中县| 合山市| 镇平县| 缙云县|