73 lines
2.5 KiB
Text
Executable file
73 lines
2.5 KiB
Text
Executable file
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://Assets/windows/folder_square.png" type="Texture" id=1]
|
|
[ext_resource path="res://Elements/Scripts/WindowHeader.gd" type="Script" id=2]
|
|
[ext_resource path="res://Assets/warning2/1.png" type="Texture" id=3]
|
|
[ext_resource path="res://Assets/warning2/2.png" type="Texture" id=4]
|
|
[ext_resource path="res://Assets/warning2/3.png" type="Texture" id=5]
|
|
[ext_resource path="res://Assets/warning2/0.png" type="Texture" id=6]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 555, 60 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 38.75, 38.75 )
|
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 6 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
|
|
"loop": false,
|
|
"name": "default",
|
|
"speed": 1.0
|
|
} ]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
position = Vector2( 312, 248 )
|
|
|
|
[node name="Window" type="Sprite" parent="."]
|
|
scale = Vector2( 0.3, 0.3 )
|
|
z_index = -3
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="Window"]
|
|
position = Vector2( 487.5, -490 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Header" type="CollisionShape2D" parent="Window/Area2D"]
|
|
position = Vector2( -487.5, 2.5 )
|
|
scale = Vector2( 0.999999, 0.999999 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Area2D2" type="Area2D" parent="Window"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CloseButton" type="CollisionShape2D" parent="Window/Area2D2"]
|
|
position = Vector2( 486.25, -486.25 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Window2" type="AnimatedSprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 56, -12 )
|
|
scale = Vector2( 0.4, 0.4 )
|
|
frames = SubResource( 3 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="Window2"]
|
|
position = Vector2( 487.5, -490 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Header" type="CollisionShape2D" parent="Window2/Area2D"]
|
|
position = Vector2( -489.5, 171 )
|
|
scale = Vector2( 0.999999, 0.999999 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Area2D2" type="Area2D" parent="Window2"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CloseButton" type="CollisionShape2D" parent="Window2/Area2D2"]
|
|
position = Vector2( 488, -321 )
|
|
shape = SubResource( 2 )
|
|
|
|
[connection signal="input_event" from="Window/Area2D" to="Window/Area2D" method="_on_Area2D_input_event"]
|
|
[connection signal="input_event" from="Window/Area2D2" to="Window/Area2D" method="_on_Area2D2_input_event"]
|
|
[connection signal="input_event" from="Window2/Area2D" to="Window2/Area2D" method="_on_Area2D_input_event"]
|
|
[connection signal="input_event" from="Window2/Area2D2" to="Window/Area2D" method="_on_Area2D2_input_event"]
|