From 08971de60818872af3c3c8b9c19969aaad96da4d Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 25 Nov 2019 15:03:55 +0100 Subject: [PATCH] The map button is hidden now, I'm not sure yet if it's a good idea for the game to have it. But even if it is, it will take a while for me to implement it. --- game/player/Player.tscn | 1 + game/ui/player_ui/player_ui.tscn | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/game/player/Player.tscn b/game/player/Player.tscn index 63bb8652..3eb3dc17 100644 --- a/game/player/Player.tscn +++ b/game/player/Player.tscn @@ -46,6 +46,7 @@ transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 [node name="Model" type="Spatial" parent="Rotation_Helper"] [node name="character" parent="Rotation_Helper/Model" instance=ExtResource( 1 )] +refresh_in_editor = false [node name="GUILayer" parent="." instance=ExtResource( 3 )] [connection signal="onc_open_loot_winow_request" from="." to="GUILayer" method="_on_Player_onc_open_loot_winow_request"] diff --git a/game/ui/player_ui/player_ui.tscn b/game/ui/player_ui/player_ui.tscn index e3812e03..d363d7b7 100644 --- a/game/ui/player_ui/player_ui.tscn +++ b/game/ui/player_ui/player_ui.tscn @@ -254,6 +254,7 @@ keep_pressed_outside = true text = "Cr" [node name="MapButton" type="Button" parent="GUI/Buttons/HBoxContainer"] +visible = false margin_left = 180.0 margin_right = 225.0 margin_bottom = 45.0 @@ -266,8 +267,8 @@ keep_pressed_outside = true text = "Map" [node name="LockButton" type="Button" parent="GUI/Buttons/HBoxContainer"] -margin_left = 225.0 -margin_right = 270.0 +margin_left = 180.0 +margin_right = 225.0 margin_bottom = 45.0 rect_min_size = Vector2( 45, 45 ) focus_mode = 0 @@ -309,8 +310,8 @@ __meta__ = { } [node name="Menu" type="Button" parent="GUI/Buttons/HBoxContainer"] -margin_left = 270.0 -margin_right = 315.0 +margin_left = 225.0 +margin_right = 270.0 margin_bottom = 45.0 rect_min_size = Vector2( 45, 45 ) focus_mode = 0