implemented xustom keybinds

This commit is contained in:
IM23a-bachmannj2
2025-02-02 21:36:32 +01:00
parent fc31ab5912
commit 16c1ef8dd6
6 changed files with 61 additions and 39 deletions
+8
View File
@@ -1,3 +1,6 @@
from game.util.control import Controls_Handler
from game.util.util import load_save
width, height = 0, 0
#grid surface
@@ -6,6 +9,11 @@ g_height, g_width = 600, 300
#score
game_score = 0
actions = {"Left": False, "Right": False, "Up": False, "Down": False, "Hold": False}
save = load_save()
control_handler = Controls_Handler(save)
rows = 20
cols = 10
cell_size = 30