first_look_at_the_editor.rst 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .. This page is only here to introduce the interface to the user broadly. To
  2. cover individual areas in greater detail, write the corresponding pages in
  3. the most appropriate section, and link them. E.g. the animation editor goes
  4. to the animation section. General pages, for instance, about the Project
  5. Manager, should go in the editor manual.
  6. .. _doc_intro_to_the_editor_interface:
  7. First look at Godot's editor
  8. ============================
  9. This page will give you a brief overview of Godot's interface. We're going to
  10. look at the different main screens and docks to help you situate yourself.
  11. .. seealso:: For a comprehensive breakdown of the editor's interface and how to
  12. use it, see the :ref:`Editor manual <toc-learn-editor>`.
  13. The Project Manager
  14. -------------------
  15. When you launch Godot, the first window you see is the Project Manager. In the
  16. default tab **Local Projects**, you can manage existing projects, import or create new
  17. ones, and more.
  18. .. image:: img/editor_intro_project_manager.webp
  19. At the top of the window, there is another tab named "Asset Library Projects". You can search
  20. for demo projects in the open source asset library, which includes many projects
  21. developed by the community.
  22. .. seealso:: To learn the Project Manager's ins and outs, read
  23. :ref:`doc_project_manager`.
  24. .. image:: img/editor_intro_project_templates.webp
  25. You can also change the editor's language using the drop-down menu to the right
  26. of the engine's version in the window's top-right corner. By default, it is in
  27. English (EN).
  28. .. image:: img/editor_intro_language.webp
  29. First look at Godot's editor
  30. ----------------------------
  31. When you open a new or an existing project, the editor's interface appears.
  32. Let's look at its main areas.
  33. .. image:: img/editor_intro_editor_empty.webp
  34. By default, it features **menus**, **main screens**, and playtest buttons along
  35. the window's top edge.
  36. .. image:: img/editor_intro_top_menus.webp
  37. In the center is the **viewport** with its **toolbar** at the top, where you'll
  38. find tools to move, scale, or lock the scene's nodes.
  39. .. image:: img/editor_intro_3d_viewport.webp
  40. On either side of the viewport sit the **docks**. And at the bottom of the
  41. window lies the **bottom panel**.
  42. The toolbar changes based on the context and selected node. Here is the 2D toolbar.
  43. .. image:: img/editor_intro_toolbar_2d.webp
  44. Below is the 3D one.
  45. .. image:: img/editor_intro_toolbar_3d.webp
  46. Let's look at the docks. The **FileSystem** dock lists your project files, including
  47. scripts, images, audio samples, and more.
  48. .. image:: img/editor_intro_filesystem_dock.webp
  49. The **Scene** dock lists the active scene's nodes.
  50. .. image:: img/editor_intro_scene_dock.webp
  51. The **Inspector** allows you to edit the properties of a selected node.
  52. .. image:: img/editor_intro_inspector_dock.webp
  53. The **bottom panel**, situated below the viewport, is the host for the debug
  54. console, the animation editor, the audio mixer, and more. They can take precious
  55. space, that's why they're folded by default.
  56. .. image:: img/editor_intro_bottom_panels.webp
  57. When you click on one, it expands vertically. Below, you can see the animation editor opened.
  58. .. image:: img/editor_intro_bottom_panel_animation.webp
  59. The four main screens
  60. ---------------------
  61. There are four main screen buttons centered at the top of the editor:
  62. 2D, 3D, Script, and AssetLib.
  63. You'll use the **2D screen** for all types of games. In addition to 2D games,
  64. the 2D screen is where you'll build your interfaces.
  65. .. image:: img/editor_intro_workspace_2d.webp
  66. In the **3D screen**, you can work with meshes, lights, and design levels for
  67. 3D games.
  68. .. image:: img/editor_intro_workspace_3d.webp
  69. Notice the perspective button under the toolbar. Clicking on it opens a list of
  70. options related to the 3D view.
  71. .. image:: img/editor_intro_3d_viewport_perspective.webp
  72. .. note:: Read :ref:`doc_introduction_to_3d` for more detail about the **3D
  73. main screen**.
  74. The **Script screen** is a complete code editor with a debugger, rich
  75. auto-completion, and built-in code reference.
  76. .. image:: img/editor_intro_workspace_script.webp
  77. Finally, the **AssetLib** is a library of free and open source add-ons, scripts,
  78. and assets to use in your projects.
  79. .. image:: img/editor_intro_workspace_assetlib.webp
  80. .. seealso:: You can learn more about the asset library in
  81. :ref:`doc_what_is_assetlib`.
  82. Integrated class reference
  83. --------------------------
  84. Godot comes with a built-in class reference.
  85. You can search for information about a class, method, property, constant, or
  86. signal by any one of the following methods:
  87. * Pressing :kbd:`F1` (or :kbd:`Alt + Space` on macOS) anywhere in the editor.
  88. * Clicking the "Search Help" button in the top-right of the Script main screen.
  89. * Clicking on the Help menu and Search Help.
  90. * Clicking while pressing the :kbd:`Ctrl` key on a class name, function name,
  91. or built-in variable in the script editor.
  92. .. image:: img/editor_intro_search_help_button.webp
  93. When you do any of these, a window pops up. Type to search for any item. You can
  94. also use it to browse available objects and methods.
  95. .. image:: img/editor_intro_search_help.webp
  96. Double-click on an item to open the corresponding page in the script main screen.
  97. .. image:: img/editor_intro_help_class_animated_sprite.webp