360 Commits

Author SHA1 Message Date
Ader Alisma 01
4490600691 Merge remote-tracking branch 'origin/main' into feature/UpgradeIndividuel 2024-09-28 18:50:05 -04:00
Ader Alisma 01
308da140cf Ajout ScriptableObject pour UnitUpgrades 2024-09-28 18:44:46 -04:00
7a9d2c9624 Pull request #75: Buildings are not counted as People, and can still be placed, regardless of limit
Merge in CGD/gather-and-defend from origin/bugfix/BuildingsExludedFromPopulation to main

* commit '1fd249a0d2a7687ba203a899ca9ced8a12989e00':
  Made it so that buildings are not counted in the total population count, and that the player can still place those, even when the maximum population has been reached.
2024-09-24 15:11:57 +00:00
1fd249a0d2 Made it so that buildings are not counted in the total population count, and that the player can still place those, even when the maximum population has been reached. 2024-09-24 10:50:46 -04:00
Ader Alisma 01
eb82e6b853 Affichage bouttons interactifs + Suppression dummy gameobjects in Game scene 2024-09-21 15:06:14 -04:00
Élia Gingras 01
932aeb6e82 Pull request #74: Add unitUpgrade UI sprites and prefab; Also added hpBars to buildings
Merge in CGD/gather-and-defend from art/unitUpgradeUISprites to main

* commit '58fc194bb8c57ac8f7771bc643b04f2e7634ef5a':
  Add unitUpgrade UI sprites and prefab; Also added hpBars to buildings
2024-09-13 23:18:15 +00:00
58fc194bb8 Add unitUpgrade UI sprites and prefab; Also added hpBars to buildings 2024-09-09 10:16:01 -04:00
15782ad8c2 Pull request #73: Fixed issue where farmer can be placed on a non-resource tile.
Merge in CGD/gather-and-defend from origin/bugfix/FarmerTileRestriction to main

* commit '884d4a9ee6fb0bb68dccebb797b4617dc4cac1da':
  Fixed issue where farmer can be placed on a non-resource tile.
2024-09-06 00:16:00 +00:00
Ader Alisma 01
3ce5219946 Debuggins 2024-09-05 19:37:50 -04:00
884d4a9ee6 Fixed issue where farmer can be placed on a non-resource tile. 2024-09-03 15:43:38 -04:00
Ader Alisma 01
3e0ddca9a4 Change l'unité par l'upgrade choisi 2024-08-04 18:40:50 -04:00
Élia Gingras 01
8eb2a7d5cc Pull request #72: Balance level 1-6 and archer
Merge in CGD/gather-and-defend from design/finallyBalanceLevels to main

* commit '321d6bdff760ad7062b19189c6bb6f9f714a655d':
  Balance level 1-6 and archer
2024-07-12 15:46:00 +00:00
Élia Gingras 01
87a795f879 Pull request #71: Add island 2
Merge in CGD/gather-and-defend from dev/addIsland2 to main

* commit 'd8e3e72b1e63ee273ab18c3bb64f468d18e31597':
  Add island 2
2024-07-12 15:25:05 +00:00
321d6bdff7 Balance level 1-6 and archer 2024-07-12 11:19:51 -04:00
d8e3e72b1e Add island 2 2024-07-09 11:40:05 -04:00
Ader Alisma 01
968f255cd5 Début lien entre upgradeUI et Unité 2024-07-07 19:21:49 -04:00
a39aebf9f7 Pull request #70: Ajouter deuxième île au menu de choix de niveau
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.
2024-06-23 23:18:37 +00:00
Élia Gingras 01
556b09734e Pull request #69: Bugfix/spawnLevelConfigOddBehaviour
Merge in CGD/gather-and-defend from bugfix/spawnLevelConfigOddBehaviour to main

* commit 'dcdc0d7fc8033a332cf0b0dd260aeeea18b3a3b5':
  reset WaveObserver state wip
2024-06-23 22:57:47 +00:00
dcdc0d7fc8 Merge branch 'main' into bugfix/spawnLevelConfigOddBehaviour 2024-06-23 18:36:14 -04:00
Élia Gingras 01
564ce33175 Pull request #68: Design/summerBalance
Merge in CGD/gather-and-defend from design/summerBalance to main

* commit '7e9385db30127a2b7a5ca4703a168393f0b68adc':
  revert object instantiate on level config
  Cards and level spawning balance testing, Fixed some error logs
2024-06-23 22:35:45 +00:00
7e9385db30 revert object instantiate on level config 2024-06-23 18:34:54 -04:00
18b97c4fd9 reset WaveObserver state wip 2024-06-23 18:31:56 -04:00
b5351f58ee - Ajouter deuxième île au menu de choix de niveau;
- Ajouté boutons pour passer entre les deux îles.
2024-06-23 15:13:06 -04:00
18babd7d6c Merge branch 'main' into design/summerBalance 2024-06-23 10:36:45 -04:00
069c7eda00 Cards and level spawning balance testing, Fixed some error logs 2024-06-23 10:15:52 -04:00
4a2ece2833 Rendu UpgradePlacementButton.cs indépendant des héritages de UnitPlacementButtons.
Interface d'amélioration s'affiche onClick pour FarmersAssociation

Interface n'est présentement pas rétroactive des infos de l'unité
2024-06-09 15:41:26 -04:00
97d1b6ba02 Prefab UpgadeButtons, utilisation de EventSystems pour clique sur unités.
Début changement selon héritage de UnitPlacementButton
2024-06-08 18:52:58 -04:00
Élia Gingras 01
8804450d99 Pull request #67: Add level select sprites to change island and resize island sprite
Merge in CGD/gather-and-defend from art/levelSelectSprites to main

* commit 'bb898df7c42ce83c7949857e4dc1b75fbfb7f47f':
  Add level select sprites to change island and resize island sprite
2024-06-08 18:46:04 +00:00
43c569dfec Pull request #66: - Retiré temporairement l'erreur qui apparaît quand on intéragit avec un niveau qui n'a pas de WaveConfig.
Merge in CGD/gather-and-defend from bugfix/WaveConfigNullCheck to main

* commit '2ff59828210c23b0706da1e934aabadc5a60b52e':
  - Retiré temporairement l'erreur qui apparaît quand on intéragit avec un niveau qui n'a pas de WaveConfig.
2024-05-25 23:18:45 +00:00
bb898df7c4 Add level select sprites to change island and resize island sprite 2024-05-25 16:48:44 -04:00
Felix-gabriel Boucher-luneau
fce8ea5e3d Pull request #65: barre de vie sur les ennemis
Merge in CGD/gather-and-defend from feature/lifebars to main

* commit 'd21f023e5c7d4e4649b4b6ce93c483968f9e71a0':
  barre de vie sur les ennemis
2024-05-25 18:40:36 +00:00
12a8497708 Tentative d'associer le clique utilisateur à une position sur le jeu 2024-05-12 18:48:26 -04:00
2ff5982821 - Retiré temporairement l'erreur qui apparaît quand on intéragit avec un niveau qui n'a pas de WaveConfig. 2024-04-27 09:57:24 -04:00
Felix Boucher
d21f023e5c barre de vie sur les ennemis
Il était impossible de savoir la vie des ennemis et des alliés durant une partie

Ajout d'une barre de vie sur les ennemis et les alliés
2024-03-26 19:58:08 -04:00
Felix-gabriel Boucher-luneau
99655f7e09 Pull request #63: extraire les prix et cooldowns des unit cards
Merge in CGD/gather-and-defend from feature/separate_cooldown_from_units to main

* commit '927c08559f2f0c8850be6c9b3e170165e8bccb27':
  extraire les prix et cooldowns des unit cards
2024-03-17 19:03:14 +00:00
6dd08eb51c Pull request #62: InvestigationSpawnConstant
Merge in CGD/gather-and-defend from feature/InvestigationSpawnConstant to main

* commit '8e8c32ca68d7c740289bb40a64dbf8895c4a377c':
  Fix misplaced variable
  Comments + variable structure
  Fixed spawning decrementation and changing spawner objectives dynamically
  Fix ConstantSpawn to change constant spawn group when one group dies Keeps doing constant spawn after 2nd group dies
  Temp reset
  Fixed enemy death resuming spawner timers unexpectedly. Now checks if the constant spawn is done to decide if spawning should end.
2024-03-17 16:18:28 +00:00
8e8c32ca68 Merge remote-tracking branch 'origin/main' into feature/InvestigationSpawnConstant 2024-03-17 12:10:04 -04:00
9f9b518b75 Pull request #64: - Le jeu éteint l'animation des unités lorsque le joueur les drag-and-drop sur le terrain, réglant le problème avec l'événement dans l'animation.
Merge in CGD/gather-and-defend from origin/bugfix/AnimationNullCheck to main

* commit '25c9382dfd56e269d65e1a5af54d2a35de1beaac':
  - Le jeu éteint l'animation des unités lorsque le joueur les drag-and-drop sur le terrain, réglant le problème avec l'événement dans l'animation.
2024-03-15 19:44:49 +00:00
Felix Boucher
927c08559f extraire les prix et cooldowns des unit cards
problème : le fait que les prix et les cooldowns étaient dans les game objects directement rendait le design compliqué

solution : créer un scriptable object pour contenir l'info des unit cards
2024-03-13 16:38:07 -04:00
25c9382dfd - Le jeu éteint l'animation des unités lorsque le joueur les drag-and-drop sur le terrain, réglant le problème avec l'événement dans l'animation. 2024-03-10 19:43:30 -04:00
849427777b Merge remote-tracking branch 'origin/main' into feature/InvestigationSpawnConstant 2024-03-03 14:16:53 -05:00
10ec788979 Fix misplaced variable 2024-03-03 14:13:43 -05:00
bd28e30da5 Comments + variable structure 2024-03-03 13:41:23 -05:00
bc4b4c30a8 Fixed spawning decrementation and changing spawner objectives dynamically 2024-03-02 16:26:47 -05:00
8921c898ec Fix ConstantSpawn to change constant spawn group when one group dies
Keeps doing constant spawn after 2nd group dies

To test: 2 groups die, what about the 3rd one
2024-02-27 15:44:11 -05:00
William Gingras 01
fd2e2e3991 Pull request #61: Added animated mill and peasant card!
Merge in CGD/gather-and-defend from art/millAndPeasantCard to main

* commit 'ee5cf003b0fd0b4d5b03334f514649d04b96adf3':
  Added animated mill and peasant card!
2024-02-19 17:07:14 +00:00
Felix-gabriel Boucher-luneau
5c49721a4b Pull request #60: unit cooldown
Merge in CGD/gather-and-defend from feature/unit_cooldown_time to main

* commit 'effe4ca2ccedfb7c3b338f8437596cad9f012e6d':
  unit cooldown
2024-02-18 23:24:39 +00:00
Felix Boucher
effe4ca2cc unit cooldown
#Le besoin addressé par le commit
les unités et bâtiments devrait avoir un temps de cooldown avant de pouvoir être spawné à nouveau

#Comment le besoin est-il addressé? (modifications)
les unités et bâtiments prennent maintenant 3 secondes avant de redevenir interactif après avoir été spawné
2024-02-18 11:11:03 -05:00
d0371349db Temp reset 2024-02-04 19:05:01 -05:00
ee5cf003b0 Added animated mill and peasant card! 2024-02-04 18:57:28 -05:00