Is it possible yet in 6.12 to make a timer running continuously in the background while you click around and do stuff?
So far in the earlier versions, I was able to make a timer, but it would immediately stop as soon as you click on something or the text box appears.
Making a background timer
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
Glazed Donuts
- Regular
- Posts: 121
- Joined: Thu Aug 12, 2010 11:47 am
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Making a background timer
Yes. Put a timer in a screen, and show the screen. The timer will run as long as the screen is shown.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
Glazed Donuts
- Regular
- Posts: 121
- Joined: Thu Aug 12, 2010 11:47 am
- Contact:
Re: Making a background timer
Can you put a screen on top of a screen and have them both shown/active at the same time? For example, 'layer 1 screen' is where the timer is and 'layer 2' screen is where the user interaction is.
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: Making a background timer
Yes, without problem. That is the default behaviour.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Hojoo
