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.
Affiche un Tooltip d'une unité quand on hover sur l'unité
Inclus description et stats de l'unité
Co-authored-by: Ader Alisma 01 <adeder22@hotmail.com>
Reviewed-on: #6
Reviewed-by: EliaGingras1 <william-gin1@hotmail.com>
- 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.
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.
Merge in CGD/gather-and-defend from origin/feature/CastleUnitImplementation to main
* commit 'e36d43d69ab6aa1092511fbb237421785f3c25c7':
- Fixed an issue where the castle arrow couldn't fire at enemies in an angle, and only straight forward; - Modified the castle's infos so that it fires only 4 arrows per intervals instead of 5.
Implemented the basis for the castle unit, including having it shoot, the shooting range, and the upgrading logic.
Implemented Castle data to the game. The only thing it's missing is the attack pattern.
Merge in CGD/gather-and-defend from UpgradeIndividuel to main
* commit '196740676df3a8b2b1cfa877b0b61dabdda497e0':
Permettre 1 à 3 upgrades
Suppression debug logs
Revert UI
Utilisation du UI d'Élia
Ajout ScriptableObject pour UnitUpgrades
Affichage bouttons interactifs + Suppression dummy gameobjects in Game scene
Debuggins
Change l'unité par l'upgrade choisi
Début lien entre upgradeUI et Unité
Rendu UpgradePlacementButton.cs indépendant des héritages de UnitPlacementButtons.
Prefab UpgadeButtons, utilisation de EventSystems pour clique sur unités.
Tentative d'associer le clique utilisateur à une position sur le jeu
Merge in CGD/gather-and-defend from art/swordsmanArt to main
* commit '82a76c418054f1527f6c6a40723551ba45f40173':
Change range so it maybe unbugs the swords users; Also balance costs of units and cooldowns
Added swordsman and renamed the knight
Merge in CGD/gather-and-defend from design/finallyBalanceLevels to main
* commit '321d6bdff760ad7062b19189c6bb6f9f714a655d':
Balance level 1-6 and archer
Merge in CGD/gather-and-defend from feature/World2Map to main
* commit 'b5351f58ee6fbe53c28ac1efa75696e21b4c64ea':
- Ajouter deuxième île au menu de choix de niveau; - Ajouté boutons pour passer entre les deux îles.