summaryrefslogtreecommitdiff
path: root/reusable_scenes/number_node.tscn
blob: 1c642346f455225d1e5f91e9884661bd71c3d8e7 (plain)
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
[gd_scene load_steps=3 format=3 uid="uid://dfapxkgv6muc1"]

[ext_resource type="Script" path="res://scripts/number_system/NumberNode.gd" id="1_5dnvb"]
[ext_resource type="Texture2D" uid="uid://c5agrb3i1fdt5" path="res://assets/images/circle.png" id="2_iuhlk"]

[node name="NumberNode" type="Node2D" node_paths=PackedStringArray("sprite", "label")]
script = ExtResource("1_5dnvb")
sprite = NodePath("Sprite2D")
label = NodePath("Label")

[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(0, 0, 0, 1)
scale = Vector2(0.08, 0.08)
texture = ExtResource("2_iuhlk")

[node name="Label" type="Label" parent="."]
custom_minimum_size = Vector2(40, 30)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -0.5
offset_top = -11.5
offset_right = 0.5
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "1"
horizontal_alignment = 1
vertical_alignment = 1