Using the Game Timer in other scenes

I've been struggling to display the Game Timer in scenes other than Battle and Map. I understand that the Game Timer only works in the active scene and only one scene can be active at a time. I don't want a persistent timer that stays active across scenes, but only one that starts when you enter Menu or Name Input scenes, for example.

Here's the core issue. I can get the timer to run and pop the player out to the previous scene (just the way I want it to) but the timer is not visible. When I've tried unwinding how the timer works, I get to the point where its visibility looks like it's connected to whether isWorking returns true (which it does, because it's counting down correctly) but no matter what I try I can't get the timer to actually display.

I'm sure this is something simple but I've been banging my head against a wall for two days trying to figure it out.
Sprite_Timer is the display side of Game_Timer. By default it looks like that's included in Spriteset_Base, which is only used on the map and battle scenes (other scenes operate solely via windows, without a spriteset). Check out rpg_sprites.js and rpg_scenes.js for the relevant code~

My guess would be that you'd have to add either a spriteset, or an instance of Sprite_Timer, to the appropriate scenes. You might also need to add update calls to refresh the sprite, not sure how that's handled. 😴
the key is createDisplayObjects() which creates the timer sprite among other display sprites.

the issue has been solved, can a moderator please close this thread?
Oh neat! Thanks for sharing the solution~ 🙏

I think you can report your first post in the thread as being solved, that way a moderator is sure to see it. 🙂
Oh neat! Thanks for sharing the solution~ 🙏

I think you can report your first post in the thread as being solved, that way a moderator is sure to see it. 🙂

your hints are what led me to figuring it out, so thank you very much!
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/using-the-game-timer-in-other-scenes.114541/