Commit Graph

5 Commits

Author SHA1 Message Date
Gabriel Ksawery Skowron-Rodriguez
e804e6bff6 PlayerClickSystem fix and Soldier world position adjusted
+ PlayerClickSytem
++ now pass position of raycast hit not position of object iht
+ TilemapManager
++ added world space offset to place soldiers within the tile they stand at
2022-05-17 13:37:02 +02:00
Gabriel Ksawery Skowron-Rodriguez
d6f6631de8 clicking on tile wip
+ Added PlayerClickSystem
++ raycasts and tries to hit the grid
+TilemapManager
++ some access level changes to get stuff out of it
++ GetTIleFromWorldCoords()
+++ to get the tile that was clicked
--- TO DO: FIGURE OUT HOW TO MAKE IT POSISBLE TO CLICK ON A TILE WITH NO SOLDIER
2022-05-16 15:22:02 +02:00
Gabriel Ksawery Skowron-Rodriguez
50882e48db Added basic Squad logic
+ Squad
++ aggregates soldiers
++ orders are passed to soldiers (one order per tick)
+- for now debug functions to simulate player inputting of a movement order
2022-05-16 14:21:52 +02:00
Gabriel Ksawery Skowron-Rodriguez
98112df4a5 added TickSystem and an example tick receiver
+ basic TickSystem fully working:
++ add it to a scene for ticks to happen

+ ExampleTickReceiver reference monobehaviour
++ so everyone knows how to connect to the system
2022-05-16 13:34:11 +02:00
Maciekxdabu
08ad9b62df Added scenes for each 2022-05-09 14:32:38 +02:00