ecs #58

Merged
raphael merged 70 commits from ecs into main 2023-11-03 15:29:36 +00:00
Showing only changes of commit 3ad2f91a17 - Show all commits

View file

@ -178,6 +178,7 @@ def loading_scene(target: Scene, name: str, clear_cache: bool = True):
def __init__(self): def __init__(self):
self.files = glob.glob(f"assets/{name}/**/*", recursive=True) self.files = glob.glob(f"assets/{name}/**/*", recursive=True)
self.files.extend(glob.glob("assets/global/**/*", recursive=True))
random.shuffle(self.files) random.shuffle(self.files)
self.total = len(self.files) self.total = len(self.files)