From 4f5ad345ad397e3189642caf6cac5e1d6704cbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Wed, 9 Apr 2025 18:45:11 +0200 Subject: [PATCH] chore: clock background is now an image --- scenes/clock/clock.tscn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scenes/clock/clock.tscn b/scenes/clock/clock.tscn index 110635b..5caf6fc 100644 --- a/scenes/clock/clock.tscn +++ b/scenes/clock/clock.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=4 format=3 uid="uid://bj5ptaniasaaj"] +[gd_scene load_steps=5 format=3 uid="uid://bj5ptaniasaaj"] [ext_resource type="Script" uid="uid://ddsdlhbepjrm3" path="res://scenes/clock/day.gd" id="1_4o2gw"] [ext_resource type="Script" uid="uid://catrd7ir3ekyj" path="res://scenes/clock/clock_window.gd" id="1_yxh3l"] [ext_resource type="Script" uid="uid://drnne01ksnlqv" path="res://scenes/clock/clock.gd" id="2_ngmfe"] +[ext_resource type="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://assets/sprites/icon.svg" id="4_hf0ru"] [node name="Clock" type="Window"] transparent_bg = true @@ -12,10 +13,11 @@ borderless = true transparent = true script = ExtResource("1_yxh3l") -[node name="ColorRect" type="ColorRect" parent="."] +[node name="TextureRect" type="TextureRect" parent="."] offset_right = 200.0 offset_bottom = 100.0 -color = Color(0, 0.5, 0.2, 1) +texture = ExtResource("4_hf0ru") +expand_mode = 1 [node name="Clock" type="Label" parent="."] offset_right = 146.0