Things to check
English | Czech | ||
---|---|---|---|
function | funkce | Learn GDScript From Zero | |
programmers | programátoři | Learn GDScript From Zero | |
工程師是Engineer |
English | Czech | ||
---|---|---|---|
function | funkce | Learn GDScript From Zero | |
programmers | programátoři | Learn GDScript From Zero | |
工程師是Engineer |
You might notice the underscore [code]_[/code] in front of the function name. This is a convention programmers use to coordinate work, and it'll only make sense once you have experience coding in Godot.
For now, all you need to know is that if the function exists in your code, and it is called precisely [code]_process[/code], then Godot will automatically run it every [i]frame[/i].
When Godot draws on the screen, we call that a frame.
Před názvem funkce si můžete všimnout podtržítka [code]_[/code]. To je konvence. To znamená, že funkce je již definována Godotem.
Pokud funkce existuje a jmenuje se přesně [code]_process[/code], pak ji Godot automaticky spustí každý snímek.