-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTrashBlock.tscn
37 lines (30 loc) · 1.07 KB
/
TrashBlock.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/trash.png" type="Texture" id=1]
[ext_resource path="res://assets/fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 137.817, 41.5244 )
[sub_resource type="DynamicFont" id=2]
size = 64
outline_size = 1
font_data = ExtResource( 2 )
[node name="Trash" type="Area2D"]
collision_layer = 2
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 7.96684, -43.3483 )
scale = Vector2( 1.5908, 1.5908 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Label" type="Label" parent="."]
margin_left = -98.551
margin_top = -44.0
margin_right = 96.449
margin_bottom = 34.0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Trash"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="area_entered" from="." to="." method="_on_Area2D_area_entered"]
[connection signal="area_exited" from="." to="." method="_on_Area2D_area_exited"]