Basic Attack
SGD300-2019 » Devlog
Basic Attack in Unity
This week I worked on some basic attacking that can be used on the player. When the player clicks a ray cast is sent out from the screen to get a reference to the enemy that was targeted. This activates the path finding, so the player can move into attacking range of the enemy. Once the player has reached the player it attacks over time until the player moves away, attacks a different enemy or the enemy or players dies.
Tasks this week:
- Be able to click on Enemy
- Move to enemy that has been clicked on
- Attack enemy over time if target has not been changed
SGD300-2019
Dungeon Siege Remake Project for class SGD300 - 2019
Status | In development |
Category | Other |
Author | Benjamin Finlay |
More posts
- Attack Code RefactorAug 21, 2019
- PathfindingAug 07, 2019
Leave a comment
Log in with itch.io to leave a comment.