-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tscn
153 lines (127 loc) · 3.63 KB
/
Main.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[gd_scene load_steps=9 format=2]
[ext_resource path="res://0x72_16x16RobotTileset.v1.png" type="Texture" id=1]
[ext_resource path="res://Robot 1.gd" type="Script" id=2]
[ext_resource path="res://Animation.gd" type="Script" id=3]
[ext_resource path="res://TileSet.tres" type="TileSet" id=4]
[sub_resource type="AtlasTexture" id=1]
flags = 0
atlas = ExtResource( 1 )
region = Rect2( 208, 16, 224, 32 )
margin = Rect2( 0, 0, 0, 0 )
filter_clip = false
[sub_resource type="Animation" id=2]
resource_name = "idle"
length = 1.0
loop = true
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0, 3, 0 ]
}
[sub_resource type="Animation" id=3]
resource_name = "walk"
length = 2.0
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 5, 12 ]
}
[sub_resource type="Animation" id=4]
resource_name = "idle"
length = 1.0
loop = true
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0, 4 ]
}
[node name="Node2D" type="Node2D" index="0"]
[node name="Wall_1x1" type="Sprite" parent="." index="0"]
position = Vector2( 64, -32 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 0, 16, 16 )
_sections_unfolded = [ "Offset", "Region" ]
[node name="Wall_3x3" type="Sprite" parent="." index="1"]
position = Vector2( 64, 0 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 16, 48, 48 )
_sections_unfolded = [ "Region" ]
[node name="Robot_1" type="Sprite" parent="." index="2"]
position = Vector2( 112, 112 )
texture = SubResource( 1 )
hframes = 14
script = ExtResource( 2 )
_sections_unfolded = [ "Animation" ]
[node name="Animation" type="AnimationPlayer" parent="Robot_1" index="0"]
root_node = NodePath("..")
autoplay = "idle"
playback_process_mode = 1
playback_default_blend_time = 0.0
playback_speed = 1.0
anims/idle = SubResource( 2 )
anims/walk = SubResource( 3 )
blend_times = [ ]
script = ExtResource( 3 )
_sections_unfolded = [ "Pause", "Playback Options" ]
[node name="Robot_2" type="Sprite" parent="." index="3"]
position = Vector2( 96, 112 )
texture = SubResource( 1 )
hframes = 14
script = ExtResource( 2 )
_sections_unfolded = [ "Animation" ]
[node name="Animation" type="AnimationPlayer" parent="Robot_2" index="0"]
root_node = NodePath("..")
autoplay = "idle"
playback_process_mode = 1
playback_default_blend_time = 0.0
playback_speed = 1.0
anims/idle = SubResource( 4 )
blend_times = [ ]
script = ExtResource( 3 )
_sections_unfolded = [ "Pause", "Playback Options" ]
[node name="TileMap" type="TileMap" parent="." index="4"]
mode = 0
tile_set = ExtResource( 4 )
cell_size = Vector2( 16, 16 )
cell_quadrant_size = 16
cell_custom_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
cell_half_offset = 2
cell_tile_origin = 0
cell_y_sort = false
cell_clip_uv = false
collision_use_kinematic = false
collision_friction = 1.0
collision_bounce = 0.0
collision_layer = 1
collision_mask = 1
occluder_light_mask = 1
format = 1
tile_data = PoolIntArray( 131072, 8, 0, 131073, 0, 0, 524290, 0, 0, 524291, 0, 0 )
_sections_unfolded = [ "Cell", "Collision" ]