summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/main.tscn')
-rw-r--r--scenes/main.tscn25
1 files changed, 12 insertions, 13 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn
index 5a4640f..32b0540 100644
--- a/scenes/main.tscn
+++ b/scenes/main.tscn
@@ -1,25 +1,24 @@
-[gd_scene load_steps=4 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/closable_window.gd" id="2_2mdl3"]
-[ext_resource type="PackedScene" uid="uid://baukkysebggup" path="res://scenes/window_mvp.tscn" id="2_ls66h"]
+[ext_resource type="Script" path="res://scenes/main.gd" id="1_y7a0r"]
[node name="Node2D" type="Node2D"]
+script = ExtResource("1_y7a0r")
[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="Score" type="Label" parent="."]
+offset_top = 2.0
+offset_right = 83.0
+offset_bottom = 25.0
+text = "Net worth: $"
-[node name="WindowMvp" parent="Window" instance=ExtResource("2_ls66h")]
+[node name="Microgame spawn timer" type="Timer" parent="."]
+wait_time = 10.0
+autostart = true
-[connection signal="close_requested" from="Window" to="Window" method="_on_close_requested"]
+[connection signal="timeout" from="Microgame spawn timer" to="." method="_on_microgame_spawn_timer_timeout"]