screens/game_screen.py
def run_draw(self):
        """ Draw all instances onto the screen """
        # Draw test collision boxes
        self.draw_world_collision_group()
        # Draw teleporter collision boxes
        self.draw_teleporter_group()
        self.screen.fill((0, 0, 0))
        # Draw background image
        self.screen.blit(self.bg_image, self.bg_rect)
        # Draw gumba
        self.draw_enemy_group()
        # Draw player
        self.draw_player_group()
        # Draw player fireballs
        self.draw_player_fireball_group()
        # Draw the Death Enemies
        self.draw_death_group()
        # Draw the Shells
        self.draw_shell_group()
        # Draw the Projectiles
        self.draw_projectile_group()
        # Draw the Bricks
        self.draw_brick_group()
        # Draw broken Brick Pieces
        self.draw_brickpieces_group()
        # Draw Platform
        self.draw_platform_group()
        # Draw the Coins
        self.draw_coin_group()
        # Draw the mushrooms
        self.draw_mushroom_group()
        # Draw the fireflowers
        self.draw_fireflower_group()
        # Draw the starmans
        self.draw_starman_group()
        self.draw_pipe_group()
        self.draw_flagpole_group()
        # Draw points
        self.draw_point_group()
        # Draw Firebar
        self.draw_firebar_group()

        # if self.controller.toggle_grid:
        # Developer tool, Display grid coordinates if toggled
        # dt.draw_debug_line(self.screen, self.player_group)
        if self.controller.toggle_mouse_coordinates:
            # Developer tool, Display mouse coordinates over cursor if toggled
            dt.draw_mouse_coordinates(self.screen, self.camera)
 Draw all instances onto the screen 
Draw all instances onto the screen
Draw all instances onto the screen
def run_draw(self):
        self.draw_world_collision_group()
        self.draw_teleporter_group()
        self.screen.fill((0, 0, 0))
        self.screen.blit(self.bg_image, self.bg_rect)
        self.draw_enemy_group()
        self.draw_player_group()
         fireballs
        self.draw_player_fireball_group()
        self.draw_death_group()
        self.draw_shell_group()
        self.draw_projectile_group()
        self.draw_brick_group()
        self.draw_brickpieces_group()
        self.draw_platform_group()
        self.draw_coin_group()
        self.draw_mushroom_group()
        self.draw_fireflower_group()
        self.draw_starman_group()
        self.draw_pipe_group()
        self.draw_flagpole_group()
        self.draw_point_group()
        self.draw_firebar_group()
        if self.controller.toggle_mouse_coordinates:
            dt.draw_mouse_coordinates(self.screen, self.camera)
def run_draw ( self ) : self . draw_world_collision_group ( ) self . draw_teleporter_group ( ) self . screen . fill ( ( 0 , 0 , 0 ) ) self . screen . blit ( self . bg_image , self . bg_rect ) self . draw_enemy_group ( ) self . draw_player_group ( ) self . draw_player_fireball_group ( ) self . draw_death_group ( ) self . draw_shell_group ( ) self . draw_projectile_group ( ) self . draw_brick_group ( ) self . draw_brickpieces_group ( ) self . draw_platform_group ( ) self . draw_coin_group ( ) self . draw_mushroom_group ( ) self . draw_fireflower_group ( ) self . draw_starman_group ( ) self . draw_pipe_group ( ) self . draw_flagpole_group ( ) self . draw_point_group ( ) self . draw_firebar_group ( ) if self . controller . toggle_mouse_coordinates : dt . draw_mouse_coordinates ( self . screen , self . camera )
Draw all instances onto the screen
Draw all instances onto the screen
""" Draw all instances onto the screen """ # Draw test collision boxes # Draw teleporter collision boxes # Draw background image # Draw gumba # Draw player # Draw player fireballs # Draw the Death Enemies # Draw the Shells # Draw the Projectiles # Draw the Bricks # Draw broken Brick Pieces # Draw Platform # Draw the Coins # Draw the mushrooms # Draw the fireflowers # Draw the starmans # Draw points # Draw Firebar # if self.controller.toggle_grid: # Developer tool, Display grid coordinates if toggled # dt.draw_debug_line(self.screen, self.player_group) # Developer tool, Display mouse coordinates over cursor if toggled
self