-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathman.tscn
77 lines (70 loc) · 2.18 KB
/
man.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[gd_scene load_steps=9 format=3 uid="uid://chxy6plg4im7s"]
[ext_resource type="Script" path="res://man.gd" id="1_caxo3"]
[ext_resource type="Texture2D" uid="uid://bsgk1dphbcxtk" path="res://Characters/man.png" id="1_efqi0"]
[ext_resource type="Texture2D" uid="uid://chb7fc71rtjdj" path="res://Characters/man_fall.png" id="2_b2i6r"]
[ext_resource type="Texture2D" uid="uid://ccjf43i562uod" path="res://Characters/man_down.png" id="3_mavye"]
[ext_resource type="Texture2D" uid="uid://cdvmufunqgh16" path="res://Characters/man_point.png" id="4_ktpq7"]
[ext_resource type="Texture2D" uid="uid://dafuo6nn8ymko" path="res://Characters/man_walk1.png" id="4_ut8jj"]
[ext_resource type="Texture2D" uid="uid://f1k6sde6leh8" path="res://Characters/man_walk2.png" id="5_68kyk"]
[sub_resource type="SpriteFrames" id="SpriteFrames_7rg7k"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_efqi0")
}, {
"duration": 1.0,
"texture": ExtResource("2_b2i6r")
}, {
"duration": 1.0,
"texture": ExtResource("3_mavye")
}],
"loop": false,
"name": &"fall",
"speed": 3.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_efqi0")
}, {
"duration": 1.0,
"texture": ExtResource("4_ktpq7")
}],
"loop": false,
"name": &"point",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_efqi0")
}],
"loop": true,
"name": &"stop",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_ut8jj")
}, {
"duration": 1.0,
"texture": ExtResource("5_68kyk")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[node name="Man" type="Node2D"]
texture_filter = 1
script = ExtResource("1_caxo3")
metadata/_edit_group_ = true
[node name="Marker2D" type="Marker2D" parent="."]
position = Vector2(0, -11)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Marker2D"]
position = Vector2(-11, 0)
scale = Vector2(1.5, 1.5)
sprite_frames = SubResource("SpriteFrames_7rg7k")
animation = &"fall"
autoplay = "walk"
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="Marker2D"]
position = Vector2(-11, 0)
scale = Vector2(1.1, 1.1)
[connection signal="screen_exited" from="Marker2D/VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]