5 Commits

Author SHA1 Message Date
d4e3bb316c Changed levels, update rock sprite, added enemyspawnStart 2023-07-18 20:31:09 -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
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
Felix Boucher
ef8a70aba4 finish to hijack update loop + serialization
problem : tiles dont have an update loop, neither do they have a start / destroy method

solution : finished working on a way to create a custom start/update/destroy pipeline for the projects custom tiles. it's using LevelManagerScript as to Update.

note : also created a database and a start of serialization system so we can save and load stuff.
2023-05-27 20:38:42 -04:00
Felix Boucher
ebe035840c tidy up + add test tiles + small doc
La feature était désorganisé et il n'y avait rien pour tester ou démontrer la fonctionalité

J'ai rangé tous les scripts dans des dossiers enfants de LevelEditor.

Tous les fichiers du level editor sont dans le namespace GatherAndDefend.LevelEditor.

J'ai ajouté un type de tile qui peut instantier un prefab au startup.

J'ai créé un level de test.
2023-05-10 19:01:31 -04:00