diff options
-rw-r--r-- | main.tscn | 3 | ||||
-rw-r--r-- | project.godot | 9 | ||||
-rw-r--r-- | scenes/closable_window.gd | 5 | ||||
-rw-r--r-- | scenes/main.tscn | 25 | ||||
-rw-r--r-- | scenes/window_mvp.tscn | 14 | ||||
-rw-r--r-- | scenes/window_mvp2.tscn | 14 | ||||
-rw-r--r-- | taytay/IMG_5199.jpeg | bin | 0 -> 2492909 bytes | |||
-rw-r--r-- | taytay/IMG_5199.jpeg.import | 34 | ||||
-rw-r--r-- | taytay/IMG_5428.jpeg | bin | 0 -> 3045617 bytes | |||
-rw-r--r-- | taytay/IMG_5428.jpeg.import | 34 |
10 files changed, 134 insertions, 4 deletions
diff --git a/main.tscn b/main.tscn deleted file mode 100644 index 160bb56..0000000 --- a/main.tscn +++ /dev/null @@ -1,3 +0,0 @@ -[gd_scene format=3 uid="uid://d06d1vihf2oqp"] - -[node name="Node2D" type="Node2D"] diff --git a/project.godot b/project.godot index 4fca336..9f1d84d 100644 --- a/project.godot +++ b/project.godot @@ -11,10 +11,17 @@ config_version=5 [application] config/name="Overstimulator Oversimulator 2" -run/main_scene="res://main.tscn" +run/main_scene="res://scenes/main.tscn" config/features=PackedStringArray("4.3", "GL Compatibility") config/icon="res://icon.svg" +[display] + +window/size/viewport_width=1280 +window/size/viewport_height=720 +window/subwindows/embed_subwindows=false +window/stretch/mode="canvas_items" + [rendering] renderer/rendering_method="gl_compatibility" diff --git a/scenes/closable_window.gd b/scenes/closable_window.gd new file mode 100644 index 0000000..97e1e03 --- /dev/null +++ b/scenes/closable_window.gd @@ -0,0 +1,5 @@ +extends Window + + +func _on_close_requested() -> void: + queue_free() diff --git a/scenes/main.tscn b/scenes/main.tscn new file mode 100644 index 0000000..5a4640f --- /dev/null +++ b/scenes/main.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=4 format=3 uid="uid://d06d1vihf2oqp"] + +[ext_resource type="Texture2D" uid="uid://b03ygtrwha22g" path="res://taytay/IMG_5199.jpeg" id="1_o2s48"] +[ext_resource type="Script" path="res://scenes/closable_window.gd" id="2_2mdl3"] +[ext_resource type="PackedScene" uid="uid://baukkysebggup" path="res://scenes/window_mvp.tscn" id="2_ls66h"] + +[node name="Node2D" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +position = Vector2(636.307, 381.672) +scale = Vector2(0.293995, 0.217148) +texture = ExtResource("1_o2s48") + +[node name="Window" type="Window" parent="."] +title = "hiiiii" +position = Vector2i(1710, 1112) +size = Vector2i(1280, 720) +content_scale_size = Vector2i(1280, 720) +content_scale_mode = 1 +content_scale_aspect = 1 +script = ExtResource("2_2mdl3") + +[node name="WindowMvp" parent="Window" instance=ExtResource("2_ls66h")] + +[connection signal="close_requested" from="Window" to="Window" method="_on_close_requested"] diff --git a/scenes/window_mvp.tscn b/scenes/window_mvp.tscn new file mode 100644 index 0000000..da707d8 --- /dev/null +++ b/scenes/window_mvp.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=2 format=3 uid="uid://baukkysebggup"] + +[ext_resource type="Texture2D" uid="uid://ckb8ord5slhwf" path="res://taytay/IMG_5428.jpeg" id="1_87q5a"] + +[node name="WindowMvp" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +position = Vector2(415, 311) +rotation = 1.39626 +scale = Vector2(0.0696861, 0.113579) +texture = ExtResource("1_87q5a") + +[node name="Camera2D" type="Camera2D" parent="."] +anchor_mode = 0 diff --git a/scenes/window_mvp2.tscn b/scenes/window_mvp2.tscn new file mode 100644 index 0000000..08b5b59 --- /dev/null +++ b/scenes/window_mvp2.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=2 format=3 uid="uid://dtp5im4xmo5lh"] + +[ext_resource type="Texture2D" uid="uid://ckb8ord5slhwf" path="res://taytay/IMG_5428.jpeg" id="1_u7ueo"] + +[node name="WindowMvp2" type="Window"] +size = Vector2i(700, 700) + +[node name="Sprite2D2" type="Sprite2D" parent="."] + +[node name="Sprite2D" type="Sprite2D" parent="Sprite2D2"] +position = Vector2(400, 400) +rotation = 1.5708 +scale = Vector2(0.14, 0.14) +texture = ExtResource("1_u7ueo") diff --git a/taytay/IMG_5199.jpeg b/taytay/IMG_5199.jpeg Binary files differnew file mode 100644 index 0000000..4cf025e --- /dev/null +++ b/taytay/IMG_5199.jpeg diff --git a/taytay/IMG_5199.jpeg.import b/taytay/IMG_5199.jpeg.import new file mode 100644 index 0000000..aad6d58 --- /dev/null +++ b/taytay/IMG_5199.jpeg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b03ygtrwha22g" +path="res://.godot/imported/IMG_5199.jpeg-212420586659ef8fd8b698b49f5607d9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://taytay/IMG_5199.jpeg" +dest_files=["res://.godot/imported/IMG_5199.jpeg-212420586659ef8fd8b698b49f5607d9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/taytay/IMG_5428.jpeg b/taytay/IMG_5428.jpeg Binary files differnew file mode 100644 index 0000000..22e3319 --- /dev/null +++ b/taytay/IMG_5428.jpeg diff --git a/taytay/IMG_5428.jpeg.import b/taytay/IMG_5428.jpeg.import new file mode 100644 index 0000000..a7a6f49 --- /dev/null +++ b/taytay/IMG_5428.jpeg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckb8ord5slhwf" +path="res://.godot/imported/IMG_5428.jpeg-6abb751b020dd5cfd01b4ffe767d4c55.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://taytay/IMG_5428.jpeg" +dest_files=["res://.godot/imported/IMG_5428.jpeg-6abb751b020dd5cfd01b4ffe767d4c55.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 |