2015-09-22
[public] 52.0K views, 790 likes, 10.0 dislikes audio only
In episode six we implement enemy attacks.
FAQ:
Q: Game crashes when enemy attacks
A: Make sure that the yield statement in the UpdatePath coroutine is OUTSIDE the currentState == State.Chasing condition.
Source code:
https://github.com/SebLague/Create-a-Game-Source
Follow me on twitter @SebastianLague
Support my videos on Patreon: http://bit.ly/sebPatreon