feature/monitor #19
@ -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
|
||||||
|
@ -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="."]
|
||||||
|
Loading…
Reference in New Issue
Block a user