The Observer Pattern:
Software Design Patterns are like a manual on how to write good code, whether you're using Blueprints or C++, knowing good software practices is a MUST!
I hope this first video in the series gives you a good intro on what design patterns are and how the observer design pattern can be used.
This will be done through the use of "Event Dispatchers". Event dispatchers in unreal engine use delegates, which are an implementation of the pub/sub (observer) pattern.
Through blueprints, event dispatchers are available, but have certain limitations that will be touched upon in this series
Download the project files and support my channel on Patreon
/ alizoh
Join my Discord server to chat and mingle with the community
/ discord
Additional Resources:
https://refactoring.guru/design-patte...
https://gameprogrammingpatterns.com/o...
https://docs.unrealengine.com/5.2/en-...
Chapters:
00:00 The Problem
00:24 Background Context
00:49 The Mistake
01:38 The Observer Pattern
02:49 The Publisher
04:05 The First Subscriber
07:11 The Second Subscriber
10:19 Summary
11:00 The Benefits
11:40 Coming Soon
About me:
I've been learning game development for a few years now, I have a background in software engineering, and I also have a background in education, so being able to combine my love of gaming, software engineering and education is the best way to spend my time.
I am currently working on a few unreal engine games as a hobby, but I am also trying to build a community, thus I am creating YouTube tutorials to find others who are interested in game development and design.
#unrealengine5 #observerPattern #tutorial #unrealengine #ue5 #gamedev #softwaredesign #software #designpatterns #cleancode
Watch video The Most Common Mistake Beginners Make in Unreal Engine | UE5 online without registration, duration hours minute second in high quality. This video was added by user Ali Elzoheiry 16 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 147,003 once and liked it 8 thousand people.