Dec-15-2020, 08:40 PM
This is basically the same as the last question you asked. You need to track the passage of time with either get_ticks() or time.time(). sleep() and wait() are not suited to your needs.
cant make a door automatically close a few seconds after i open it in pygame
|
|
Messages In This Thread |
cant make a door automatically close a few seconds after i open it in pygame - by cooImanreebro - Dec-14-2020, 09:05 AM
RE: cant make a door automatically close a few seconds after i open it in pygame - by LastStopDEVS - Dec-15-2020, 04:36 AM
RE: cant make a door automatically close a few seconds after i open it in pygame - by michael1789 - Dec-15-2020, 08:40 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[PyGame] PyGame does not close when I press the close button | Midnight_Sparkle3344 | 9 | 25,391 |
Dec-16-2022, 03:55 PM Last Post: d3sh19th |
|
How to make enemy chase me in pygame? | Jan_97 | 3 | 4,569 |
Nov-23-2021, 05:08 PM Last Post: Jan_97 |
|
How to make an image move in relation to another in PYGAME | CompleteNewb | 1 | 2,359 |
Nov-10-2021, 03:38 PM Last Post: metulburr |
|
Trying to make boundries for the pygame | bluewing101 | 2 | 2,099 |
Mar-23-2020, 01:35 AM Last Post: Windspar |
|
open cv ->pygame: turn image into location | Gamedeveloper | 1 | 2,121 |
Jan-20-2020, 05:00 PM Last Post: michael1789 |
|
How can I make music with python/pygame? | xBlackHeartx | 12 | 7,394 |
Oct-15-2019, 08:00 PM Last Post: nilamo |