Improved Finite State Machines with C# Godot [Andromedoom Dev Log 15]
Polysthetic
๐พWelcome to the Andromedoom dev logs! An improved, simplified finite state machine design following up from episode 6 of the dev logs: https://youtu.be/9j7oh-b3Lak
I had encountered issues with the previous design when dealing with code duplication, and new state dependency injection. The origin of these issues is the same: an unnecessary use of generics.
โฑ๏ธ Timestamps: 0:00 Intro and problem description 2:00 Old implementation 3:23 Code duplication problem 5:00 Dependency injection problem 5:33 New implementation 8:03 Dependency injection in the new state machine 9:00 Overriding state behaviours 9:40 Conclusion
๐ถ Music tracks from:
- Lofi Records - Cozy Winter
- Provided by Lofi Girl
- Watch: https://www.youtube.com/watch?v=_tV5LEBDs7w
- Listen: https://open.spotify.com/album/2cnaJP2xvzWXH3CNCthGWP
You can also visit me at: WEBSITE ๐ https://polysthetic.com INSTAGRAM ๐ธ https://www.instagram.com/polysthetic/ THREADLESS ๐ถ๏ธ https://polysthetic.threadless.com DRIBBBLE ๐ https://dribbble.com/polysthetic YOUTUBE ๐ฅ https://youtube.com/c/polysthetic AUDIOMACK ๐ผ https://audiomack.com/polysthetic TWITTER ๐ฆ https://twitter.com/polysthetic LINKEDIN ๐ https://www.linkedin.com/company/polysthetic ... https://www.youtube.com/watch?v=OQOxa-vpB60
74766511 Bytes