Commit Graph

215 Commits

Author SHA1 Message Date
9ae09aad13 remove test_unit and make proper unit hierarchy 2024-10-06 07:05:26 +10:00
9a2cdb7c40 disable frustrum shape ray pickability 2024-10-06 06:53:29 +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
156c227cae remove units from their collision mask 2024-10-06 06:12:56 +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
72f7ad96ba return default cell height and set agent height offset 2024-10-06 03:38:29 +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
2fbce7a2b1 change navigation mouse button to right 2024-10-06 02:55:31 +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
326877f384 add basic animations to ant model and make test unit inherit from it 2024-10-06 01:11:00 +10:00
4fb358b112 add fps counter to debug_draw 2024-10-06 00:45:10 +10:00
ff1c7c33d2 add reset_camera input 2024-10-06 00:44:57 +10:00
0bf2459b47 add selector and test units to main scene 2024-10-06 00:44:38 +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
474255fae3 add blender to readme 2024-10-05 21:02:21 +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
1c9fe48ded add ant model 2024-10-05 19:17:18 +10:00
0dd3ca57ef add exception for gdignore to gitignore 2024-10-05 18:24:54 +10:00
357644b399 add art folder to gitignore 2024-10-05 18:23:12 +10:00
0a6fe86920 change camera positioning to target-based 2024-10-05 18:21:12 +10:00