Commit Graph

159 Commits

Author SHA1 Message Date
0452fa063c add random offset to honeydew counter 2024-10-06 17:48:45 +10:00
d04e232b66 fix wondering 2024-10-06 17:43:00 +10:00
174fdd36e1 add following_ui closing 2024-10-06 17:26:20 +10:00
bf470cbb09 add honeydew counter 2024-10-06 17:26:08 +10:00
8096cd7046 add anthill ui and bying units 2024-10-06 15:56:04 +10:00
0071d60fa1 add unit creation from anthill 2024-10-06 14:41:09 +10:00
d4d4b563c0 add anthill class and scene 2024-10-06 14:16:31 +10:00
4a84a244af add AnimationTrees and state machines 2024-10-06 09:32:25 +10:00
f6110711fc create AntNitwit class and make them wander 2024-10-06 08:55:57 +10:00
3ad9d2a6ac move wandering functionality to Unit class 2024-10-06 08:26:21 +10:00
85e416e239 create aphid class 2024-10-06 08:19:44 +10:00
d590c5cdf0 add button to toggle mouse confinement 2024-10-06 07:50:11 +10:00
411eafabf5 add draw calls counter to debug 2024-10-06 07:35:55 +10:00
f63689ca89 add child node assertions to units 2024-10-06 07:26:55 +10:00
130c013a38 add visibility_notifier to units 2024-10-06 07:26:19 +10:00
9ae09aad13 remove test_unit and make proper unit hierarchy 2024-10-06 07:05:26 +10:00
4f06f8b26b show hover indicator on mouse enter 2024-10-06 06:48:31 +10:00
9dafb378a2 prevent deselection without drag 2024-10-06 06:21:32 +10:00
374e5f82ff add selection hove indicator and make selection on mouse release 2024-10-06 05:49:10 +10:00
e5f7e6400c add selection height offset 2024-10-06 05:32:06 +10:00
78949b163d add format and comments 2024-10-06 05:11:56 +10:00
dc7463722f set max unit slides to 2 2024-10-06 05:09:02 +10:00
b466fc0086 remove debug draw from test_unit 2024-10-06 05:01:29 +10:00
eac616c305 add unit gradual turning 2024-10-06 04:57:43 +10:00
9937299a88 add ability to specify zoom value for head_to and add easing 2024-10-06 04:45:00 +10:00
abd2ea2e93 add ability to gradually move camera to a target (aka heading to) 2024-10-06 04:35:47 +10:00
e3a958f770 replace position with global_position in some places 2024-10-06 03:39:46 +10:00
e96593ffb0 stress test the units 2024-10-06 03:33:49 +10:00
6fcb2b9f3e add nav agent avoidance 2024-10-06 03:30:19 +10:00
7a95f57afb change navigation mouse button to right 2024-10-06 02:56:30 +10:00
cb889e9053 add better checks for mouse buttons 2024-10-06 02:53:04 +10:00
506e5e4337 add unit movement and animation 2024-10-06 02:47:45 +10:00
e0406eab20 add checking for being selected before navigation to test unit 2024-10-06 02:34:28 +10:00
e60902e90c add minimum drag distance for selection 2024-10-06 02:33:19 +10:00
6f923f6101 add navigation to test unit 2024-10-06 02:26:16 +10:00
26747f9618 disable camera movement when mouse is outside window 2024-10-06 01:46:42 +10:00
a6fb508151 update root unit node to CharacterBody3D and fix selection logic 2024-10-06 01:37:16 +10:00
4fb358b112 add fps counter to debug_draw 2024-10-06 00:45:10 +10:00
57d47e01e9 create unit selector 2024-10-06 00:43:28 +10:00
7e6060b046 add test unit 2024-10-06 00:41:24 +10:00
49650ffbde change screen edge checks from >= to > 2024-10-05 21:38:10 +10:00
6ac97ce0fb rename enable to enabled in debug_draw 2024-10-05 21:33:45 +10:00
e903a6524f add enabled bool to debug_draw 2024-10-05 21:33:14 +10:00
6404019442 add camera resetting 2024-10-05 21:32:30 +10:00
189d3b5e31 make lines more compact in debug_draw 2024-10-05 20:58:31 +10:00
603a65edfa add more spacing between functions 2024-10-05 20:56:51 +10:00
c89f69d613 add markers and circles to debug_draw 2024-10-05 20:55:54 +10:00
e27d16a9f9 add debug drawing class 2024-10-05 20:38:49 +10:00
cf1536f315 prefix private functions with underscore 2024-10-05 20:38:33 +10:00
e59b67bd14 add fullscreen and quitting managers 2024-10-05 19:40:28 +10:00
174e28d2c2 add zoom smoothing 2024-10-05 19:29:27 +10:00
27bc13c777 tweak camera values again 2024-10-05 19:22:50 +10:00
3a6af6adcf tweak camera zoom values 2024-10-05 19:17:32 +10:00
0a6fe86920 change camera positioning to target-based 2024-10-05 18:21:12 +10:00
19eb9473c0 add camera zooming 2024-10-05 18:05:03 +10:00
a21d008289 move camera movement handling to a function 2024-10-05 17:44:56 +10:00
975013eafc add camera movement 2024-10-05 17:41:13 +10:00
1ead8c1bd9 add main_camera script 2024-10-05 17:22:38 +10:00
ffde3104fe add cursor_manager and cursor_click image 2024-10-05 17:06:06 +10:00