def __init__(self, stages, position=(0, 0), width=400): self.stages = stages self.position = position self.width = width self.cursor = 0 self.option_background = R.get_image("menu_option") self.lock_image = R.get_image("lock") self._init_cover()
def __init__(self, environment): super().__init__(environment) self.pattern_gen = Stage3.PatternGen(environment) self.background = R.get_image("stage3_bg") self.music = "stage3" self.id = 3
def __init__(self, environment): super().__init__(environment) self.pattern_gen = Stage5.PatternGen(environment) self.background = R.get_image("stage5_bg") self.music = "stage5" self.id = 5 config.G = 999999
def __init__(self, environment, position): super().__init__(environment, position) self.image = pygame.transform.scale(R.get_image("platform1"), self.size.int()) self.direction = 1 self.progress = 0.0 self.speed = 100
def __init__(self, size, position): self.size = size self.position = position self.is_new_record = False self.surface = pygame.Surface(self.size) self.background = pygame.transform.scale(R.get_image("black_board"), self.size) self.reset()
def __init__(self, scene, position=(0, 0)): self.scene = scene self.size = (600, 900) self.position = position self.is_hidden = True self.surface = pygame.Surface(self.size) self.ranking_list = RankingList((550, 600), (25, 150)) self.option_selector = OptionSelector((self.size[0], 50), (0, 750)) self.db = Database() self.background = R.get_image("ranking_bg") self.reset()
def __init__(self, environment, position): super().__init__(environment, position) self.image = pygame.transform.scale(R.get_image("platform2"), self.size.int()).convert_alpha()
def setup(self): self.background = R.get_image("menu_bg")
def __init__(self, environment, position): super().__init__(environment, position) self.image = pygame.transform.scale(R.get_image("platform1"), self.size.int()).convert_alpha() self.image.fill((255, 255, 255, 120), None, pygame.BLEND_RGBA_MULT)
def __init__(self): self.title = R.get_image("title") self.bliping_progress = 0.0
def __init__(self, environment, position): super().__init__(environment, position, 'Gravity Reducer') self.timer = Timer() self.image = pygame.transform.scale(R.get_image("gravity_reducer"), self.size.int())
def setup(self): self.background = Background(R.get_image("home_bg"), self.get_bound()) self.information_ui = Information()
def __init__(self, environment, position): super().__init__(environment, position, 'Sprint shoes') self.image = pygame.transform.scale(R.get_image("spring_shoes"), self.size.int())
def __init__(self, environment, position): super().__init__(environment, position, 'BB Wavegun') self.image = pygame.transform.scale(R.get_image("bb_wavegun"), self.size.int())