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

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.

主站蜘蛛池模板: 平塘县| 南宁市| 五寨县| 黄冈市| 嵊泗县| 临沂市| 保定市| 池州市| 石屏县| 西青区| 当涂县| 舞钢市| 衡阳县| 杭州市| 江都市| 犍为县| 静乐县| 巴楚县| 定结县| 壤塘县| 南涧| 从化市| 大方县| 含山县| 育儿| 宝应县| 攀枝花市| 松潘县| 台州市| 太谷县| 甘谷县| 迁西县| 长治县| 阿瓦提县| 长海县| 乐都县| 疏勒县| 潮州市| 金川县| 舒城县| 仙桃市|