diff options
author | altaf-creator <dev@altafcreator.com> | 2024-04-14 23:00:45 +0700 |
---|---|---|
committer | altaf-creator <dev@altafcreator.com> | 2024-04-14 23:00:45 +0700 |
commit | f1b4d6034c937c89b2750bc209684a4e19896177 (patch) | |
tree | f91731656ff901e458ab504b8e8e33fb06e67c0b /Reusable Scenes | |
parent | 21d3893b6b1c1ffb2d9611bce67568e713161b3d (diff) |
Art overhaul
Diffstat (limited to 'Reusable Scenes')
-rw-r--r-- | Reusable Scenes/number_node.tscn | 21 |
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 |