Flèches droites peuvent changer d'angle #7

Merged
MaximilienBB merged 8 commits from origin/feature/StraightArrowChangesAngle into main 2025-05-30 23:42:35 +00:00

8 Commits

Author SHA1 Message Date
6410c860b5 Merge branch 'main' into origin/feature/StraightArrowChangesAngle 2025-05-30 23:42:23 +00:00
a6a24a87f8 Ajouté commentaires "If"
Des commentaires ont été ajoutés aux conditions qui détermines l'angle qui doit être appliqué aux flèches.
2025-05-30 19:30:56 -04:00
6b2fe4738d Actualiser Assets/Scripts/Projectile.cs 2025-05-30 22:31:34 +00:00
b98eeb70aa Projectile Code Cleanup
Cleaned up the "Projectile.cs" file to remove personal comments and attempted solution to fixing the issue of units not being able to shoot arrows backward.
2025-05-30 16:22:19 -04:00
7904619816 Update Projectile.cs 2025-05-18 18:27:54 -04:00
1eef2c2dc0 Fixed Angle Conditional Logic
- Fixed the conditional the projectile class uses to determine if a projectile should be angled or not;
- Fixed an issue where the graphic for the castle upgrade was missing.
2025-05-04 19:50:00 -04:00
d454865a24 Updated Straight Projectile Workings
Updated the function that changes the angle of the straigth projectile to work better the closer the enemy is to the shooter.

There is some more fixes to be done, as those close angles are too vertical.
2025-03-22 16:35:44 -04:00
ad66f2e22c Created Dynamic Angle Basis
Created the foundations for the angle logic that the straight projectile will use when it fires from an angle.
2025-03-03 14:56:47 -05:00