* animate slime faster
* show loot text above head much closer to head
This commit is contained in:
@@ -1,27 +1,23 @@
|
||||
[gd_scene format=3 uid="uid://floating_text"]
|
||||
[gd_scene format=3 uid="uid://dhhejfqlmhv52"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/floating_text.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://dx5oym20rr2ei" path="res://scripts/floating_text.gd" id="1"]
|
||||
[ext_resource type="FontFile" uid="uid://cbmcfue0ek0tk" path="res://assets/fonts/dmg_numbers.png" id="2_dmg_font"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_floating_text"]
|
||||
default_font = ExtResource("2_dmg_font")
|
||||
default_font_size = 12
|
||||
|
||||
[node name="FloatingText" type="Node2D"]
|
||||
[node name="FloatingText" type="Node2D" unique_id=1350559946]
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="ItemSprite" type="Sprite2D" parent="."]
|
||||
[node name="ItemSprite" type="Sprite2D" parent="." unique_id=1657362510]
|
||||
visible = false
|
||||
offset = Vector2(0, -20)
|
||||
scale = Vector2(1, 1)
|
||||
offset = Vector2(0, -8)
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
[node name="Label" type="Label" parent="." unique_id=1387220833]
|
||||
offset_right = 64.0
|
||||
offset_bottom = 24.0
|
||||
theme = SubResource("Theme_floating_text")
|
||||
text = "+1 coin"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
outline_size = 2
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user