From fdbba87b346c6020d7349d0c2cb3793fcdab25f3 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 16 Jul 2022 22:42:19 +0100 Subject: add menu and switch die code from rust to gdscript --- godot/project.godot | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'godot/project.godot') diff --git a/godot/project.godot b/godot/project.godot index 0191f34..e98a5a8 100644 --- a/godot/project.godot +++ b/godot/project.godot @@ -15,9 +15,15 @@ _global_script_class_icons={ [application] config/name="code-with-your-friends2022" -run/main_scene="res://scenes/Game.tscn" +run/main_scene="res://scenes/Menu.tscn" config/icon="res://assets/godot-ferris-32x32.png" +[display] + +window/size/width=1920 +window/size/height=1080 +window/stretch/mode="2d" + [gdnative] singletons=[ ] @@ -29,6 +35,10 @@ mouse_btn_left={ "events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) ] } +esc={ +"deadzone": 0.5, +"events": [ ] +} [rendering] -- cgit