ft: player attacking logic

This commit is contained in:
djaidjai committed 2026-01-17 14:20:54 +01:00
1 parent 5811658c64
commit 18ce1716e4
8 files changed
+92 -61

No files matched your search

+6
View File
@@ -22,6 +22,7 @@ GameManager="*res://game_manager.gd"
[global_group]
player="All scenes that constitute players should be added here."
prey="any passive killable entities belong in this group"
[input]
@@ -45,6 +46,11 @@ move_down={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
]
}
try_attack={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}
[layer_names]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.