From 6dd202c8e3e7cf45452e2c198964c12aaf8c7a2a Mon Sep 17 00:00:00 2001 From: Frank DeMarco Date: Thu, 29 Oct 2020 12:48:45 -0400 Subject: [PATCH] fixed ending background and text --- NS.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NS.py b/NS.py index 47e2c31..c12a8eb 100644 --- a/NS.py +++ b/NS.py @@ -478,6 +478,7 @@ class Title(Animation): def deactivate(self): self.active = False + self.halt() def start_game(self): self.deactivate() @@ -575,8 +576,7 @@ class Title(Animation): if platform.get_pressed(): self.video.hide() self.get_game().tony.set_frameset("static") - self.halt(self.show_video) - self.halt(self.hide_video) + self.halt() self.play(self.show_video, delay=10000, play_once=True) self.video.update() self.draw_scores() @@ -2041,7 +2041,7 @@ class Ending(Animation): self.play(self.start, delay=3000, play_once=True) font = Font(self.get_resource("rounded-mplus-1m-bold.ttf"), 64) time = self.get_game().title.get_formatted_time(self.get_game().most_recent_time) - foreground = font.render(time, False, (180, 150, 20)).convert_alpha() + foreground = font.render(time, False, (180, 150, 20), (255, 255, 255)).convert_alpha() dsr = self.get_display_surface().get_rect() self.text = RainbowSprite(self, foreground, 180, 200) self.text.location.midtop = dsr.centerx, 80 @@ -2080,7 +2080,7 @@ class Ending(Animation): else: self.start_wipe() self.advance_prompt.cancel_first_press() - self.get_game().logo_background.update() + self.get_game().logo.update() self.get_game().tony.update() self.slime_bag.update() dsr = self.get_display_surface().get_rect()