added a really basic enemy script
Captain, We're Lost... » Devlog
for the enemy i added a really basic script that would apply forces from the engines to get it to point towards whatever ship its hostile towards. it will track the target and allign itself to the direction. pointing either towards or away from its target, when it gets a certain distance away from the target it will allign itself back towards the target.
for the weapon controls im looping through all the parts with a delay between each, then im moving a collider to a random position around the ship if it the collider overlaps something not attached to the ship then it will add it as a target for that part allowing it to shoot at it.
Captain, We're Lost...
take comand after comunications with earth have been lost leaving you deep in a Space-Pirate infected system
Status | Prototype |
Author | jacobsmith3204 |
Genre | Fighting |
Tags | 2D, Real time strategy, Space, Unity |
More posts
- CustomShadersJan 21, 2020
Leave a comment
Log in with itch.io to leave a comment.