Skip to content

Comments

Player detecting state#7

Open
icefirewater wants to merge 2 commits intomainfrom
PlayerDetectingState
Open

Player detecting state#7
icefirewater wants to merge 2 commits intomainfrom
PlayerDetectingState

Conversation

@icefirewater
Copy link
Owner

In this State Enemy will go in PlayerDetected state if Player comes in his min Agro Range.

…tate Machine. So we can add different types of Enemies with different behaviour with different States (move, idle, attack, jump and so on).
…ine which detects the Player when he is in certain range and stops the Enemy from Move State to Player Detected State & when Player goes out of range of the Enemy Then Enemy changes State from Player Detected to Idle State without Flipping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant