Implement marine unit visibility and movement logic; add map loading from JSON

This commit is contained in:
Matteo Benedetto
2025-05-15 22:14:47 +02:00
parent 9a1cdb9ced
commit 20bb62ee97
11 changed files with 302 additions and 71 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"reset_game": ["Return", 13],
"pause": ["P", 16],
"quit": ["Q", 12]
}
+6
View File
@@ -0,0 +1,6 @@
{
"start_game": ["Return", 13],
"toggle_full_screen": ["F"],
"quit": ["Q", 12]
}
+7
View File
@@ -0,0 +1,7 @@
{
"keydown:up": "scroll_up",
"keydown:down": "scroll_down",
"keydown:left": "scroll_left",
"keydown:right": "scroll_right"
}