From c8dcff8c054660db88fc81276c51710acbc12add Mon Sep 17 00:00:00 2001 From: Zakarya Date: Fri, 29 Mar 2024 18:17:59 -0700 Subject: [PATCH] More change HUD implementation --- scenes/world.tscn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scenes/world.tscn b/scenes/world.tscn index 60e87cd..21bec92 100644 --- a/scenes/world.tscn +++ b/scenes/world.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=9 format=3 uid="uid://deus4t8mmx6pp"] +[gd_scene load_steps=10 format=3 uid="uid://deus4t8mmx6pp"] [ext_resource type="Script" path="res://scripts/world.gd" id="1_d5cpg"] [ext_resource type="PackedScene" uid="uid://4dsm0l7s6vki" path="res://data/character/character.tscn" id="1_gadv2"] [ext_resource type="Texture2D" uid="uid://vyhureoc5qlp" path="res://textures/world/biome/forest/grass.svg" id="2_xtc31"] +[ext_resource type="PackedScene" uid="uid://vaapoj5q16ko" path="res://data/character/hud.tscn" id="3_f6img"] [ext_resource type="Texture2D" uid="uid://bs880ox7qmqui" path="res://textures/world/biome/desert/sand.svg" id="4_gronf"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_0fcbb"] @@ -25,6 +26,8 @@ script = ExtResource("1_d5cpg") [node name="character" parent="." instance=ExtResource("1_gadv2")] +[node name="hud" parent="character" instance=ExtResource("3_f6img")] + [node name="biomes" type="Node2D" parent="."] z_index = -10