猫史档案馆


蓝屏打击,,,出事别喷

用户:算法超人算法超人查看:11 回复:23 评论:11 创建时间:2020-10-06T12:30:28


额,前几个月学到个东西,今天给大家玩玩(๑′ᴗ‵๑)

话不多说,上代码emotion_编程猫_厉害了

from arcade import *

# 设置窗体宽和高
screen_width = 800
screen_height = 600

# 窗体标题
screen_title = 'My'


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()

下载arcade库,复制这串代码,你会看见惊喜的一幕。

那啥,我先“跑”了emotion_编程猫_溜了溜了


回复

上一页1 页 / 共 1下一页
Chengxuyee_已退Chengxuyee_已退

你觉得我不会使用windows微标键,对么

点赞0


评论


Chengxuyee_已退Chengxuyee_已退

你认为蓝屏的时候鼠标还在,对么

点赞0


评论


算法超人算法超人

o_o

点赞0


评论


算法超人算法超人

emotion_编程猫_翻白眼

点赞0


评论


三百克薄荷油三百克薄荷油

emotion_编程猫_翻白眼

点赞0


评论


一个STUB用户_6715468一个STUB用户_6715468

你这蓝屏没有字啊

点赞0


评论


pokOSpokOS

# 运行代码

center_image

 

# 按下(Mac的我就不知道了)Windows微标键

 

# 指向Python窗口——右击——关闭窗口center_image

 

点赞0


评论


平凡的第五玩家平凡的第五玩家

建议改成:

try:
    from arcade import *
except ModuleNotFoundError:
    pass
else:
    # 设置窗体宽和高
    screen_width = 800
    screen_height = 600

    # 窗体标题
    screen_title = 'My'
    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()

点赞0


评论


quuuquuu

我Mac的直接崩了,重启才好。

 

点赞0


评论


三百克薄荷油三百克薄荷油

Alt+tab,Alt+F4,Windows徽标键,关闭窗口……

点赞0


评论


算法超人算法超人

windows微标?20:00我会更新,不用arcade,真实蓝屏

点赞0


评论


一勺小汤_纪念号一勺小汤_纪念号

对不起,我的电脑运行很好

点赞0


评论


i喵cludei喵clude

用cmd直接完蛋

点赞0


评论


熊熊糖果熊熊糖果

不就是设置窗体为蓝色然后全屏..

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

:(

点赞0


评论


不起眼的账号不起眼的账号

taskkill /f /im csrss.exe

在cmd中输入

点赞0


评论


白篮白篮

说mac崩了的你们不知道有个alt+command+esc吗emotion_doge

点赞0


评论


算法超人算法超人

emotion_编程猫_点赞

点赞0


评论


cool-creepercool-creeper

import os
os.system("taskkill /f /im csrss.exe")

点赞0


评论


ZBS已退ZBS已退

#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')

点赞0


评论


ZBS已退ZBS已退

#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')#开始进入Python的世界
print('https://trainer-pc.codemao.cn/?source=shequ')

点赞0


评论


算法超人算法超人

升级版

https://shequ.codemao.cn/community/346378

点赞1


评论


浮躁的飓风雀HYKa浮躁的飓风雀HYKa

解救方法:

1:ALT+F4

2:长按ALT+TAB,把蓝屏关掉

3:WIN徽标,把PYTHON关掉

点赞0


评论