From cdcc23c50a9ae3604235cc773fc31d717d1b62c2 Mon Sep 17 00:00:00 2001 From: MartinOpat Date: Sat, 22 Nov 2025 22:57:26 +0100 Subject: [PATCH] Initial setup w. basic scene(s) --- evolve-die-repeat/.editorconfig | 4 +++ evolve-die-repeat/.gitattributes | 2 ++ evolve-die-repeat/.gitignore | 3 ++ evolve-die-repeat/icon.svg | 1 + evolve-die-repeat/icon.svg.import | 43 +++++++++++++++++++++++++++ evolve-die-repeat/main_menu.gd | 5 ++++ evolve-die-repeat/main_menu.gd.uid | 1 + evolve-die-repeat/main_menu.tscn | 36 ++++++++++++++++++++++ evolve-die-repeat/molecular_stag.tscn | 8 +++++ evolve-die-repeat/project.godot | 16 ++++++++++ 10 files changed, 119 insertions(+) create mode 100644 evolve-die-repeat/.editorconfig create mode 100644 evolve-die-repeat/.gitattributes create mode 100644 evolve-die-repeat/.gitignore create mode 100644 evolve-die-repeat/icon.svg create mode 100644 evolve-die-repeat/icon.svg.import create mode 100644 evolve-die-repeat/main_menu.gd create mode 100644 evolve-die-repeat/main_menu.gd.uid create mode 100644 evolve-die-repeat/main_menu.tscn create mode 100644 evolve-die-repeat/molecular_stag.tscn create mode 100644 evolve-die-repeat/project.godot diff --git a/evolve-die-repeat/.editorconfig b/evolve-die-repeat/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/evolve-die-repeat/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/evolve-die-repeat/.gitattributes b/evolve-die-repeat/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/evolve-die-repeat/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/evolve-die-repeat/.gitignore b/evolve-die-repeat/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/evolve-die-repeat/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/evolve-die-repeat/icon.svg b/evolve-die-repeat/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/evolve-die-repeat/icon.svg @@ -0,0 +1 @@ + diff --git a/evolve-die-repeat/icon.svg.import b/evolve-die-repeat/icon.svg.import new file mode 100644 index 0000000..2159cf4 --- /dev/null +++ b/evolve-die-repeat/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://uqy71st3rbdr" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/evolve-die-repeat/main_menu.gd b/evolve-die-repeat/main_menu.gd new file mode 100644 index 0000000..804c7e8 --- /dev/null +++ b/evolve-die-repeat/main_menu.gd @@ -0,0 +1,5 @@ +extends Control + + +func _on_play_button_pressed() -> void: + get_tree().change_scene_to_file("res://molecular_stag.tscn") diff --git a/evolve-die-repeat/main_menu.gd.uid b/evolve-die-repeat/main_menu.gd.uid new file mode 100644 index 0000000..c1ec6b8 --- /dev/null +++ b/evolve-die-repeat/main_menu.gd.uid @@ -0,0 +1 @@ +uid://dxc66bci2ivrj diff --git a/evolve-die-repeat/main_menu.tscn b/evolve-die-repeat/main_menu.tscn new file mode 100644 index 0000000..dbcbb34 --- /dev/null +++ b/evolve-die-repeat/main_menu.tscn @@ -0,0 +1,36 @@ +[gd_scene load_steps=3 format=3 uid="uid://drgv154ei1vrl"] + +[ext_resource type="Script" uid="uid://dxc66bci2ivrj" path="res://main_menu.gd" id="1_06t4h"] + +[sub_resource type="LabelSettings" id="LabelSettings_rhts7"] +font_size = 64 + +[node name="MainMenu" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_06t4h") + +[node name="PlayButton" type="Button" parent="."] +layout_mode = 0 +offset_left = 448.0 +offset_top = 256.0 +offset_right = 768.0 +offset_bottom = 314.0 +text = "Play" + +[node name="MainMenuText" type="Label" parent="."] +layout_mode = 0 +offset_left = 320.0 +offset_top = 32.0 +offset_right = 904.0 +offset_bottom = 151.0 +text = "The Main Menu" +label_settings = SubResource("LabelSettings_rhts7") +horizontal_alignment = 1 +vertical_alignment = 1 + +[connection signal="pressed" from="PlayButton" to="." method="_on_play_button_pressed"] diff --git a/evolve-die-repeat/molecular_stag.tscn b/evolve-die-repeat/molecular_stag.tscn new file mode 100644 index 0000000..70a7124 --- /dev/null +++ b/evolve-die-repeat/molecular_stag.tscn @@ -0,0 +1,8 @@ +[gd_scene format=3 uid="uid://b55w56d4twno1"] + +[node name="MolecularStag" type="Node2D"] + +[node name="Label" type="Label" parent="."] +offset_right = 40.0 +offset_bottom = 23.0 +text = "Debug: You made it into the game!" diff --git a/evolve-die-repeat/project.godot b/evolve-die-repeat/project.godot new file mode 100644 index 0000000..f9749c6 --- /dev/null +++ b/evolve-die-repeat/project.godot @@ -0,0 +1,16 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="EvolveDieRepeat" +run/main_scene="uid://drgv154ei1vrl" +config/features=PackedStringArray("4.5", "Forward Plus") +config/icon="res://icon.svg"