Commit Graph

16 Commits

Author SHA1 Message Date
Maciekxdabu
06c13568c1 merloj: Fixed bug with empty squad 2022-06-10 10:59:49 +02:00
Maciekxdabu
db503cf069 merloj: set soldier hp to 1 2022-06-03 14:06:06 +02:00
Maciekxdabu
d5e2c9ae1b merloj: finished basic communication
- rough, working design for now, needs to be polished
2022-06-03 13:53:29 +02:00
Maciekxdabu
e627369767 merloj: Communication class base
- also deleted unused Box Collider from Soldier prefab
2022-05-30 15:02:13 +02:00
Gabriel Ksawery Skowron-Rodriguez
8589ee8007 basic movement done
+ soldier tries to move directly into the target position
- if it cannot move, it does nothing
2022-05-27 13:33:29 +02:00
Maciekxdabu
7cc7000a67 merloj: tilemapy stuffy
- collider tilempawoy
- rysowanie ustalonej wielkości mapy
2022-05-23 17:29:47 +02:00
Gabriel Ksawery Skowron-Rodriguez
b3b8f4cb76 merge fix 2022-05-23 14:50:00 +02:00
Gabriel Ksawery Skowron-Rodriguez
42452e6e64 Cleanup Soldiers and Bases (make Entity base class) 2022-05-23 14:04:53 +02:00
f9804b48bb Soldier is a child of base 2022-05-23 13:18:37 +02:00
8085bbb2e7 feat: add base 2022-05-23 12:54:59 +02:00
Gabriel Ksawery Skowron-Rodriguez
0fcd903343 made basic soldiers attack no faster than every second tick
+ one tick to reload the gun I guess
2022-05-22 21:19:05 +02:00
Gabriel Ksawery Skowron-Rodriguez
70c7414a0b Added soldier's queue functionality
+ actions: basic actions that can the soldier creates on its own
+ interrupts: actions that are enqueued as a result of receiving orders. Executed before basic actions
+/- renamed "UpdateTarget" to "TryAttackEnemy"
+ made "speedAttack" (attack delay) functional
+ prepared target position (modified by movement orders)
2022-05-22 21:17:29 +02:00
Gabriel Ksawery Skowron-Rodriguez
ee7c0fdfa1 added clicking on tiles to main scene
+ temp plane below tilemap to catch raycasts, need tofind a real way to do this on the tilemap itself (Tilemap2D collider does nto work)
2022-05-20 11:27:04 +02:00
Gabriel Ksawery Skowron-Rodriguez
de67d01f08 added hp display and improved main scene 2022-05-17 22:33:59 +02:00
Maciekxdabu
94a32459ea merloj: finished demo 1 2022-05-17 22:22:04 +02:00
36b9de2d15 chore: rename project folder 2022-05-17 17:59:44 +02:00