Загрузка...

Command Pattern /// Game Programming Patterns in Godot 4

In this tutorial discuss the command pattern, it's basic uses, and implement a simple example in Godot using nodes and GD Script!

Topics Covered: programming patterns, command pattern, recursion, command, undo

Become a Patreon member to get exclusive access to Michael, and more:
https://patreon.com/user?u=26305011&utm_medium=unknown&utm_source=join_link&utm_campaign=creatorshare_creator&utm_content=copyLink

Join our discord community!
Discord: https://discord.gg/rkzBfHaudc

--------------------
Chapters
--------------------
00:00 Intro
00:21 Command Pattern Explanation
05:39 Command class
08:32 CommandUnit class (target & command manager)
09:47 Project settings - Input map (in case you want to see)
11:06 Command Scene & UI Overview
12:16 Create "spin" command
16:02 Invoke a spin command
17:24 add_command() function
18:41 execute_next_command() function
26:47 Add undo functionality to spin command and command unit
30:49 Create "move" command
37:46 Final work & Outro
39:10 Thank you to my Patreon supporters!

Видео Command Pattern /// Game Programming Patterns in Godot 4 канала Michael Games
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять