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

Scripting in Godot

At the time of writing, Godot provides three official languages for scripting nodes: GDScript, VisualScript, and C#. GDScript is the dedicated built-in language, providing the tightest integration with the engine, and is the most straightforward to use. VisualScript is still very new and in the testing stage, and should be avoided until you have a good understanding of Godot's workings. For most projects, C# is best reserved for those portions of the game where there is a specific performance need; most Godot projects will not need this level of additional performance. For those that do, Godot gives the flexibility to use a combination of GDScript and C# where you need them.

In addition to the three supported scripting languages, Godot itself is written in C++ and you can get even more performance and control by extending the engine's functionality directly. See Chapter 7, Additional Topics, for information on using other languages and extending the engine.

All of the games in this book use GDScript. For the majority of projects, GDScript is the best choice of language. It is very tightly integrated with Godot's Application Programming Interface (API), and is designed for rapid development.

主站蜘蛛池模板: 紫金县| 富裕县| 贵州省| 河北区| 遂溪县| 兴城市| 甘孜县| 丰县| 松潘县| 河津市| 封开县| 娱乐| 奇台县| 万全县| 夏邑县| 河东区| 河源市| 伊宁县| 香河县| 楚雄市| 清原| 肇州县| 霍邱县| 建湖县| 克山县| 望都县| 友谊县| 七台河市| 嘉善县| 怀远县| 长丰县| 嵊州市| 宁城县| 手游| 南安市| 承德县| 噶尔县| 南丰县| 鄢陵县| 彩票| 宜章县|