mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2024-11-14 10:57:19 +01:00
Changed the type of WorldNumbers to CanvasLayer, so the numbers now go in front of nameplates, also increased the ui's layers, so the numbers are still behind them.
This commit is contained in:
parent
7994312105
commit
68e7e888ce
@ -27,6 +27,7 @@
|
|||||||
[ext_resource path="res://ui/windows/CharacterWindow.tscn" type="PackedScene" id=29]
|
[ext_resource path="res://ui/windows/CharacterWindow.tscn" type="PackedScene" id=29]
|
||||||
|
|
||||||
[node name="GUILayer" type="CanvasLayer"]
|
[node name="GUILayer" type="CanvasLayer"]
|
||||||
|
layer = 5
|
||||||
script = ExtResource( 28 )
|
script = ExtResource( 28 )
|
||||||
loot_window_path = NodePath("GUI/Windows/LootWindow")
|
loot_window_path = NodePath("GUI/Windows/LootWindow")
|
||||||
|
|
||||||
@ -226,7 +227,7 @@ __meta__ = {
|
|||||||
actionbar_scene = ExtResource( 14 )
|
actionbar_scene = ExtResource( 14 )
|
||||||
|
|
||||||
[node name="Windows" type="CanvasLayer" parent="GUI"]
|
[node name="Windows" type="CanvasLayer" parent="GUI"]
|
||||||
layer = 2
|
layer = 6
|
||||||
|
|
||||||
[node name="CharacterWindow" parent="GUI/Windows" instance=ExtResource( 29 )]
|
[node name="CharacterWindow" parent="GUI/Windows" instance=ExtResource( 29 )]
|
||||||
visible = false
|
visible = false
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3,6 +3,8 @@
|
|||||||
[ext_resource path="res://ui/world_numbers_2d/WorldNumbers.gd" type="Script" id=1]
|
[ext_resource path="res://ui/world_numbers_2d/WorldNumbers.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://ui/world_numbers_2d/Number.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://ui/world_numbers_2d/Number.tscn" type="PackedScene" id=2]
|
||||||
|
|
||||||
[node name="WorldNumbers" type="Node"]
|
[node name="WorldNumbers" type="CanvasLayer"]
|
||||||
|
layer = 2
|
||||||
|
follow_viewport_enable = true
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
number_scene = ExtResource( 2 )
|
number_scene = ExtResource( 2 )
|
||||||
|
Loading…
Reference in New Issue
Block a user