-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlevel3.tscn
33 lines (25 loc) · 938 Bytes
/
level3.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://level3.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="CapsuleShape2D" id=1]
radius = 12.0
height = 16.0
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 2.25
} ]
[node name="level3" type="Node2D"]
script = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
scale = Vector2( 0.158405, 0.162055 )
frames = SubResource( 2 )
playing = true
flip_h = true
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]