diff options
-rw-r--r-- | scenes/main.gd | 11 | ||||
-rw-r--r-- | scenes/main.tscn | 20 |
2 files changed, 1 insertions, 30 deletions
diff --git a/scenes/main.gd b/scenes/main.gd deleted file mode 100644 index 32db421..0000000 --- a/scenes/main.gd +++ /dev/null @@ -1,11 +0,0 @@ -extends Node2D - - -# Called when the node enters the scene tree for the first time. -func _ready() -> void: - print(DisplayServer.screen_get_size()) - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta: float) -> void: - pass diff --git a/scenes/main.tscn b/scenes/main.tscn index c21bfa1..aff1610 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,15 +1,9 @@ -[gd_scene load_steps=6 format=3 uid="uid://d06d1vihf2oqp"] +[gd_scene load_steps=3 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/main.gd" id="1_y7a0r"] [ext_resource type="PackedScene" uid="uid://baukkysebggup" path="res://scenes/window_mvp.tscn" id="2_ls66h"] -[ext_resource type="PackedScene" uid="uid://bpf7k2l4n4uph" path="res://scenes/window_mvp2.tscn" id="3_gubgd"] - -[sub_resource type="ViewportTexture" id="ViewportTexture_fjbd8"] -viewport_path = NodePath("Window/SubViewport") [node name="Node2D" type="Node2D"] -script = ExtResource("1_y7a0r") [node name="Sprite2D" type="Sprite2D" parent="."] position = Vector2(636.307, 381.672) @@ -24,16 +18,4 @@ content_scale_size = Vector2i(1280, 720) content_scale_mode = 1 content_scale_aspect = 1 -[node name="Sprite2D" type="Sprite2D" parent="Window"] -position = Vector2(57.35, 243.52) -texture = SubResource("ViewportTexture_fjbd8") - -[node name="SubViewport" type="SubViewport" parent="Window"] - -[node name="WindowMvp" parent="Window/SubViewport" instance=ExtResource("2_ls66h")] -visible = false - [node name="WindowMvp" parent="Window" instance=ExtResource("2_ls66h")] - -[node name="WindowMvp2" parent="." instance=ExtResource("3_gubgd")] -position = Vector2i(0, 36) |