diff --git a/cowyeet.py b/cowyeet.py index 3844f60..517cc70 100644 --- a/cowyeet.py +++ b/cowyeet.py @@ -80,11 +80,14 @@ def load_block_texture(path: str): return pygame.transform.scale(texture, (40 * settings["level_size_multiplier"], 40 * settings["level_size_multiplier"])) +icon_texture = load_texture("textures/icon.png") +full_icon_texture = load_texture("textures/icon_full.png") +full_icon_texture = pygame.transform.scale(full_icon_texture, (260, 90)) stone_block_texture = load_block_texture("textures/terrain/stone_01.png") dirt_block_texture = load_block_texture("textures/terrain/dirt_01.png") grass_block_texture = load_block_texture("textures/terrain/grass_01.png") rock_block_texture = load_block_texture("textures/terrain/rock_01.png") -icon_texture = load_texture("textures/icon.png") + # coordinate calculations @@ -181,6 +184,7 @@ def blit_block(block, position: tuple): def main_menu_page(): + screen.blit(full_icon_texture, (center_x(full_icon_texture.get_width()), 128)) buttons[start_button].blit() diff --git a/textures/icon.png b/textures/icon.png index 787f1b9..afc07d9 100644 Binary files a/textures/icon.png and b/textures/icon.png differ diff --git a/textures/icon_full.png b/textures/icon_full.png new file mode 100644 index 0000000..787f1b9 Binary files /dev/null and b/textures/icon_full.png differ