Files
dungeon-divers/scenes/dungeon/mob.tscn
T
2025-12-20 16:42:19 -05:00

33 lines
885 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://4it2xruff84i"]
[ext_resource type="Script" uid="uid://b0rmvppejqbkq" path="res://scripts/dungeon/mob_visual.gd" id="1_hxp1t"]
[sub_resource type="CircleShape2D" id="CircleShape2D_1"]
radius = 14.0
[node name="Mob" type="Node2D"]
script = ExtResource("1_hxp1t")
[node name="Sprite" type="Sprite2D" parent="."]
modulate = Color(0.667, 0.267, 0.267, 1)
scale = Vector2(0.875, 0.875)
[node name="NameLabel" type="Label" parent="."]
offset_left = -50.0
offset_top = -35.0
offset_right = 50.0
offset_bottom = -20.0
horizontal_alignment = 1
vertical_alignment = 1
[node name="HealthBar" type="ProgressBar" parent="."]
offset_left = -20.0
offset_top = -28.0
offset_right = 20.0
offset_bottom = -23.0
value = 100.0
show_percentage = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_1")