revamped key rebinding system

This commit is contained in:
2025-06-06 11:11:52 +10:00
parent 4a21701a35
commit c44a730b59
1547 changed files with 6435 additions and 17228 deletions

View File

@ -13,7 +13,7 @@ icon = ExtResource("1_2o720")
death_sprite = ExtResource("1_5xm32")
sprite = ExtResource("2_1m62w")
spawn_power = 100
health = 8000
health = 7000
penalty = 40
movement_speed = 0.8
spawn_cooldown = 1.0

View File

@ -1,91 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://24x6dxeyp6q"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_mq1d3"]
[sub_resource type="InputEventKey" id="InputEventKey_x2tr7"]
device = -1
keycode = 65
unicode = 97
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_5s7xv"]
button_index = 1
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_l3f8p"]
button_index = 2
[sub_resource type="InputEventKey" id="InputEventKey_km24n"]
device = -1
keycode = 69
unicode = 101
[sub_resource type="InputEventKey" id="InputEventKey_k7imb"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="InputEventKey" id="InputEventKey_bkkdp"]
device = -1
keycode = 83
unicode = 115
[sub_resource type="InputEventKey" id="InputEventKey_sflgv"]
device = -1
keycode = 90
unicode = 122
[sub_resource type="InputEventKey" id="InputEventKey_gpfw7"]
device = -1
keycode = 81
unicode = 113
[sub_resource type="InputEventKey" id="InputEventKey_h2ivp"]
device = -1
keycode = 68
unicode = 100
[sub_resource type="InputEventKey" id="InputEventKey_tghoj"]
device = -1
keycode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_wow3c"]
device = -1
keycode = 4194305
[sub_resource type="InputEventKey" id="InputEventKey_wge4x"]
device = -1
keycode = 70
unicode = 102
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_fgwoe"]
button_index = 5
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_3ljja"]
button_index = 4
[sub_resource type="InputEventKey" id="InputEventKey_08u8b"]
device = -1
keycode = 4194325
[sub_resource type="InputEventKey" id="InputEventKey_jtv7p"]
device = -1
keycode = 4194306
[resource]
script = ExtResource("1_mq1d3")
title = "AZERTY"
move_forward = SubResource("InputEventKey_sflgv")
move_backward = SubResource("InputEventKey_bkkdp")
move_left = SubResource("InputEventKey_gpfw7")
move_right = SubResource("InputEventKey_h2ivp")
jump = SubResource("InputEventKey_k7imb")
sprint = SubResource("InputEventKey_08u8b")
interact = SubResource("InputEventKey_km24n")
open_text_chat = SubResource("InputEventKey_tghoj")
ready = SubResource("InputEventKey_wge4x")
pause = SubResource("InputEventKey_wow3c")
equip_card_in_gauntlet = SubResource("InputEventKey_x2tr7")
view_map = SubResource("InputEventKey_jtv7p")
fire1 = SubResource("InputEventMouseButton_5s7xv")
fire2 = SubResource("InputEventMouseButton_l3f8p")
select_next_card = SubResource("InputEventMouseButton_fgwoe")
select_prev_card = SubResource("InputEventMouseButton_3ljja")

View File

@ -1,91 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://bimicdfsvbsfe"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_ea4lr"]
[sub_resource type="InputEventKey" id="InputEventKey_vtcll"]
device = -1
keycode = 81
unicode = 113
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_jdiqn"]
button_index = 1
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_x1yto"]
button_index = 2
[sub_resource type="InputEventKey" id="InputEventKey_43xjm"]
device = -1
keycode = 70
unicode = 102
[sub_resource type="InputEventKey" id="InputEventKey_yuctl"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="InputEventKey" id="InputEventKey_73pxv"]
device = -1
keycode = 82
unicode = 114
[sub_resource type="InputEventKey" id="InputEventKey_nvtcc"]
device = -1
keycode = 87
unicode = 119
[sub_resource type="InputEventKey" id="InputEventKey_h2yjp"]
device = -1
keycode = 65
unicode = 97
[sub_resource type="InputEventKey" id="InputEventKey_xvv7x"]
device = -1
keycode = 83
unicode = 115
[sub_resource type="InputEventKey" id="InputEventKey_ksd1d"]
device = -1
keycode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_7ynrb"]
device = -1
keycode = 4194305
[sub_resource type="InputEventKey" id="InputEventKey_0pbgp"]
device = -1
keycode = 84
unicode = 116
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_flrjb"]
button_index = 5
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_ah2mb"]
button_index = 4
[sub_resource type="InputEventKey" id="InputEventKey_opngu"]
device = -1
keycode = 4194325
[sub_resource type="InputEventKey" id="InputEventKey_f1w6s"]
device = -1
keycode = 4194306
[resource]
script = ExtResource("1_ea4lr")
title = "COLEMAK"
move_forward = SubResource("InputEventKey_nvtcc")
move_backward = SubResource("InputEventKey_73pxv")
move_left = SubResource("InputEventKey_h2yjp")
move_right = SubResource("InputEventKey_xvv7x")
jump = SubResource("InputEventKey_yuctl")
sprint = SubResource("InputEventKey_opngu")
interact = SubResource("InputEventKey_43xjm")
open_text_chat = SubResource("InputEventKey_ksd1d")
ready = SubResource("InputEventKey_0pbgp")
pause = SubResource("InputEventKey_7ynrb")
equip_card_in_gauntlet = SubResource("InputEventKey_vtcll")
view_map = SubResource("InputEventKey_f1w6s")
fire1 = SubResource("InputEventMouseButton_jdiqn")
fire2 = SubResource("InputEventMouseButton_x1yto")
select_next_card = SubResource("InputEventMouseButton_flrjb")
select_prev_card = SubResource("InputEventMouseButton_ah2mb")

View File

@ -1,83 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://ciy3467h2g8fi"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_tfpk7"]
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_wcd5e"]
button_index = 9
pressed = true
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_u2vjr"]
axis = 5
axis_value = 1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_t6w8w"]
axis = 4
axis_value = 1.0
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_cmg03"]
button_index = 2
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_u1s05"]
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_rkpws"]
axis = 1
axis_value = 1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_hfod6"]
axis = 1
axis_value = -1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_8v3ji"]
axis_value = -1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_mdo5n"]
axis_value = 1.0
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_g0awx"]
button_index = 11
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_rdp3w"]
button_index = 6
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_pt0da"]
button_index = 1
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_1ppnc"]
button_index = 14
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_ntg7n"]
button_index = 13
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_0ju3o"]
button_index = 7
pressed = true
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_171bh"]
button_index = 4
pressed = true
[resource]
script = ExtResource("1_tfpk7")
title = "Controller"
move_forward = SubResource("InputEventJoypadMotion_hfod6")
move_backward = SubResource("InputEventJoypadMotion_rkpws")
move_left = SubResource("InputEventJoypadMotion_8v3ji")
move_right = SubResource("InputEventJoypadMotion_mdo5n")
jump = SubResource("InputEventJoypadButton_u1s05")
sprint = SubResource("InputEventJoypadButton_0ju3o")
interact = SubResource("InputEventJoypadButton_cmg03")
open_text_chat = SubResource("InputEventJoypadButton_g0awx")
ready = SubResource("InputEventJoypadButton_pt0da")
pause = SubResource("InputEventJoypadButton_rdp3w")
equip_card_in_gauntlet = SubResource("InputEventJoypadButton_wcd5e")
view_map = SubResource("InputEventJoypadButton_171bh")
fire1 = SubResource("InputEventJoypadMotion_u2vjr")
fire2 = SubResource("InputEventJoypadMotion_t6w8w")
select_next_card = SubResource("InputEventJoypadButton_1ppnc")
select_prev_card = SubResource("InputEventJoypadButton_ntg7n")

View File

@ -1,91 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://qgpkrp08tx5l"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_e3tjt"]
[sub_resource type="InputEventKey" id="InputEventKey_62tdh"]
device = -1
keycode = 39
unicode = 39
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_gd1dk"]
button_index = 1
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_eqrpb"]
button_index = 2
[sub_resource type="InputEventKey" id="InputEventKey_x2isa"]
device = -1
keycode = 46
unicode = 46
[sub_resource type="InputEventKey" id="InputEventKey_sjxn8"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="InputEventKey" id="InputEventKey_kjw4x"]
device = -1
keycode = 79
unicode = 111
[sub_resource type="InputEventKey" id="InputEventKey_61m8q"]
device = -1
keycode = 44
unicode = 44
[sub_resource type="InputEventKey" id="InputEventKey_tdkec"]
device = -1
keycode = 65
unicode = 97
[sub_resource type="InputEventKey" id="InputEventKey_flmuc"]
device = -1
keycode = 69
unicode = 101
[sub_resource type="InputEventKey" id="InputEventKey_8xqt1"]
device = -1
keycode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_itl5r"]
device = -1
keycode = 4194305
[sub_resource type="InputEventKey" id="InputEventKey_drnpm"]
device = -1
keycode = 85
unicode = 117
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_tu87m"]
button_index = 5
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_3ufg1"]
button_index = 4
[sub_resource type="InputEventKey" id="InputEventKey_3m66q"]
device = -1
keycode = 4194325
[sub_resource type="InputEventKey" id="InputEventKey_docp6"]
device = -1
keycode = 4194306
[resource]
script = ExtResource("1_e3tjt")
title = "DVORAK"
move_forward = SubResource("InputEventKey_61m8q")
move_backward = SubResource("InputEventKey_kjw4x")
move_left = SubResource("InputEventKey_tdkec")
move_right = SubResource("InputEventKey_flmuc")
jump = SubResource("InputEventKey_sjxn8")
sprint = SubResource("InputEventKey_3m66q")
interact = SubResource("InputEventKey_x2isa")
open_text_chat = SubResource("InputEventKey_8xqt1")
ready = SubResource("InputEventKey_drnpm")
pause = SubResource("InputEventKey_itl5r")
equip_card_in_gauntlet = SubResource("InputEventKey_62tdh")
view_map = SubResource("InputEventKey_docp6")
fire1 = SubResource("InputEventMouseButton_gd1dk")
fire2 = SubResource("InputEventMouseButton_eqrpb")
select_next_card = SubResource("InputEventMouseButton_tu87m")
select_prev_card = SubResource("InputEventMouseButton_3ufg1")

View File

@ -1,91 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://dml3iwhpttdat"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_6xs82"]
[sub_resource type="InputEventKey" id="InputEventKey_g7iw8"]
device = -1
keycode = 81
unicode = 113
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_32lj4"]
button_index = 1
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_d3xef"]
button_index = 2
[sub_resource type="InputEventKey" id="InputEventKey_brup3"]
device = -1
keycode = 69
unicode = 101
[sub_resource type="InputEventKey" id="InputEventKey_p6g50"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="InputEventKey" id="InputEventKey_cavx6"]
device = -1
keycode = 83
unicode = 115
[sub_resource type="InputEventKey" id="InputEventKey_e7m41"]
device = -1
keycode = 87
unicode = 119
[sub_resource type="InputEventKey" id="InputEventKey_5ut3l"]
device = -1
keycode = 65
unicode = 97
[sub_resource type="InputEventKey" id="InputEventKey_3uioy"]
device = -1
keycode = 68
unicode = 100
[sub_resource type="InputEventKey" id="InputEventKey_6mykw"]
device = -1
keycode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_ujdbv"]
device = -1
keycode = 4194305
[sub_resource type="InputEventKey" id="InputEventKey_kiqcj"]
device = -1
keycode = 70
unicode = 102
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_e8eut"]
button_index = 5
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_ntdkp"]
button_index = 4
[sub_resource type="InputEventKey" id="InputEventKey_tmf7l"]
device = -1
keycode = 4194325
[sub_resource type="InputEventKey" id="InputEventKey_a3okn"]
device = -1
keycode = 4194306
[resource]
script = ExtResource("1_6xs82")
title = "QWERTY"
move_forward = SubResource("InputEventKey_e7m41")
move_backward = SubResource("InputEventKey_cavx6")
move_left = SubResource("InputEventKey_5ut3l")
move_right = SubResource("InputEventKey_3uioy")
jump = SubResource("InputEventKey_p6g50")
sprint = SubResource("InputEventKey_tmf7l")
interact = SubResource("InputEventKey_brup3")
open_text_chat = SubResource("InputEventKey_6mykw")
ready = SubResource("InputEventKey_kiqcj")
pause = SubResource("InputEventKey_ujdbv")
equip_card_in_gauntlet = SubResource("InputEventKey_g7iw8")
view_map = SubResource("InputEventKey_a3okn")
fire1 = SubResource("InputEventMouseButton_32lj4")
fire2 = SubResource("InputEventMouseButton_d3xef")
select_next_card = SubResource("InputEventMouseButton_e8eut")
select_prev_card = SubResource("InputEventMouseButton_ntdkp")

View File

@ -1,91 +0,0 @@
[gd_resource type="Resource" script_class="PlayerKeymap" load_steps=18 format=3 uid="uid://g02ll7a7urwl"]
[ext_resource type="Script" uid="uid://vkthiwr3vq4g" path="res://Scripts/Resources/player_keymap.gd" id="1_pf0gk"]
[sub_resource type="InputEventKey" id="InputEventKey_ikcft"]
device = -1
keycode = 81
unicode = 113
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_x77eo"]
button_index = 1
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_uiqw0"]
button_index = 2
[sub_resource type="InputEventKey" id="InputEventKey_bg51j"]
device = -1
keycode = 82
unicode = 114
[sub_resource type="InputEventKey" id="InputEventKey_2hgt5"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="InputEventKey" id="InputEventKey_lc0ss"]
device = -1
keycode = 83
unicode = 115
[sub_resource type="InputEventKey" id="InputEventKey_lei27"]
device = -1
keycode = 68
unicode = 100
[sub_resource type="InputEventKey" id="InputEventKey_7juwk"]
device = -1
keycode = 65
unicode = 97
[sub_resource type="InputEventKey" id="InputEventKey_qfke7"]
device = -1
keycode = 72
unicode = 104
[sub_resource type="InputEventKey" id="InputEventKey_tbuvp"]
device = -1
keycode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_tm5f1"]
device = -1
keycode = 4194305
[sub_resource type="InputEventKey" id="InputEventKey_krad3"]
device = -1
keycode = 84
unicode = 116
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_xu2iv"]
button_index = 5
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_crqmx"]
button_index = 4
[sub_resource type="InputEventKey" id="InputEventKey_bnnig"]
device = -1
keycode = 4194325
[sub_resource type="InputEventKey" id="InputEventKey_tajfr"]
device = -1
keycode = 4194306
[resource]
script = ExtResource("1_pf0gk")
title = "WORKMAN"
move_forward = SubResource("InputEventKey_lei27")
move_backward = SubResource("InputEventKey_lc0ss")
move_left = SubResource("InputEventKey_7juwk")
move_right = SubResource("InputEventKey_qfke7")
jump = SubResource("InputEventKey_2hgt5")
sprint = SubResource("InputEventKey_bnnig")
interact = SubResource("InputEventKey_bg51j")
open_text_chat = SubResource("InputEventKey_tbuvp")
ready = SubResource("InputEventKey_krad3")
pause = SubResource("InputEventKey_tm5f1")
equip_card_in_gauntlet = SubResource("InputEventKey_ikcft")
view_map = SubResource("InputEventKey_tajfr")
fire1 = SubResource("InputEventMouseButton_x77eo")
fire2 = SubResource("InputEventMouseButton_uiqw0")
select_next_card = SubResource("InputEventMouseButton_xu2iv")
select_prev_card = SubResource("InputEventMouseButton_crqmx")