From 9a9f93b32d3414b26f7bffb477a3a63a65a7bbdf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Apr 2024 05:39:22 +0200 Subject: [PATCH] Add the `main_menu` input action --- project.godot | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/project.godot b/project.godot index b314bc5..804c00b 100644 --- a/project.godot +++ b/project.godot @@ -11,7 +11,7 @@ config_version=5 [application] config/name="LD55" -run/main_scene="res://scenes/game/main_game.tscn" +run/main_scene="res://main.tscn" config/features=PackedStringArray("4.2", "GL Compatibility") config/icon="res://icon.svg" @@ -25,6 +25,14 @@ window/size/initial_position_type=3 import/blender/enabled=false +[input] + +main_menu={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194317,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +] +} + [physics] common/physics_ticks_per_second=100