i = 1 ## fever_interval = 3
if score > i * 100:
pygame.time.set_timer(pygame.USEREVENT, 5)
mino = randint(1, 1)
next_mino = randint(1, 1)
next_fever = (i + fever_interval) * fever_score # 피버모드 점수 표시
# fever time
if blink:
screen.blit(pygame.transform.scale(ui_variables.fever_image,
(int(SCREEN_WIDTH * 0.5), int(SCREEN_HEIGHT * 0.2))),
(SCREEN_WIDTH * 0.1, SCREEN_HEIGHT * 0.1))
blink = False
else:
blink = True
i += fever_interval
fever_mode
如果您达到特定分数,这是我的代码更改为 5 秒,所以我做了一些计时器 EX)但是这些pygame.time.get_ticks()
东西pygame.time.set_timer()
对我不起作用。我该怎么做才能解决它..