Diffstat (limited to 'Block.tscn')
| -rw-r--r-- | Block.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Block.tscn b/Block.tscn new file mode 100644 index 0000000..c5aa4d8 --- /dev/null +++ b/Block.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Block.gd" type="Script" id=1] +[ext_resource path="res://LabelTheme.tres" type="Theme" id=2] + +[node name="Block" type="Node2D"] +script = ExtResource( 1 ) + +[node name="ColorRect" type="ColorRect" parent="."] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_right = 30.0 +margin_bottom = 30.0 +color = Color( 0.823529, 0.517647, 0.517647, 1 ) + +[node name="Label" type="Label" parent="."] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_right = 30.0 +margin_bottom = 30.0 +theme = ExtResource( 2 ) +text = "2" +align = 1 +valign = 1 |