mystery feature #50

This commit is contained in:
Anthony Samms
2025-11-10 11:31:37 -05:00
parent 244b66c0f3
commit 66b88ba480
7 changed files with 62 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ class Background:
"IMAS_CG": (libs.bg_collabs.imas.Background, 'background/collab/imas_cg', 3),
"IMAS_ML": (libs.bg_collabs.imas.Background, 'background/collab/imas_ml', 3),
"IMAS_SIDEM": (libs.bg_collabs.imas_sidem.Background, 'background/collab/imas_sidem', 3),
"DAN": (libs.bg_collabs.dan.Background, 'background/collab/dan', 1)
"DAN": (libs.bg_collabs.dan.Background, 'background/collab/dan', 1),
"PRACTICE": (libs.bg_collabs.practice.Background, 'background/collab/practice', 1)
}
def __init__(self, player_num: int, bpm: float, scene_preset: str = ''):

View File

@@ -5,3 +5,4 @@ from . import oshiri
from . import imas
from . import dan
from . import imas_sidem
from . import practice

View File

@@ -0,0 +1,17 @@
from libs.bg_objects.bg_normal import BGNormalBase
from libs.texture import TextureWrapper
from libs.bg_objects.don_bg import DonBG1
class Background:
def __init__(self, tex: TextureWrapper, player_num: int, bpm: float, path: str, max_dancers: int):
self.tex_wrapper = tex
self.max_dancers = max_dancers
self.don_bg = DonBG1(self.tex_wrapper, 0, 1, path)
self.bg_normal = BGNormalBase(self.tex_wrapper, 0, path)
self.bg_fever = None
self.footer = None
self.fever = None
self.dancer = None
self.renda = None
self.chibi = None