editor_main.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Python-Platformer---Map-editor 作者: billy-yoyo 项目源码 文件源码
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))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号