Kenjor97 / KriticGamesProject

2D platform Videogame , side scrolling, cartoon style, set in a medieval world where the protagonist will have to overcome the different obstacles to defeat his enemy
MIT License
6 stars 1 forks source link

Fix BoxEnemy Shot Direction #52

Closed Jason450 closed 6 years ago

Jason450 commented 6 years ago

The enemy shot script gets all the BoxEnemies by its Tag. If one of these enemies is facing left... everyone of these enemies will shoot to the left direction even if they are facing right...

EXPECTED RESULT:

Enemy shot should get the gameobject which is shooting.

Jason450 commented 6 years ago

Enemy shot fixed in this commit https://github.com/Kenjor97/KriticGamesProject/commit/5e585b078b40ddd75814e36898b614a0821d60bd