Skip to content

Commit

Permalink
turn off debug for 0.5 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
themangomago committed Apr 11, 2021
1 parent 228fd84 commit 68fc553
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Src/HUD/HUD.gd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ func _ready():
Debug.addOption(cat, "HudToggle", funcref(self, "debugHudToggle"), null)
Debug.addOption(cat, "LightningToggle", funcref(self, "debugLightToggle"), null)
else:
$IngameMenu/DebugPromo.hide()
if $IngameMenu/DebugPromo:
$IngameMenu/DebugPromo.hide()

$HUDLayer/Display/GUI.visible = true
detected_value = Global.game_manager.getCurrentLevel().allowed_detections
Expand Down
6 changes: 5 additions & 1 deletion Src/HUD/HUD.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ __meta__ = {

[node name="UpgradeButton0" parent="HUDLayer/Display/Upgrades/Grid" instance=ExtResource( 5 )]
group = SubResource( 8 )
skill = 0

[node name="UpgradeButton1" parent="HUDLayer/Display/Upgrades/Grid" instance=ExtResource( 5 )]
margin_left = 43.0
Expand Down Expand Up @@ -564,24 +563,28 @@ __meta__ = {
}

[node name="NoBranchButton" parent="HUDLayer/Display/Dialog/vbox" instance=ExtResource( 16 )]
label = "Button"

[node name="Option0Button" parent="HUDLayer/Display/Dialog/vbox" instance=ExtResource( 16 )]
margin_top = 28.0
margin_bottom = 52.0
focus_neighbour_left = NodePath("../Option2Button")
focus_neighbour_right = NodePath("../Option1Button")
label = "Button"

[node name="Option1Button" parent="HUDLayer/Display/Dialog/vbox" instance=ExtResource( 16 )]
margin_top = 56.0
margin_bottom = 80.0
focus_neighbour_left = NodePath("../Option0Button")
focus_neighbour_right = NodePath("../Option2Button")
label = "Button"

[node name="Option2Button" parent="HUDLayer/Display/Dialog/vbox" instance=ExtResource( 16 )]
margin_top = 84.0
margin_bottom = 108.0
focus_neighbour_left = NodePath("../Option1Button")
focus_neighbour_right = NodePath("../Option0Button")
label = "Button"

[node name="Sprite" type="Sprite" parent="HUDLayer/Display/Dialog"]
position = Vector2( -40, 24 )
Expand Down Expand Up @@ -666,6 +669,7 @@ custom_fonts/font = ExtResource( 10 )
text = "Sound"

[node name="DebugPromo" type="Button" parent="HUDLayer/Display/IngameMenu"]
visible = false
margin_left = 272.0
margin_top = 56.0
margin_right = 371.0
Expand Down
15 changes: 9 additions & 6 deletions Src/Menu/Menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ anchor_bottom = 1.0
margin_top = -16.0
custom_fonts/normal_font = ExtResource( 7 )
bbcode_enabled = true
bbcode_text = "[center]©2020 by NimbleBeasts [url=https://twitter.com/nimblebeasts][color=#63c2c9]`[/color]NimbleBeasts[/url] [url=https://nimblebeastscollective.itch.io/][color=#c93038]¥[/color]NimbleBeasts[/url][/center]"
bbcode_text = "[center]©2021 by NimbleBeasts [url=https://twitter.com/nimblebeasts][color=#63c2c9]`[/color]NimbleBeasts[/url] [url=https://nimblebeastscollective.itch.io/][color=#c93038]¥[/color]NimbleBeasts[/url][/center]"
meta_underlined = false
text = 2020 by NimbleBeasts `NimbleBeasts ¥NimbleBeasts"
text = 2021 by NimbleBeasts `NimbleBeasts ¥NimbleBeasts"
__meta__ = {
"_edit_use_anchors_": false
}
Expand All @@ -482,11 +482,14 @@ bbcode_text = "[right]Version[/right]"
text = "Version"

[node name="SteamTest" type="Button" parent="."]
margin_left = 496.0
margin_top = 44.0
margin_right = 632.0
margin_bottom = 64.0
margin_left = 648.0
margin_top = 40.0
margin_right = 784.0
margin_bottom = 60.0
text = "GetAchievement"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="button_up" from="Main/LevelSelect/DebugButton" to="." method="_on_DebugButton_button_up"]
[connection signal="button_up" from="Main/ButtonPlay" to="." method="_on_ButtonPlay_button_up"]
[connection signal="button_up" from="Main/ButtonLoad" to="." method="_on_ButtonLoad_button_up"]
Expand Down
2 changes: 1 addition & 1 deletion Src/_Autoloads/Global.gd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const GAME_VERSION = 0.5
const CONFIG_VERSION = 1 # Used for config migration

# Debug Options
const DEBUG = true
const DEBUG = false


# Nb Plugin Config
Expand Down

0 comments on commit 68fc553

Please sign in to comment.