feature/monitor #19

Merged
cromer merged 2 commits from feature/monitor into develop 2022-07-23 13:03:43 -04:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 1398f3d92c - Show all commits

View File

@ -99,6 +99,8 @@ func _ready() -> void:
func _physics_process(_delta: float) -> void: func _physics_process(_delta: float) -> void:
if monitor_enabled: if monitor_enabled:
if not $MonitorGUI.visible:
$MonitorGUI.visible = true
if started and not get_tree().paused: if started and not get_tree().paused:
var frame = empty_frame.duplicate(true) var frame = empty_frame.duplicate(true)
frame["coins"] = coins frame["coins"] = coins

View File

@ -10,5 +10,6 @@ monitor_enabled = true
use_development_url = true use_development_url = true
[node name="MonitorGUI" parent="." instance=ExtResource( 3 )] [node name="MonitorGUI" parent="." instance=ExtResource( 3 )]
visible = false
[node name="HTTPRequest" type="HTTPRequest" parent="."] [node name="HTTPRequest" type="HTTPRequest" parent="."]