Commit Graph

23 Commits

Author SHA1 Message Date
Stedd 0a67caf9be Changed namespaces 2023-10-08 14:54:36 +02:00
Stedd 357e02ff4f Changed naming scheme of ScriptableObjects 2023-10-08 14:06:15 +02:00
Stedd ce40da5de0 Unity 2022.3.10 2023-10-08 13:01:21 +02:00
Stedd 9237031dc6 Some cleanups 2022-10-06 00:40:50 +02:00
Stedd 4027bf3c97 WIP PowerSystem 2022-10-06 00:35:57 +02:00
Stedd a70bd626a6 Updated PowerHandler
Calculates consumption and peak consumption
2022-10-01 20:03:27 +02:00
Stedd f89ab59fdf Changed to using Runtime sets
Handlers are now using runtime sets instead of owning lists.
Entities that are instantiated assign themselves to their respective Runtime sets.

Heavily inspired by:
https://www.youtube.com/watch?v=raQ3iHhE_Kk
https://github.com/roboryantron/Unite2017
2022-10-01 17:59:06 +02:00
Stedd 4151ba0050 Project cleanup 2022-10-01 13:31:32 +02:00
Thomas Hodnemyr 01962bbc04 Added Shift to "build many" in build handler 2022-09-18 23:24:48 +02:00
Stedd 8952fb0280 Give index when entering build mode 2022-09-18 22:09:08 +02:00
Stedd 8be9c3cd70 Cleanup to be able to build 2022-09-18 21:54:55 +02:00
Stedd 9b72751e15 Changed available buildings to dictionary 2022-09-18 21:54:33 +02:00
Stedd cea045ae2c WIP Power system 2022-09-18 20:05:49 +02:00
Stedd fd9c91d72b Can build turrets and powerstation from UI 2022-09-18 17:14:42 +02:00
Stedd bd4fc1af8f Ghost structure coloring in build mode 2022-09-18 16:47:11 +02:00
Stedd 46b21baba4 Added Crude UI
Possible to start building from UI button
2022-09-18 15:25:38 +02:00
Stedd 15e1e06dfe First version of build system 2022-09-18 14:33:43 +02:00
Stedd f4887be792 Updates
*Changed assemblydefinitions
*Added Enemy
*Turrets target enemies
2022-09-18 11:47:55 +02:00
Stedd 18a2fd7ef7 Handlers updates
*Updated Input system for handlers, now scripts are not depentent on being a child of input system in the hierarchy
*Minor cleanups
*Changed hierarchy in scene (no longer children of inputsystem)
2022-09-18 10:18:49 +02:00
Stedd 2275195932 WIP EnemyHandler 2022-09-17 23:53:34 +02:00
Thomas Hodnemyr f7a5778c95 Add instantiate on mouse pos 2022-09-17 22:56:22 +02:00
Stedd 76e70e6384 Spawning turrets at click location 2022-09-17 22:13:44 +02:00
Stedd 29d86194ca WIP Entities 2022-09-17 18:38:21 +02:00