test stats anche achievements

This commit is contained in:
2026-06-23 12:45:00 +02:00
parent 298e6cd229
commit aad14ab242
5 changed files with 58 additions and 15 deletions

View File

@@ -1,5 +1,8 @@
extends Node
#if you have an error setting achievements or stats in debug mode remember to open your steam client
#with jmp games account or another account who bought this game. If error persist try to clos and reopen steam client.
const APP_ID: int = 4809260 #Train Goes Choo Choo
var is_on_steam: bool = false
@@ -21,7 +24,7 @@ func _ready() -> void:
func _process(_delta: float) -> void:
if is_on_steam:
Steam.run_callbacks() # every frame, always
Steam.run_callbacks() #every frame, forever
func _on_overlay_toggled(active: bool, _user_initiated: bool, _app_id: int) -> void:
get_tree().paused = active