added selector for nijiiro style notes

This commit is contained in:
WallK
2025-10-27 10:15:24 +02:00
parent 0798e53b0e
commit e515f34413
2 changed files with 9 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ hard_judge = 108
touch_enabled = false touch_enabled = false
timer_frozen = true timer_frozen = true
judge_counter = false judge_counter = false
nijiiro_notes = false
[nameplate_1p] [nameplate_1p]
name = 'どんちゃん' name = 'どんちゃん'

View File

@@ -88,6 +88,14 @@ class GameScreen:
self.movie = None self.movie = None
self.song_music = None self.song_music = None
tex.load_screen_textures('game') tex.load_screen_textures('game')
if global_data.config["general"]["nijiiro_notes"]:
# drop original
if "notes" in tex.textures:
del tex.textures["notes"]
# load nijiiro, rename "notes"
# to leave hardcoded 'notes' in calls below
tex.load_zip("game", "notes_nijiiro")
tex.textures["notes"] = tex.textures.pop("notes_nijiiro")
audio.load_screen_sounds('game') audio.load_screen_sounds('game')
ray.set_shader_value_texture(self.mask_shader, ray.get_shader_location(self.mask_shader, "texture0"), tex.textures['balloon']['rainbow_mask'].texture) ray.set_shader_value_texture(self.mask_shader, ray.get_shader_location(self.mask_shader, "texture0"), tex.textures['balloon']['rainbow_mask'].texture)
ray.set_shader_value_texture(self.mask_shader, ray.get_shader_location(self.mask_shader, "texture1"), tex.textures['balloon']['rainbow'].texture) ray.set_shader_value_texture(self.mask_shader, ray.get_shader_location(self.mask_shader, "texture1"), tex.textures['balloon']['rainbow'].texture)