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
[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