Fix Dark Souls text layering

This commit is contained in:
Zoey Kitt 2024-11-16 17:26:43 -06:00
parent 98c0e0e97e
commit 44e036f8b7

View file

@ -25,6 +25,21 @@ texture = ExtResource("1_wbfee")
[node name="Timer" type="Timer" parent="."]
autostart = true
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1036, 555)
scale = Vector2(0.671875, 0.622)
texture = ExtResource("9_bv8iw")
[node name="Label" type="Label" parent="."]
offset_left = 823.0
offset_top = 588.0
offset_right = 1082.0
offset_bottom = 785.0
theme = ExtResource("3_dv3dr")
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 82
text = "GAR"
[node name="Stonks" type="Node2D" parent="."]
script = ExtResource("2_pan4m")
@ -126,6 +141,9 @@ theme = ExtResource("3_dv3dr")
text = "Shares
Held:"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Stonks"]
stream = ExtResource("10_rkl57")
[node name="DarkSoulsTextBox" type="Sprite2D" parent="Stonks"]
visible = false
self_modulate = Color(0, 0, 0, 0.721569)
@ -143,24 +161,6 @@ theme = ExtResource("8_yqn4n")
text = "Stock Bankrupt"
horizontal_alignment = 1
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Stonks"]
stream = ExtResource("10_rkl57")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1036, 555)
scale = Vector2(0.671875, 0.622)
texture = ExtResource("9_bv8iw")
[node name="Label" type="Label" parent="."]
offset_left = 823.0
offset_top = 588.0
offset_right = 1082.0
offset_bottom = 785.0
theme = ExtResource("3_dv3dr")
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 82
text = "GAR"
[connection signal="timeout" from="Timer" to="Stonks" method="_on_timer_timeout"]
[connection signal="buy" from="Stonks" to="." method="_on_stonks_buy"]
[connection signal="sell" from="Stonks" to="." method="_on_stonks_sell"]