【发布时间】:2019-07-29 09:39:31
【问题描述】:
嘿,我正在制作这款游戏,我需要延迟 1 秒或更长时间? 有什么想法吗?
这里我需要在 tx3 = 1000 和 cheesyx = 1000 之间延迟。
if x < 300 and y < 300 and not duringfight:
win.blit(cheesyt3, (tx3, ty3))
if x < 250 and y < 250 and not duringfight:
tx3 = 1000
cheesyx = 1000
if cheesyx == 1000:
deathx -= 5
if deathx == 600:
deathx += 5
deathmove = False
wmx = 1000
win.blit(deathtext, (dtext, 400))
if x > 400:
dtext = 1000
win.blit(deathhanpup, (deathx, deathy))
deathy = 1000
【问题讨论】: