[gd_scene load_steps=4 format=3 uid="uid://dkmnvye1y33d7"] [ext_resource type="Texture2D" uid="uid://b10c1776j6j60" path="res://assets/icon.svg" id="2_6hwax"] [ext_resource type="Script" path="res://scripts/character.gd" id="2_bft53"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_tv6kf"] size = Vector2(196, 175) [node name="Character" type="Node2D"] script = ExtResource("2_bft53") [node name="CharacterBody2D" type="CharacterBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"] position = Vector2(0, -11.5) shape = SubResource("RectangleShape2D_tv6kf") [node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"] texture = ExtResource("2_6hwax") [node name="MarginContainer" type="MarginContainer" parent="CharacterBody2D/Sprite2D"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -91.0 offset_top = -94.0 offset_right = -36.0 offset_bottom = -57.0 grow_horizontal = 2 grow_vertical = 2 [node name="Nameplate" type="VBoxContainer" parent="CharacterBody2D/Sprite2D/MarginContainer"] layout_mode = 2 [node name="Healthbar" type="ProgressBar" parent="CharacterBody2D/Sprite2D/MarginContainer/Nameplate"] custom_minimum_size = Vector2(0, 16) layout_mode = 2 max_value = 10.0 step = 1.0 value = 10.0 show_percentage = false [node name="TitleBox" type="HBoxContainer" parent="CharacterBody2D/Sprite2D/MarginContainer/Nameplate"] layout_mode = 2 [node name="TierLabel" type="Label" parent="CharacterBody2D/Sprite2D/MarginContainer/Nameplate/TitleBox"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 text = "Tier " [node name="NameLabel" type="Label" parent="CharacterBody2D/Sprite2D/MarginContainer/Nameplate/TitleBox"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 text = "Name"