-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwinscreen.tscn
33 lines (25 loc) · 1001 Bytes
/
winscreen.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[gd_scene load_steps=6 format=2]
[ext_resource path="res://winscreen.cs" type="Script" id=1]
[ext_resource path="res://miscs/portal1.png" type="Texture" id=2]
[ext_resource path="res://miscs/portal2.png" type="Texture" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 10, 13.5 )
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 2.25
} ]
[node name="winscreen" type="Node2D"]
script = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 0, -3.5 )
shape = SubResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 1.19209e-07, -3 )
scale = Vector2( 0.122388, 0.10356 )
frames = SubResource( 2 )
playing = true
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]