This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Elements/SquareWindow.tscn

99 lines
3.4 KiB
Text
Raw Permalink Normal View History

2023-02-26 20:02:24 +01:00
[gd_scene load_steps=11 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]
2023-02-26 18:31:57 +01:00
[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]
2023-02-26 20:02:24 +01:00
[ext_resource path="res://Assets/windows/terminal.png" type="Texture" id=7]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 555, 60 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 38.75, 38.75 )
2023-02-26 18:31:57 +01:00
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 6 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
2023-02-26 19:09:57 +01:00
"loop": false,
2023-02-26 18:31:57 +01:00
"name": "default",
2023-02-26 20:02:24 +01:00
"speed": 0.6
2023-02-26 18:31:57 +01:00
} ]
[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 )
2023-02-26 18:31:57 +01:00
[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 )
2023-02-26 20:02:24 +01:00
[node name="Window3" type="Sprite" parent="."]
visible = false
position = Vector2( 56.9999, -12 )
scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 7 )
[node name="Area2D" type="Area2D" parent="Window3"]
position = Vector2( 487.5, -490 )
script = ExtResource( 2 )
[node name="Header" type="CollisionShape2D" parent="Window3/Area2D"]
position = Vector2( -489.5, 171 )
scale = Vector2( 0.999999, 0.999999 )
shape = SubResource( 1 )
[node name="Area2D2" type="Area2D" parent="Window3"]
script = ExtResource( 2 )
[node name="CloseButton" type="CollisionShape2D" parent="Window3/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"]
2023-02-26 18:31:57 +01:00
[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"]
2023-02-26 20:02:24 +01:00
[connection signal="input_event" from="Window3/Area2D" to="Window3/Area2D" method="_on_Area2D_input_event"]
[connection signal="input_event" from="Window3/Area2D2" to="Window/Area2D" method="_on_Area2D2_input_event"]