summaryrefslogtreecommitdiff
path: root/Reusable Scenes/number_node.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Reusable Scenes/number_node.tscn')
-rw-r--r--Reusable Scenes/number_node.tscn21
1 files changed, 15 insertions, 6 deletions
diff --git a/Reusable Scenes/number_node.tscn b/Reusable Scenes/number_node.tscn
index a10429b..37472df 100644
--- a/Reusable Scenes/number_node.tscn
+++ b/Reusable Scenes/number_node.tscn
@@ -1,8 +1,8 @@
[gd_scene load_steps=8 format=3 uid="uid://ccvoi0qmvlxmj"]
[ext_resource type="Script" path="res://Scripts/NumberNode.gd" id="1_7p1bu"]
-[ext_resource type="Texture2D" uid="uid://cckv0u0uvmp6p" path="res://icon.svg" id="2_d46p4"]
[ext_resource type="Script" path="res://Scripts/NumberArea.gd" id="3_2viuw"]
+[ext_resource type="Texture2D" uid="uid://4kqj3gk42j8w" path="res://Assets/Visuals/circle.png" id="3_bqdxd"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ld6aj"]
size = Vector2(66, 66)
@@ -16,10 +16,11 @@ radius = 100.38
[sub_resource type="CircleShape2D" id="CircleShape2D_vk134"]
radius = 120.0
-[node name="NumberNode" type="Node2D" node_paths=PackedStringArray("label", "sprite", "sprite_modifier")]
+[node name="NumberNode" type="Node2D" node_paths=PackedStringArray("label", "sprite", "shadow_sprite", "sprite_modifier")]
script = ExtResource("1_7p1bu")
label = NodePath("Label")
sprite = NodePath("Sprite2D")
+shadow_sprite = NodePath("SpriteShadow")
sprite_modifier = NodePath("Sprite2D2")
[node name="NumberArea2D" type="Area2D" parent="."]
@@ -46,16 +47,24 @@ shape = SubResource("CircleShape2D_vk134")
target_position = Vector2(0, 0)
collide_with_areas = true
+[node name="SpriteShadow" type="Sprite2D" parent="."]
+modulate = Color(0, 0, 0, 0.564706)
+z_index = -2
+z_as_relative = false
+position = Vector2(-5, 5)
+scale = Vector2(0.08, 0.08)
+texture = ExtResource("3_bqdxd")
+
[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(0, 0, 0, 1)
-scale = Vector2(0.3, 0.3)
-texture = ExtResource("2_d46p4")
+scale = Vector2(0.08, 0.08)
+texture = ExtResource("3_bqdxd")
[node name="Sprite2D2" type="Sprite2D" parent="."]
modulate = Color(1, 0, 0, 1)
position = Vector2(16, -17)
-scale = Vector2(0.109375, 0.11)
-texture = ExtResource("2_d46p4")
+scale = Vector2(0.02, 0.02)
+texture = ExtResource("3_bqdxd")
[node name="Label" type="Label" parent="."]
anchors_preset = 8