#Making enemy imp

6 messages · Page 1 of 1 (latest)

gaunt dock
#

I know state machine should be helpful https://www.youtube.com/watch?v=Vt8aZDPzRjI&t=961s

Learn the fundamentals of programming State Machines in Unity with this new video break down!

This tutorial explains important concepts of the State Pattern, and how to use State Machines when programming! Today we will walk through an example project to showcase the benefits of using state, the state pattern and state machines in Unity!

This ...

▶ Play video
silk nova
#

i am not unity user

gaunt dock
#

but the concept applies in godot too. it's one of the "design patterns" for programming in general. the book "game programming patterns" talk about it too. this one I learned recently. and it helps with states so much.

gaunt dock
#

is there a specific thing u are having issue with?

#

if I am to do a thingy from scratch, I might think about the state the enemy might be in and construct a state machine for it. But other than that I don't know much yet about interaction etc lol.

gaunt dock
#

Is this helpful? Or do you know this already?