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

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.

主站蜘蛛池模板: 五原县| 临朐县| 江永县| 吴江市| 旺苍县| 繁峙县| 兴城市| 吉林省| 永靖县| 阳原县| 阆中市| 沾化县| 蕲春县| 黔东| 郴州市| 浏阳市| 丹江口市| 安国市| 武汉市| 黔南| 共和县| 明星| 南京市| 古浪县| 永城市| 神木县| 呼图壁县| 措勤县| 乳山市| 柘城县| 黎川县| 镇赉县| 特克斯县| 宜兰县| 齐齐哈尔市| 仙居县| 策勒县| 漯河市| 洛隆县| 临江市| 防城港市|