完全公开:我是一名编程新手。我只是想问一个简单的问题:是否可以按需刷新Kivy的视频缓冲区?例如,当我这样做时:
self.canvas.clear
with self.canvas:
#draw stuff 1
time.sleep(1) #kivy buffers stuff 1 instead of bringing it onto the screen and then waiting for a second
self.canvas.clear # clear for stuff 2
with self.canvas:
#draw stuff 2 // Now all of them comes on the screen together
两个问题:
是python吗,因此很健壮,根本不够底层吗?
如果是的话,您是否还会推荐python来对底层缓冲区进行如此精确的控制?我希望这不是太开放了。