使用flip更新
This commit is contained in:
parent
dcf925ca52
commit
c6dba1d175
@ -97,7 +97,7 @@ class Control():
|
||||
while not self.done:
|
||||
self.event_loop()
|
||||
self.update()
|
||||
pg.display.update()
|
||||
pg.display.flip()
|
||||
self.clock.tick(self.fps)
|
||||
print('game over')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user