mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
added selector for nijiiro style notes
This commit is contained in:
@@ -7,6 +7,7 @@ hard_judge = 108
|
||||
touch_enabled = false
|
||||
timer_frozen = true
|
||||
judge_counter = false
|
||||
nijiiro_notes = false
|
||||
|
||||
[nameplate_1p]
|
||||
name = 'どんちゃん'
|
||||
|
||||
@@ -88,6 +88,14 @@ class GameScreen:
|
||||
self.movie = None
|
||||
self.song_music = None
|
||||
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')
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user