def scroll(self, amount):
if pygame.key.get_pressed()[pygame.K_LCTRL]:
amount = amount * 4
self.offset = min((main.tilemap.im.iconIdAmount(main.paint[0])-1)*self.tile_height, max(0, self.offset + amount))
editor_main.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录