使用flip更新

This commit is contained in:
星外之神 2022-06-03 19:54:38 +08:00
parent dcf925ca52
commit c6dba1d175

View File

@ -97,7 +97,7 @@ class Control():
while not self.done: while not self.done:
self.event_loop() self.event_loop()
self.update() self.update()
pg.display.update() pg.display.flip()
self.clock.tick(self.fps) self.clock.tick(self.fps)
print('game over') print('game over')