diff options
Diffstat (limited to 'game/microgames/find_window')
-rw-r--r-- | game/microgames/find_window/find_window.gd | 2 | ||||
-rw-r--r-- | game/microgames/find_window/find_window.tscn | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/game/microgames/find_window/find_window.gd b/game/microgames/find_window/find_window.gd index 9d2ca64..6bc6e8e 100644 --- a/game/microgames/find_window/find_window.gd +++ b/game/microgames/find_window/find_window.gd @@ -2,7 +2,7 @@ extends Microgame # Called when the node enters the scene tree for the first time. -func _ready(): +func _microgame_ready(): var windows = $AllWindows.get_children() var max_windows = windows.size() - randi_range(0,2) for i in max_windows: diff --git a/game/microgames/find_window/find_window.tscn b/game/microgames/find_window/find_window.tscn index 6fe7233..b04e6c0 100644 --- a/game/microgames/find_window/find_window.tscn +++ b/game/microgames/find_window/find_window.tscn @@ -1,16 +1,17 @@ -[gd_scene load_steps=7 format=3 uid="uid://b8q2l65pajb3"] +[gd_scene load_steps=7 format=3 uid="uid://cfitfl87k1wu2"] [ext_resource type="Script" path="res://game/microgames/find_window/find_window.gd" id="1_167ws"] [ext_resource type="Texture2D" uid="uid://j0btxfrk2q8k" path="res://game/microgames/find_window/assets/Img_background_windows.png" id="1_w06df"] [ext_resource type="Texture2D" uid="uid://7h0hokgsxon4" path="res://game/microgames/find_window/assets/Img_MSN_namoradinha.png" id="3_ekh6x"] [ext_resource type="Script" path="res://game/microgames/find_window/msn_girlfriend.gd" id="4_ithnb"] -[ext_resource type="PackedScene" uid="uid://dxo3khe6emukf" path="res://game/microgames/find_window/msn_regular.tscn" id="4_t7t3v"] +[ext_resource type="PackedScene" path="res://game/microgames/find_window/msn_regular.tscn" id="4_t7t3v"] [sub_resource type="LabelSettings" id="LabelSettings_csx47"] font_color = Color(0.443137, 0.443137, 0.443137, 1) [node name="FindWindow" type="Node"] script = ExtResource("1_167ws") +win_on_timeout = false [node name="ImgBackgroundWindows" type="Sprite2D" parent="."] position = Vector2(578, 326) |