mirror of
https://github.com/kristoferssolo/Tetris.git
synced 2026-03-22 00:36:20 +00:00
feat(game): movemnt keys from file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user