From 1a248b36a655a9b40635a2b24de746713be79e16 Mon Sep 17 00:00:00 2001 From: Luna Brovchuk Date: Sat, 30 Sep 2023 14:33:48 +0200 Subject: [PATCH] Set Project Up --- .gitignore | 1 + project.godot | 24 ++++++++++++++++++++++++ src/global.gd | 2 ++ src/scenes/Menu.tscn | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 src/global.gd create mode 100644 src/scenes/Menu.tscn diff --git a/.gitignore b/.gitignore index bf83296..4e11a9a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # Godot-specific ignores .import/ +addons/ export.cfg export_presets.cfg diff --git a/project.godot b/project.godot index dc71762..5bba778 100644 --- a/project.godot +++ b/project.godot @@ -8,11 +8,35 @@ config_version=4 +_global_script_classes=[ { +"base": "", +"class": "GitAPI", +"language": "NativeScript", +"path": "res://addons/godot-git-plugin/git_api.gdns" +} ] +_global_script_class_icons={ +"GitAPI": "" +} + [application] config/name="LD54" config/icon="res://icon.png" +[display] + +window/size/width=160 +window/size/height=90 + +[editor] + +version_control_autoload_on_startup=true +version_control_plugin_name="GitAPI" + +[gdnative] + +singletons=[ "res://addons/godot-git-plugin/git_api.gdnlib" ] + [gui] common/drop_mouse_on_gui_input_disabled=true diff --git a/src/global.gd b/src/global.gd new file mode 100644 index 0000000..487b284 --- /dev/null +++ b/src/global.gd @@ -0,0 +1,2 @@ +extends Node + diff --git a/src/scenes/Menu.tscn b/src/scenes/Menu.tscn new file mode 100644 index 0000000..574980a --- /dev/null +++ b/src/scenes/Menu.tscn @@ -0,0 +1,9 @@ +[gd_scene format=2] + +[node name="Menu" type="Node"] + +[node name="View" type="Node2D" parent="."] + +[node name="UI" type="Control" parent="."] +margin_right = 40.0 +margin_bottom = 40.0