From 34180d7a144ccf0ef8626278d2a14cc2c6f4d5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Mon, 11 Jan 2021 21:34:25 +0800 Subject: [PATCH] awa reee --- libs/main.py | 1 + libs/render_thread.py | 6 +++--- {configs => sys_configs}/basic_config.json | 0 {configs => sys_configs}/input.json | 0 {configs => sys_configs}/planet.json | 0 {configs => sys_configs}/window.json | 0 6 files changed, 4 insertions(+), 3 deletions(-) rename {configs => sys_configs}/basic_config.json (100%) rename {configs => sys_configs}/input.json (100%) rename {configs => sys_configs}/planet.json (100%) rename {configs => sys_configs}/window.json (100%) diff --git a/libs/main.py b/libs/main.py index 3115cc4..1774137 100644 --- a/libs/main.py +++ b/libs/main.py @@ -12,3 +12,4 @@ class Game(): def __init__(self): pass + diff --git a/libs/render_thread.py b/libs/render_thread.py index c69845e..7c9c95c 100644 --- a/libs/render_thread.py +++ b/libs/render_thread.py @@ -35,11 +35,11 @@ class RenderThread(threading.Thread, pyglet.window.Window): def setup(self): # dic self.window_c = libs.loads.config( - ".\\configs\\window.json") # stand for window config + ".\\sys_configs\\window.json") # stand for window config self.planet_c = libs.loads.config( - ".\\configs\\planet.json") # stand for planet config + ".\\sys_configs\\planet.json") # stand for planet config self.textures_c = libs.loads.config( - ".\\configs\\basic_config", "textures") # stand for textures config + ".\\sys_configs\\basic_config", "textures") # stand for textures config # image self.b_g = image("back_ground_space.png") # window diff --git a/configs/basic_config.json b/sys_configs/basic_config.json similarity index 100% rename from configs/basic_config.json rename to sys_configs/basic_config.json diff --git a/configs/input.json b/sys_configs/input.json similarity index 100% rename from configs/input.json rename to sys_configs/input.json diff --git a/configs/planet.json b/sys_configs/planet.json similarity index 100% rename from configs/planet.json rename to sys_configs/planet.json diff --git a/configs/window.json b/sys_configs/window.json similarity index 100% rename from configs/window.json rename to sys_configs/window.json