Coding Style Guide || Godot 4+ Tutorial || GDScript 2.0
Автор: Jacob Foxe
Загружено: 2025-01-16
Просмотров: 2609
Let's learn the RIGHT way to format all of your functions, variables, and constants in Godot! I've ignored these resources for waaaaay too long, and as I'm working on reformatting my old code, I thought I'd share some tips!
Project Repo: https://github.com/jacobfoxe/Godot-4-...
|| Video Links ||
Enums: • You should use Enums! || Godot Tutorial
Tool Scripts: • Tool Scripts || Godot Tutorial
SetGets: • Setgets - Custom Variable Handling! | Godo...
|| Resources ||
Style Guide: https://docs.godotengine.org/en/stabl...
TODO Manager: https://godotengine.org/asset-library...
Use Typed Instructions: https://godotengine.org/article/gdscr...
|| Timestamps ||
00:00 Code Better!
01:10 Block Comments
01:38 Annotations
02:02 Class and Node
03:21 Signals
03:35 The 6 Case Types
04:52 Documentation Comments
05:30 Constants
05:49 Static Typing
06:41 Numbers
07:35 Enums
09:23 Appending Commas
10:01 Exported Variables
10:37 Onready and Prepending Underscores
11:43 Node References
12:27 SetGets
13:21 Public Functions and ready()
14:01 Functions, Parameters, and Logic
15:59 Overridden Functions
16:22 Private Functions
17:00 Other Good Practices
17:49 Demo
|| Social Links ||
Bluesky: https://bsky.app/profile/jacobfoxe.bs...
Twitch: / thatfoxe
Verdancy Vale: https://verdancyvale.net
Music is probably from GameChops or some game from my childhood!
#godot #godotengine #verdancyvale
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: