introduction_to_godot_development.rst 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. _doc_introduction_to_godot_development:
  2. Introduction to Godot development
  3. =================================
  4. This page is meant to introduce the global organization of Godot Engine's
  5. source code, and give useful tips for extending/fixing the engine on the
  6. C++ side.
  7. Architecture diagram
  8. --------------------
  9. The following diagram describes the architecture used by Godot, from the
  10. core components down to the abstracted drivers, via the scene
  11. structure and the servers.
  12. .. image:: /img/architecture_diagram.jpg
  13. Debugging the editor with gdb
  14. -----------------------------
  15. If you are writing or correcting bugs affecting Godot Engine's editor,
  16. remember that the binary will by default run the project manager first,
  17. and then only run the editor in another process once you've selected a
  18. project. To launch a project directly, you need to run the editor by
  19. passing the ``-e`` argument to Godot Engine's binary from within your
  20. project's folder. Typically:
  21. .. code:: bash
  22. $ cd ~/myproject
  23. $ gdb godot
  24. > run -e
  25. Or:
  26. .. code:: bash
  27. $ gdb godot
  28. > run -e --path ~/myproject