How to Program in Unity: Observer Pattern Explained

Published: 01 January 1970
on channel: iHeartGameDev
113,810
6k

Learn the fundamentals of the Observer Pattern in this new video break down and create a dynamic narration system just like in the game "Bastion" by SuperGiant Games!

This tutorial will teach you how to program and design systems in unity that communicate seamlessly while remaining easy to debug, scale, and maintain. Learn the power of decoupled code and elevate your game development skills to the next level!

This is a new episode in a growing series on this channel: Programming for Production. In this series, we take relatively complex software development topics and try to explain them in easy-to-understand ways. Let's take our programming skills to the next level!

ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛   / project-files-to-77632739  
❤️ https://www.youtube.com/iHeartGameDev...

WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅    • Unity's Animation System  
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
✦ Missed out on the last episode?
   • How to Move Characters in Unity 3D: A...  

SOCIAL:
✦ Discord
  / discord  
✦ Twitter
  / iheartgamedev  

►TIMESTAMPS:
0:00 Intro
0:49 The Problem and Solution
1:24 Coupled Code Explained
1:52 Pseudocode Example
3:43 The Observer Pattern
5:00 Implementing the Observer Pattern
7:58 Bastion Narration System
13:45 Handling Multiple Actions
14:17 Final Result
14:52 Outro

Thank you for stopping by and checking out my tutorial -- Hope you all enjoy! Please feel free to leave any questions & feedback you may have. This will help shape the direction and style for upcoming videos!

Thanks again for watching!

#indiegame #gamedev #indiedev #2023


Watch video How to Program in Unity: Observer Pattern Explained online without registration, duration hours minute second in high quality. This video was added by user iHeartGameDev 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 113,810 once and liked it 6 thousand people.