Commit Graph

79 Commits

Author SHA1 Message Date
Stedd b043440827 Reorganizing and renaming 2023-10-08 16:50:59 +02:00
Stedd cd62cd6aa2 Updated NavMesh 2023-10-08 16:42:15 +02:00
Stedd 6956bf0c7f Added some runtime sets 2023-10-08 16:23:57 +02:00
Stedd 33c644b2d8 Targeting working again 2023-10-08 16:20:52 +02:00
Stedd af8e183f93 gitignore 2023-10-08 14:57:57 +02:00
Stedd 0a67caf9be Changed namespaces 2023-10-08 14:54:36 +02:00
Stedd 1bb9d584dd moved interfaces to CoreSystems 2023-10-08 14:07:18 +02:00
Stedd 357e02ff4f Changed naming scheme of ScriptableObjects 2023-10-08 14:06:15 +02:00
Stedd 35d80db948 Added submodule 2023-10-08 13:14:17 +02:00
Stedd d4aabafbdf Updated and removed some packages 2023-10-08 13:04:33 +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 b1f2446fa6 Added Targeting for entities
*Changed all Runtime Sets to be <EntityBase> instead of <StructureBase> or <EnemyBase>
*Added targeting configuration scriptable object (can now set up many differet targeting schemes and use them as needed)
*Added targeting script
*Modified Turret and Enemy to use targeting script (added on play)
*Added NavMesh and NavMeshAgents for enemy movement to be used during prototyping
2022-10-01 21:42:18 +02:00
Stedd a70bd626a6 Updated PowerHandler
Calculates consumption and peak consumption
2022-10-01 20:03:27 +02:00
Stedd 47fdfdbc66 Added Turret targeting 2022-10-01 18:17:16 +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
Stedd 0cf7f6401b Unity 2021.3.11 2022-10-01 11:03:08 +02:00
Stedd eed2e6c8f9 Unity 2021.3.10 2022-09-22 08:12:21 +02:00
Thomas Hodnemyr 01962bbc04 Added Shift to "build many" in build handler 2022-09-18 23:24:48 +02:00
Stedd b625d78ac2 note updates 2022-09-18 23:21:58 +02:00
Thomas Hodnemyr 128caae1bb Initial Build Menu
Added a new Package to the project
2022-09-18 23:02:39 +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 13be4256ce AvailableStructures ScriptableObject 2022-09-18 19:07:09 +02:00
Stedd fd9c91d72b Can build turrets and powerstation from UI 2022-09-18 17:14:42 +02:00
Stedd e84aa80cc7 Updated game notes 2022-09-18 17:14:23 +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 98624fafd1 Moved Packages
*HDRP
*TextMeshPro
2022-09-18 15:25:18 +02:00
Stedd cbeeffe971 Added Powerplant building 2022-09-18 14:49:02 +02:00
Stedd 15e1e06dfe First version of build system 2022-09-18 14:33:43 +02:00
Stedd 4034c1e122 Added buildcollider to Turret 2022-09-18 12:10:32 +02:00
Stedd f4887be792 Updates
*Changed assemblydefinitions
*Added Enemy
*Turrets target enemies
2022-09-18 11:47:55 +02:00
Stedd 8d1ea374c6 Camera changes 2022-09-18 10:25:47 +02:00
Stedd c461e47f85 Updated some materials 2022-09-18 10:25:37 +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 6cf37cbb19 Added materials and painted Turret 2022-09-18 09:29:29 +02:00
Stedd 6d01c88a5e Updated assembly definitions 2022-09-18 09:29:04 +02:00
Thomas Hodnemyr fb6a6bb198 OptimizedCode in Camera Controller 2022-09-18 00:39:26 +02:00
Stedd 2275195932 WIP EnemyHandler 2022-09-17 23:53:34 +02:00
Stedd c1a576768f Turrets targeting camera object 2022-09-17 23:21:22 +02:00
Stedd df62312126 Added cameracontroller scripts to assemblydef 2022-09-17 23:21:06 +02:00
Thomas Hodnemyr f7a5778c95 Add instantiate on mouse pos 2022-09-17 22:56:22 +02:00
Stedd 4c3ed46236 Updated playground scene 2022-09-17 22:44:42 +02:00
Thomas Hodnemyr 1b34df5407 Added Camera Movement 2022-09-17 22:36:16 +02:00
Stedd 76e70e6384 Spawning turrets at click location 2022-09-17 22:13:44 +02:00