feat(home-button): add HomeButton component for hospital/garden navigation
This commit is contained in:
20
scenes/objects/HomeButton.tscn
Normal file
20
scenes/objects/HomeButton.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cozypaw_homebtn"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/objects/home_button.gd" id="1_homebtn"]
|
||||
|
||||
[node name="HomeButton" type="Node2D"]
|
||||
script = ExtResource("1_homebtn")
|
||||
|
||||
[node name="ButtonBody" type="ColorRect" parent="."]
|
||||
offset_left = -32.0
|
||||
offset_top = -32.0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
color = Color(0.36, 0.70, 0.44, 1)
|
||||
|
||||
[node name="ButtonIcon" type="ColorRect" parent="."]
|
||||
offset_left = -12.0
|
||||
offset_top = -18.0
|
||||
offset_right = 12.0
|
||||
offset_bottom = 6.0
|
||||
color = Color(0.90, 0.88, 0.70, 1)
|
||||
Reference in New Issue
Block a user