Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
前言¶
func _ready():
print("Hello world!")
Welcome to the official documentation of Godot Engine, the free and open source community-driven 2D and 3D game engine! Behind this mouthful, you will find a powerful yet user-friendly tool that you can use to develop any kind of game, for any platform and with no usage restriction whatsoever.
This page gives a broad overview of the engine and of this documentation, so that you know where to start if you are a beginner or where to look if you need information on a specific feature.
在开始之前¶
The Tutorials and resources page lists video tutorials contributed by the community. If you prefer video to text, consider checking them out. Otherwise, Getting Started is a great starting point.
In case you have trouble with one of the tutorials or your project, you can find help on the various Community channels, especially the Godot Discord community and Q&A.
关于 Godot 引擎¶
A game engine is a complex tool and difficult to present in a few words. Here's a quick synopsis, which you are free to reuse if you need a quick write-up about Godot Engine:
Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported with one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as well as Web-based platforms and consoles.
Godot is completely free and open source under the permissive MIT license. No strings attached, no royalties, nothing. Users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Godot Foundation not-for-profit.
文档结构¶
This documentation is organized into several sections:
About contains this introduction as well as information about the engine, its history, its licensing, authors, etc. It also contains the 常见问题.
Getting Started contains all necessary information on using the engine to make games. It starts with the Step by step tutorial which should be the entry point for all new users. This is the best place to start if you're new!
The Manual can be read or referenced as needed, in any order. It contains feature-specific tutorials and documentation.
Contributing gives information related to contributing to Godot, whether to the core engine, documentation, demos or other parts. It describes how to report bugs, how contributor workflows are organized, etc. It also contains sections intended for advanced users and contributors, with information on compiling the engine, contributing to the editor, or developing C++ modules.
Community is dedicated to the life of Godot's community. It points to various community channels like the Godot Contributors Chat and Discord and contains a list of recommended third-party tutorials and materials outside of this documentation.
Finally, the Class reference documents the full Godot API, also available directly within the engine's script editor. You can find information on all classes, functions, signals and so on here.
In addition to this documentation, you may also want to take a look at the various Godot demo projects.
About this documentation¶
Members of the Godot Engine community continuously write, correct, edit, and improve this documentation. We are always looking for more help. You can also contribute by opening Github issues or translating the documentation into your language. If you are interested in helping, see Ways to contribute and Writing documentation, or get in touch with the Documentation team on Godot Contributors Chat.
All documentation content is licensed under the permissive Creative Commons Attribution 3.0 (CC BY 3.0) license, with attribution to "Juan Linietsky, Ariel Manzur, and the Godot Engine community" unless otherwise noted.
Have fun reading and making games with Godot Engine!