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

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.

主站蜘蛛池模板: 布尔津县| 垣曲县| 什邡市| 买车| 徐水县| 水城县| 砀山县| 天长市| 扎鲁特旗| 青浦区| 沙坪坝区| 湄潭县| 海南省| 左贡县| 平山县| 镇远县| 隆安县| 沾益县| 松滋市| 洪雅县| 通州市| 邵阳县| 萍乡市| 同心县| 平顺县| 彩票| 南漳县| 印江| 孟津县| 西青区| 丁青县| 菏泽市| 双桥区| 无为县| 兖州市| 凌云县| 吉安县| 都昌县| 湟中县| 张家口市| 恩施市|