Code Class - Hierarchical State Machines

Ғылым және технология

Heya Pals!
In this video, we continue on from the previous State Machines video to demonstrate the path to a Hierarchical State Machine setup, being much more flexible and extensible.
Enjoy!
Download the Assets:
uppon-hill.itch.io/indietales...
Playlist:
Part 1: State Machines - • Code Class - Build you...
Earlier Content: 2D Player Movement - • Code Class - 2D Player...
Chapters:
0:00 - Introduction
1:14 - Upgrading to a State Machine Class
5:23 - Creating a "Core" class for entities
8:55 - Refactoring code into core modules
12:47 - Understanding State Hierarchies
13:49 - Building a Hierarchical system
16:02 - NPC "Patrol" behaviour
20:29 - NPC "Collect" behaviour
24:40 - Varying behaviour between state instances
26:06 - Simple State Debugger
28:22 - Outro
Music:
Helynt - Super Lo Fi World 3, [Gamechops.com]
----
This video features clips from my stream. Catch it live: Weekdays 1-6pm AEST.
Twitch: / adamcyounis
Twitter: / adamcyounis
Tiktok: / adamcyounis
Discord: / discord
Become a Patron at / adamcyounis
Download assets and games from the stream at uppon-hill.itch.io/
Later, pals!

Пікірлер: 50

    Келесі