Jan-28-2020, 07:10 PM
said_yeah = False if score_value == 10 and said_yeah == False: yeah = pygame.mixer.Sound("PointsSound.wav") yeah.set_volume(0.1) yeah.play() said_yeah = True
[PyGame] Pygame, how to run an if statement only once, help!
|
|
Messages In This Thread |
Pygame, how to run an if statement only once, help! - by Kris1996 - Jan-28-2020, 04:32 PM
RE: Pygame, how to run an if statement only once, help! - by michael1789 - Jan-28-2020, 07:10 PM
RE: Pygame, how to run an if statement only once, help! - by michael1789 - Jan-28-2020, 09:33 PM
RE: Pygame, how to run an if statement only once, help! - by Kris1996 - Jan-28-2020, 09:20 PM
RE: Pygame, how to run an if statement only once, help! - by metulburr - Jan-28-2020, 09:40 PM
RE: Pygame, how to run an if statement only once, help! - by Kris1996 - Jan-29-2020, 11:22 AM
|