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

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.

主站蜘蛛池模板: 丰顺县| 阿坝县| 巨野县| 寿宁县| 右玉县| 巴南区| 中超| 天台县| 合江县| 定远县| 溧阳市| 金坛市| 嘉祥县| 沂南县| 新津县| 襄城县| 大方县| 乡宁县| 武山县| 浦东新区| 云浮市| 澄城县| 阿荣旗| 刚察县| 泗阳县| 宁明县| 岑溪市| 自治县| 天祝| 山东省| 祥云县| 太谷县| 怀来县| 巴林右旗| 开阳县| 高雄市| 肇东市| 肥西县| 浮梁县| 永安市| 新绛县|