-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRequest.tscn
47 lines (41 loc) · 1.34 KB
/
Request.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/Isometric/astronaut_SW.png" type="Texture" id=1]
[ext_resource path="res://assets/Isometric/astronaut_NE.png" type="Texture" id=2]
[ext_resource path="res://assets/Isometric/astronaut_NW.png" type="Texture" id=3]
[ext_resource path="res://assets/Isometric/astronaut_SE.png" type="Texture" id=4]
[ext_resource path="res://Request.gd" type="Script" id=5]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 4 ) ],
"loop": true,
"name": "SE",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "NE",
"speed": 5.0
}, {
"frames": [ ExtResource( 1 ) ],
"loop": true,
"name": "SW",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "NW",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 20.18, 34.173 )
[node name="Request" type="Area2D"]
scale = Vector2( 0.4, 0.4 )
script = ExtResource( 5 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
self_modulate = Color( 1, 1, 1, 0.996078 )
frames = SubResource( 1 )
animation = "NE"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[connection signal="body_entered" from="." to="." method="_on_Request_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_Request_body_exited"]