def __init__(self, width, height, title):
        super().__init__(width, height, title)

        self.set_mouse_visible(True)
        arcade.set_background_color(arcade.color.WHITE)

        self.spirit = Mage_M.Spirit(width / 2, height / 2, 0, 0, 15,
                                    arcade.color.BLACK)
        self.fire_ball_list = []
Пример #2
0
    def __init__(self, width, height, title):
        super().__init__(width, height, title)

        self.set_mouse_visible(True)
        arcade.set_background_color(arcade.color.WHITE)

        self.spirit = W_M.Spirit(SCREEN_WIDTH/2, SCREEN_HEIGHT/2, 0, 0, 15, arcade.color.DARK_PINK)
        print('上下左右移动,按住shift疾跑,有个小bug就是在已经按住走路时按疾跑不会加速,这个挺难修的可能要从写代码')

        #######
        self.Up = False
        self.Down = False
        self.Left = False
        self.Right = False