Commit graph

46 commits

Author SHA1 Message Date
Sara
e1ebee99e1 feat: MoveTo state now uses Unit::movement_speed 2024-08-15 21:45:01 +02:00
Sara
cabaae949c feat: added unconscious event 2024-08-15 21:45:01 +02:00
Sara
d94b24f617 feat: added on_unconscious and movement speed to unit 2024-08-15 21:45:01 +02:00
Sara
973ba952c2 fix: general AI behaviour fixes 2024-08-15 21:45:00 +02:00
Sara
0de3390cf1 fix: unit movement is now operated by Unit class 2024-08-15 21:43:21 +02:00
Sara
693859e874 chore: removed unneeded print calls 2024-08-15 21:43:21 +02:00
Sara
5abab18a86 fix: get_editor_neighbours now actually gets editor neighbours 2024-08-15 21:43:21 +02:00
Sara
062ef478b4 chore(formatting): godot_cpp include now in angle brackets 2024-08-15 21:43:21 +02:00
Sara
40a93aec32 fix: #if changed to #ifdef for DEBUG_ENABLED check 2024-08-15 21:43:21 +02:00
Sara
0e8bcf4442 feat: units use navigation obstacle avoidance 2024-08-15 21:43:21 +02:00
Sara
111485437c bug(goap): fixed unexpected AI behaviour
- Death now removes entity from awareness
- State failure now causes replan or goal reevaluation
2024-08-15 21:43:21 +02:00
Sara
a2240797b8 fix: self preservation plan in the wrong order 2024-08-15 21:43:21 +02:00
Sara
4ba6869a30 feat: added debug prints to planner and actor world state 2024-08-15 21:43:21 +02:00
Sara
0bb0b26d3e feat: added Unit::has_plan 2024-08-15 21:43:21 +02:00
Sara
1b8563a5eb feat: added parent_ and target_ global_position world props 2024-08-15 21:43:20 +02:00
Sara
f9b3c6eb3f feat: implemented heal action and goal 2024-08-15 21:43:20 +02:00
Sara
a78bbfd3b5 feat: implemented melee attacks for Tank enemy 2024-08-15 21:43:20 +02:00
Sara
1021920e1f feat: added Goal::check_requirements_met 2024-08-15 21:43:20 +02:00
Sara
d03ce19c13 feat: unit now plays animation on death 2024-08-15 21:43:20 +02:00
Sara
65b0f76991 chore(style): changed brackets to match style 2024-08-15 21:43:20 +02:00
Sara
7cf5b128ff feat: implemented fire at target action 2024-08-15 21:43:20 +02:00
Sara
ffafcac23a feat: added state done functions to goap::State 2024-08-15 21:43:20 +02:00
Sara
d506a9c2d0 feat: removed goap::Planner::test_goal 2024-08-15 21:43:20 +02:00
Sara
bcf1672f01 feat: added get_eye_transform to unit 2024-08-15 21:43:20 +02:00
Sara
3c75b592d3 feat: now tracking current goal in unit 2024-08-15 21:43:20 +02:00
Sara
f2cf79d704 chore: removed debug print calls 2024-08-15 21:43:20 +02:00
Sara
51bd3733c4 feat: split end state callback into finished and failed 2024-08-15 21:43:20 +02:00
Sara
58a717aec4 feat: added on-target-destroyed callback to unit world state 2024-08-15 21:43:20 +02:00
Sara
6dddbced43 feat: changed distance check < to <= 2024-08-15 21:43:20 +02:00
Sara
a946f7f39b feat: renamed get_target_dead to get_is_target_dead 2024-08-15 21:43:20 +02:00
Sara
f940072312 feat: implemented basic "can_see_target" 2024-08-15 21:43:20 +02:00
Sara
8cfbbcce27 feat: fully implemented click-to-move 2024-08-15 21:43:20 +02:00
Sara
1ddfa17659 feat: implemented goal oriented action planning 2024-08-15 21:43:20 +02:00
Sara
092ea840dc feat: registering classes 2024-08-15 21:43:20 +02:00
Sara
b1057412cb feat: started defining game concepts 2024-08-15 21:43:20 +02:00
Sara
844b905174 feat: Started defining GOAP concepts 2024-08-15 21:43:20 +02:00
Sara
ad84556207 feat: created rts player class 2024-08-15 21:43:20 +02:00
Sara
da30f4bfa1 feat: initialized project 2024-08-15 21:43:20 +02:00
Sara
70ef73e06f feat: updated src/utils to newest 2024-08-15 21:21:11 +02:00
Sara
c43edd3fd0 feat: updated utils 2024-05-28 16:29:21 +02:00
Sara
8af2858e39 feat: removed uninitialize function completely 2024-05-28 14:15:57 +02:00
Sara
f91feba86d chore: updated utils 2024-05-28 14:15:44 +02:00
Sara
fd0913dac2 chore: updated utils 2024-05-24 17:40:53 +02:00
Sara
09035af13b Created game template 2024-03-07 20:41:08 +01:00
Patrick-FlameLizard
fb8e864dba Add class registration comment hint for main branch 2023-08-26 19:59:37 +02:00
Patrick
882ffb2726 Initial commit 2023-08-08 01:43:32 +02:00