How You Can Easily Make Your Code Simpler in Godot 4

Описание к видео How You Can Easily Make Your Code Simpler in Godot 4

In this video we look at Inheritance vs Composition and a scenario where Composition is preferable in Godot 4.

Both Inheritance and Composition have their pros and cons, but Inheritance is for more often taught, despite Composition being very important in Game Development. I recently ran into Composition in my own projects and felt that it was vastly underrated and deserved to be taught.

Discord -   / discord  

Sprout Lands by Cup Nooble (The art I'm using):https://cupnooble.itch.io/sprout-land...

Music in the outro:   • The 25th Hour - Schlatt Crossing  

Chapters:
00:00 Intro
00:27 Inheritance Approach
01:57 Composition Approach
03:06 Setting up the Components
04:53 Using the Components
06:01 Creating Example Objects
06:44 Outro

Комментарии

Информация по комментариям в разработке