-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathColorBlock.tscn
More file actions
42 lines (34 loc) · 1.18 KB
/
ColorBlock.tscn
File metadata and controls
42 lines (34 loc) · 1.18 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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://config/Block_Config.tres" type="Resource" id=1]
[ext_resource path="res://ColorBlock.gd" type="Script" id=2]
[ext_resource path="res://Xolonium-Regular.ttf" type="DynamicFontData" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 25, 25 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 3 )
[node name="ColorBlock" type="Area2D"]
collision_mask = 0
script = ExtResource( 2 )
blockConfig = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -1, -1 )
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.78125, 0.78125 )
[node name="Label" type="Label" parent="Sprite"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -50.25
margin_top = -20.0
margin_right = 50.25
margin_bottom = 20.0
custom_fonts/font = SubResource( 2 )
align = 2
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="viewport_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_viewport_exited"]