Commit Graph

13 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
2c248b7de0 Merge remote-tracking branch 'origin/merloj-tilemap' into SpartaqS-OrderIssuing 2022-05-16 14:33:05 +02:00
Maciekxdabu
acf737cbad merloj: base tilemap done 2022-05-16 14:32:01 +02:00
Gabriel Ksawery Skowron-Rodriguez
523b73bcb3 Merge branch 'SpartaqS-Squad' into Development 2022-05-16 14:23:46 +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
2a0b75fd81 feat: Find soldiers 2022-05-16 14:16:41 +02:00
fe0d6a6b7f add soldier script 2022-05-16 14:16:41 +02:00
Gabriel Ksawery Skowron-Rodriguez
100f074ec1 Merge branch 'kuchy-soldiers' into SpartaqS-Squad 2022-05-16 13:42:44 +02:00
e21fe8a213 add soldier script 2022-05-16 13:39:57 +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
Maciekxdabu
9c952ee9a4 Initial project
- moved gitignore into project folder
- created initial 3D Unity Project
2022-05-09 13:16:56 +02:00