diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dd2198a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Godot 4 editor cache/import directory +.godot/ diff --git a/addons/.gitkeep b/addons/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/backend/app/__pycache__/__init__.cpython-312.pyc b/backend/app/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index b85585f..0000000 Binary files a/backend/app/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/backend/app/__pycache__/config.cpython-312.pyc b/backend/app/__pycache__/config.cpython-312.pyc deleted file mode 100644 index 9d3ecec..0000000 Binary files a/backend/app/__pycache__/config.cpython-312.pyc and /dev/null differ diff --git a/backend/app/__pycache__/database.cpython-312.pyc b/backend/app/__pycache__/database.cpython-312.pyc deleted file mode 100644 index 44b5853..0000000 Binary files a/backend/app/__pycache__/database.cpython-312.pyc and /dev/null differ diff --git a/backend/app/__pycache__/dependencies.cpython-312.pyc b/backend/app/__pycache__/dependencies.cpython-312.pyc deleted file mode 100644 index fc4aa25..0000000 Binary files a/backend/app/__pycache__/dependencies.cpython-312.pyc and /dev/null differ diff --git a/backend/app/__pycache__/main.cpython-312.pyc b/backend/app/__pycache__/main.cpython-312.pyc deleted file mode 100644 index 8755975..0000000 Binary files a/backend/app/__pycache__/main.cpython-312.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/__init__.cpython-312.pyc b/backend/app/models/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 4389d34..0000000 Binary files a/backend/app/models/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/asset.cpython-312.pyc b/backend/app/models/__pycache__/asset.cpython-312.pyc deleted file mode 100644 index 0f7962a..0000000 Binary files a/backend/app/models/__pycache__/asset.cpython-312.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/session.cpython-312.pyc b/backend/app/models/__pycache__/session.cpython-312.pyc deleted file mode 100644 index 5ccd806..0000000 Binary files a/backend/app/models/__pycache__/session.cpython-312.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/user.cpython-312.pyc b/backend/app/models/__pycache__/user.cpython-312.pyc deleted file mode 100644 index b4bd324..0000000 Binary files a/backend/app/models/__pycache__/user.cpython-312.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/world.cpython-312.pyc b/backend/app/models/__pycache__/world.cpython-312.pyc deleted file mode 100644 index 3113972..0000000 Binary files a/backend/app/models/__pycache__/world.cpython-312.pyc and /dev/null differ diff --git a/backend/app/routers/__pycache__/__init__.cpython-312.pyc b/backend/app/routers/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 8880d22..0000000 Binary files a/backend/app/routers/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/backend/app/routers/__pycache__/assets.cpython-312.pyc b/backend/app/routers/__pycache__/assets.cpython-312.pyc deleted file mode 100644 index ff8b406..0000000 Binary files a/backend/app/routers/__pycache__/assets.cpython-312.pyc and /dev/null differ diff --git a/backend/app/routers/__pycache__/auth.cpython-312.pyc b/backend/app/routers/__pycache__/auth.cpython-312.pyc deleted file mode 100644 index 1daf7d8..0000000 Binary files a/backend/app/routers/__pycache__/auth.cpython-312.pyc and /dev/null differ diff --git a/backend/app/routers/__pycache__/users.cpython-312.pyc b/backend/app/routers/__pycache__/users.cpython-312.pyc deleted file mode 100644 index ae2f7be..0000000 Binary files a/backend/app/routers/__pycache__/users.cpython-312.pyc and /dev/null differ diff --git a/backend/app/routers/__pycache__/worlds.cpython-312.pyc b/backend/app/routers/__pycache__/worlds.cpython-312.pyc deleted file mode 100644 index 03201b6..0000000 Binary files a/backend/app/routers/__pycache__/worlds.cpython-312.pyc and /dev/null differ diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..8dddf44 --- /dev/null +++ b/project.godot @@ -0,0 +1,24 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; but it can also be edited by hand. + +config_version=5 + +[application] + +config/name="AGP-Game" +run/main_scene="res://scenes/main_menu.tscn" +config/features=PackedStringArray("4.6.2") + +[autoload] + +[display] + +window/size/viewport_width=1920 +window/size/viewport_height=1080 +window/stretch/mode="canvas_items" + +[rendering] + +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/scenes/.gitkeep b/scenes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/scenes/main_menu.tscn b/scenes/main_menu.tscn new file mode 100644 index 0000000..dd4847f --- /dev/null +++ b/scenes/main_menu.tscn @@ -0,0 +1,43 @@ +[gd_scene load_steps=2 format=3] + +[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_main"] + +[node name="MainMenu" type="Control"] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_main") + +[node name="CenterContainer" type="CenterContainer" parent="."] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] +layout_mode = 1 +theme_override_constants/separation = 16 +size_flags_horizontal = 4 + +[node name="TitleLabel" type="Label" parent="CenterContainer/VBoxContainer"] +layout_mode = 1 +text = "AGP Game" +horizontal_alignment = 1 +theme_override_font_sizes/font_size = 72 + +[node name="PlayButton" type="Button" parent="CenterContainer/VBoxContainer"] +layout_mode = 1 +text = "Play" +size_flags_horizontal = 4 + +[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"] +layout_mode = 1 +text = "Quit" +size_flags_horizontal = 4 + +[connection signal="pressed" from="CenterContainer/VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"] +[connection signal="pressed" from="CenterContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"] diff --git a/scripts/.gitkeep b/scripts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/scripts/main_menu.gd b/scripts/main_menu.gd new file mode 100644 index 0000000..aa4efc5 --- /dev/null +++ b/scripts/main_menu.gd @@ -0,0 +1,14 @@ +extends Control + + +func _ready(): + pass + + +func _on_play_button_pressed(): + # No gameplay scene exists yet — wire this to the real scene once one lands. + print("Play pressed — no gameplay scene yet") + + +func _on_quit_button_pressed(): + get_tree().quit()