mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 22:12:23 +02:00
fixed DialogBoxScene to work properly when childed to container
This commit is contained in:
@@ -65,11 +65,7 @@ anims/next_line = SubResource( 2 )
|
|||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||||
anchor_left = 0.5
|
margin_right = 480.0
|
||||||
anchor_right = 0.5
|
|
||||||
margin_left = -240.0
|
|
||||||
margin_top = 235.0
|
|
||||||
margin_right = 240.0
|
|
||||||
margin_bottom = 31.0
|
margin_bottom = 31.0
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
|
|||||||
@@ -127,23 +127,26 @@ FRICTION = 200
|
|||||||
[node name="Bonfire" parent="." instance=ExtResource( 7 )]
|
[node name="Bonfire" parent="." instance=ExtResource( 7 )]
|
||||||
position = Vector2( 448, 104 )
|
position = Vector2( 448, 104 )
|
||||||
|
|
||||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
||||||
margin_right = 40.0
|
|
||||||
margin_bottom = 40.0
|
|
||||||
use_top_left = true
|
|
||||||
__meta__ = {
|
|
||||||
"_edit_use_anchors_": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[node name="DialogueBox" parent="CenterContainer" instance=ExtResource( 19 )]
|
|
||||||
anchor_right = 0.0
|
|
||||||
anchor_bottom = 0.0
|
|
||||||
|
|
||||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||||
|
|
||||||
[node name="DragNDropUI" parent="CanvasLayer" instance=ExtResource( 20 )]
|
[node name="DragNDropUI" parent="CanvasLayer" instance=ExtResource( 20 )]
|
||||||
ObjectParent = NodePath("../..")
|
ObjectParent = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"]
|
||||||
|
anchor_right = 1.002
|
||||||
|
anchor_bottom = 0.068
|
||||||
|
margin_top = 9.0
|
||||||
|
margin_right = 0.0399475
|
||||||
|
margin_bottom = 44.64
|
||||||
|
use_top_left = true
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="DialogueBox" parent="CanvasLayer/CenterContainer" instance=ExtResource( 19 )]
|
||||||
|
anchor_right = 0.0
|
||||||
|
anchor_bottom = 0.0
|
||||||
|
|
||||||
[editable path="YSort/minion"]
|
[editable path="YSort/minion"]
|
||||||
|
|
||||||
[editable path="YSort/minion/Hurtbox"]
|
[editable path="YSort/minion/Hurtbox"]
|
||||||
|
|||||||
Reference in New Issue
Block a user