22 Commits

Author SHA1 Message Date
496a6eb738 Added swordsman 2023-08-21 16:54:03 -04:00
Felix Boucher
9696ee614e spawners n'apparaissent plus + beau back button 2023-07-23 20:22:29 -04:00
Felix Boucher
27d72368aa finish integrating level selector
Level selector was already working after work by William but some small bugs remained to be fixed + it wasn't possible to return to level selector once we were in the level.

- it's now possible to go back to level selector from Level
- LevelManagerScript is no longer a singleton (this way, it resets with the Game scene unloading)
- Added a property drawer for using scene files in inspectors
2023-07-23 20:16:44 -04:00
Felix Boucher
b1cfb714a6 changer l'apparence du harvester
problème :

- le harvester avait une apparence non-changeante dépendant du genre de ressource sur lequel il était placé.

solution :

- ajouter une logique qui change le prefab choisi dépendant de sur quelle tuile on place le harvester.

- also, quelques micro refactorings (changement de noms, ajout de doc)
2023-07-23 11:53:07 -04:00
fd22af5e65 Revert FetchDatabaseStatic because it prevents builds 2023-07-22 01:32:22 -04:00
ecd32b09b8 Level 1 to 6 and allow loading levels in worldMap 2023-07-22 01:24:05 -04:00
4a1b773c2c Add game scene changes to HUD 2023-07-21 23:26:15 -04:00
babc3a24e8 Add FarmersAssociation unit + balance changes 2023-07-21 23:25:38 -04:00
768700a06e Added farmers Association 2023-07-21 17:31:03 -04:00
9b8b329340 Fixed scenes spawners 2023-07-18 20:40:53 -04:00
d4e3bb316c Changed levels, update rock sprite, added enemyspawnStart 2023-07-18 20:31:09 -04:00
9da10f580d Added tilesBackground and updated grass tiles 2023-07-18 20:06:59 -04:00
70a4048ee7 Axeman, miner, entities scaling and projectile angled 2023-07-18 15:43:21 -04:00
1ceb1da60d Archer anim; Farmer anim; Fix HUD issues 2023-07-14 14:57:39 -04:00
c39bbba683 Made game scene look like maquette 2023-07-14 14:15:07 -04:00
Felix Boucher
9889ca76a7 harvesters
problème : il faut que les resource tiles produisent des resources seulement quand elles ont une unité au dessus d'elles pour les harvester.

solution : créer une classe harvester qui est vérifiée par la resource tile avant d'updater. Si aucun harvester n'est au dessus, aucune update n'est faite.
2023-07-13 12:40:37 -04:00
Felix Boucher
588d491b6a cards should be aligned top left
instead of bottom left
2023-07-11 15:52:43 -04:00
Felix Boucher
43bc2c75f2 work on game scene + fix bugs
problems :

- game scene was not as shown in the GDD
- problem when moving tilemap (the placeholders didn't follow)
- possible to place units outside the game area

solutions :

- try to make the game scene as close to the gdd as possible
- don't move the tilemap : move the camera instead (this keeps the world position of tilemap intact)
- there was a logic bug in the DraggablePlaceholder. It ain't anymore
2023-07-11 15:52:43 -04:00
Felix Boucher
2ec13ed7e2 ajout placeholder pour fast forward 2023-07-11 15:52:43 -04:00
Felix Boucher
1b85e1c37f mettre tout le stock dans la scene Game
problème :

- la scène game n'avait pas toute les dernières features créées

solution :

- ajouté LevelManager, boutons d'ajout d'unités, labels de resources
2023-07-11 15:52:40 -04:00
ef7ee26ce1 Added demo project sprites and a basic animated stickman 2023-05-09 19:20:41 -04:00
69aad5b451 First push 2023-05-07 18:28:47 -04:00