-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBrokenChest.tscn
More file actions
101 lines (82 loc) · 2.64 KB
/
BrokenChest.tscn
File metadata and controls
101 lines (82 loc) · 2.64 KB
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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://res/chest_piece_3.png" type="Texture" id=1]
[ext_resource path="res://res/chest_piece_2.png" type="Texture" id=2]
[ext_resource path="res://res/chest_piece_1.png" type="Texture" id=3]
[ext_resource path="res://res/chest_piece_4.png" type="Texture" id=4]
[ext_resource path="res://res/chest_break.wav" type="AudioStream" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 30.6338, 8.61581 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 27.6211, 10 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 18.3198, 12.9322 )
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 11.9498, 10 )
[node name="Parts" type="Node2D"]
[node name="Part1" type="RigidBody2D" parent="."]
position = Vector2( 0, -24 )
mass = 0.28
[node name="TextureRect" type="TextureRect" parent="Part1"]
margin_left = -31.7426
margin_top = -9.72602
margin_right = 31.2574
margin_bottom = 11.274
texture = ExtResource( 3 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Part1"]
position = Vector2( -0.736794, -1.90735e-06 )
shape = SubResource( 1 )
[node name="Part2" type="RigidBody2D" parent="."]
position = Vector2( -5, 14 )
mass = 0.38
[node name="TextureRect" type="TextureRect" parent="Part2"]
margin_left = -26.0
margin_top = -14.0
margin_right = 32.0
margin_bottom = 12.0
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Part2"]
position = Vector2( 2.6709, -0.0921021 )
shape = SubResource( 2 )
[node name="Part3" type="RigidBody2D" parent="."]
position = Vector2( -19, -9 )
mass = 0.22
[node name="TextureRect" type="TextureRect" parent="Part3"]
margin_left = -14.0
margin_top = -21.0
margin_right = 22.0
margin_bottom = 24.0
texture = ExtResource( 1 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Part3"]
position = Vector2( 3.13139, 1.5657 )
shape = SubResource( 3 )
[node name="Part4" type="RigidBody2D" parent="."]
position = Vector2( 15, -10 )
mass = 0.24
[node name="TextureRect" type="TextureRect" parent="Part4"]
margin_left = -21.8139
margin_top = -21.7126
margin_right = 13.1861
margin_bottom = 23.2874
texture = ExtResource( 4 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Part4"]
position = Vector2( 0, 2.85509 )
shape = SubResource( 4 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
position = Vector2( 0, -11 )
stream = ExtResource( 5 )