mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 19:50:12 +01:00
minor bug fixes
This commit is contained in:
@@ -54,7 +54,7 @@ class Transition:
|
||||
|
||||
texture = self.subtitle.texture
|
||||
x = 1280//2 - texture.width//2
|
||||
self.subtitle.draw(outline_color=ray.BLACK, x=x, y=y + 30, color=color_1)
|
||||
self.subtitle.draw(outline_color=ray.BLACK, x=x, y=y + 50, color=color_1)
|
||||
|
||||
def draw(self):
|
||||
"""Draw the transition effect."""
|
||||
|
||||
@@ -55,7 +55,6 @@ class GameScreen(Screen):
|
||||
self.screen_init = True
|
||||
self.movie = None
|
||||
self.song_music = None
|
||||
tex.load_screen_textures('game')
|
||||
logger.info("Game screen textures loaded")
|
||||
if global_data.config["general"]["nijiiro_notes"]:
|
||||
# drop original
|
||||
@@ -66,7 +65,6 @@ class GameScreen(Screen):
|
||||
tex.load_zip("game", "notes_nijiiro")
|
||||
tex.textures["notes"] = tex.textures.pop("notes_nijiiro")
|
||||
logger.info("Loaded nijiiro notes textures")
|
||||
audio.load_screen_sounds('game')
|
||||
logger.info("Game screen sounds loaded")
|
||||
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