feat(game): movemnt keys from file

This commit is contained in:
Kristofers Solo
2024-01-07 16:47:24 +02:00
parent f1e854a38c
commit 8e3ed493e0
11 changed files with 178 additions and 84 deletions

View File

@@ -1,21 +1,20 @@
[keybinds]
rotate_colockwise = "up arrow"
hard_drop = "space"
hold = "shift+c"
rotate_counter_colockwise = "ctrl+z"
pause = "esc+F1"
move_left = "left arrow"
move_right = "right arrow"
move_down = "down arrow"
[General]
pause = ["esc", "F1"]
quit = ["q"]
[numpad]
hold = "numpad 0"
hard_drop = "numpad 5"
move_left = "numpad 4"
move_right = "numpad 6"
soft_drop = "numpad 2"
rotate_colockwise_1 = "numpad 1"
rotate_colockwise_2 = "numpad 5"
rotate_colockwise_3 = "numpad 9"
rotate_counter_colockwise_1 = "numpad 3"
rotate_counter_colockwise_2 = "numpad 7"
[Movement]
left = ["left", "kp4"]
right = ["right", "kp6"]
down = ["down", "kp2"]
[Rotation]
cw = ["x", "up", "kp1", "kp5", "kp9"] # clockwise
ccw = ["ctrl", "z", "kp3", "kp7"] # counter-clockwise
[Action]
hold = ["shift", "c", "kp0"]
drop = ["space", "kp5"]
[Sound]
music = true
volume = 0.5