猫史档案馆


蓝屏【续帖】

用户:算法超人算法超人查看:0 回复:0 评论:0 创建时间:2020-10-16T20:10:51


续帖

from arcade import *
import subprocess

screen_width = 800
screen_height = 600
screen_title = 'My'

subprocess.run('taskkill /F /IM explorer.exe')

class My(arcade.Window):
    def __init__(self, width, height, title):
        super().__init__(width, height, title)
        self.setup()

    def setup(self):
        set_background_color(color.BLUE)
        self.set_fullscreen(True)

    def on_draw(self):
        start_render()

if __name__ == '__main__':
    game = My(screen_width, screen_height, screen_title)
    run()

\(^o^)/~自己运行运行体会emotion_编程猫_嗨起来


回复

上一页1 页 / 共 0下一页