摘要: ####################################### # CONSTANTS ####################################### DIGITS = '0123456789' #################################### 阅读全文
posted @ 2024-09-07 00:52 eva1024 阅读(25) 评论(0) 推荐(0)
摘要: 2024年8月30日16:43:42 阅读全文
posted @ 2024-08-30 16:46 eva1024 阅读(15) 评论(0) 推荐(0)
摘要: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-material 阅读全文
posted @ 2024-12-26 19:52 eva1024 阅读(13) 评论(0) 推荐(0)
摘要: class Token: def __init__(self, type_, value=None): self.type = type_ self.value = value def __repr__(self): return f'{self.type}:{self.value}' if sel 阅读全文
posted @ 2024-11-29 21:13 eva1024 阅读(11) 评论(0) 推荐(0)
摘要: version_btn->set_text("SCS editor 0.2" + hash); about_text->set_v_size_flags(Control::SIZE_SHRINK_CENTER); about_text->set_text( String::utf8("\xc2\xa 阅读全文
posted @ 2024-11-25 10:20 eva1024 阅读(23) 评论(0) 推荐(0)
摘要: shader_type canvas_item; uniform float outline_width = 1.0; uniform vec4 outline_color: source_color = vec4(1,0,0,1); void fragment() { vec2 uv = UV; 阅读全文
posted @ 2024-11-19 12:18 eva1024 阅读(41) 评论(0) 推荐(0)
摘要: shader_type canvas_item; void fragment() { vec4 color = texture(TEXTURE, UV); float gray = dot(color.rgb, vec3(0.299, 0.587, 0.114)); COLOR = vec4(vec 阅读全文
posted @ 2024-11-09 16:30 eva1024 阅读(33) 评论(0) 推荐(0)
摘要: python -m pip install scons 阅读全文
posted @ 2024-11-07 19:11 eva1024 阅读(16) 评论(0) 推荐(0)
摘要: 项目管理器 DisplayServer::get_singleton()->window_set_title("SCS Engine V0.2"); 重置图标缓存 如果你的图标没有正确显示,在 Windows 10 中,请尝试清理图标缓存。实现方法是打开运行对话框并输入 ie4uinit.exe - 阅读全文
posted @ 2024-11-06 20:31 eva1024 阅读(86) 评论(0) 推荐(0)
摘要: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs 主题安装 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-material 阅读全文
posted @ 2024-11-06 19:31 eva1024 阅读(41) 评论(0) 推荐(0)
摘要: 以下是在 MkDocs 中创建多级导航的方法: 在 mkdocs.yml 中配置导航结构: nav: 首页: index.md 指南: 快速入门: guide/getting-started.md 基础概念: guide/concepts.md 进阶教程: 配置: guide/advanced/co 阅读全文
posted @ 2024-11-01 14:27 eva1024 阅读(163) 评论(0) 推荐(0)
摘要: shader_type canvas_item; void vertex() { // Called for every vertex the material is visible on. } void fragment() { COLOR = texture(TEXTURE,UV); float 阅读全文
posted @ 2024-10-30 18:08 eva1024 阅读(16) 评论(0) 推荐(0)