diff --git a/src/constants.py b/src/constants.py index 7f3c8ea6b09c0c13961efc5acd38b5cd1fd4df94..e48a6823e55feb6588890e6da1031dfd1f8d82f9 100644 --- a/src/constants.py +++ b/src/constants.py @@ -22,6 +22,3 @@ constantBoxJump = 0.27 #COLORS backgroundColor = (11,10,15) -victoryColor = (48,56,35) -menuColor = (62, 118, 135) - diff --git a/src/graphics.py b/src/graphics.py index 0113b371afda0d8b8c1d66f801175de10732182d..3e6ee23cde90ab003a05cb6a81178021f09d5f56 100644 --- a/src/graphics.py +++ b/src/graphics.py @@ -1,28 +1,29 @@ -import math import pygame from levels import levels from constants import * from logic import Box, Player -tile_image = pygame.image.load('src/textures/brick.png') +tile_image = pygame.image.load('textures/brick.png') tile_image = pygame.transform.scale(tile_image, (tile_size, tile_size)) -button_image = pygame.image.load('src/textures/button_brick.png') +button_image = pygame.image.load('textures/button_brick.png') button_image = pygame.transform.scale(button_image, (tile_size, tile_size)) -flag_image = pygame.image.load('src/textures/flag.png') +flag_image = pygame.image.load('textures/flag.png') flag_image = pygame.transform.scale(flag_image, (tile_size, 2*tile_size)) -stop_on_image = pygame.image.load('src/textures/stop_on.png') +stop_on_image = pygame.image.load('textures/stop_on.png') stop_on_image = pygame.transform.scale(stop_on_image, (tile_size, tile_size)) -stop_off_image = pygame.image.load('src/textures/stop_off.png') +stop_off_image = pygame.image.load('textures/stop_off.png') stop_off_image = pygame.transform.scale(stop_off_image, (tile_size, tile_size)) -spikes_image = pygame.image.load('src/textures/spikes.png') +spikes_image = pygame.image.load('textures/spikes.png') spikes_image = pygame.transform.scale(spikes_image, (tile_size, tile_size)) -helpscreen = pygame.image.load('src/textures/helpscreen.png') + + +helpscreen = pygame.image.load('textures/helpscreen.png') helpscreen = pygame.transform.scale(helpscreen, (screen_dimensions[0], screen_dimensions[1])) helpscreen_copy = helpscreen.copy() @@ -30,32 +31,31 @@ alpha = 200 helpscreen_copy.fill((255, 255, 255, alpha), None, pygame.BLEND_RGBA_MULT) -player_sprite_idle_0 = pygame.image.load('src/textures/player_idle_0.png') + +player_sprite_idle_0 = pygame.image.load('textures/player_idle_0.png') player_sprite_idle_0 = pygame.transform.scale(player_sprite_idle_0, (player_dimensions[0], player_dimensions[1])) -player_sprite_right_0 = pygame.image.load('src/textures/player_right_0.png') +player_sprite_right_0 = pygame.image.load('textures/player_right_0.png') player_sprite_right_0 = pygame.transform.scale(player_sprite_right_0, (player_dimensions[0], player_dimensions[1])) -player_sprite_left_0 = pygame.image.load('src/textures/player_left_0.png') +player_sprite_left_0 = pygame.image.load('textures/player_left_0.png') player_sprite_left_0 = pygame.transform.scale(player_sprite_left_0, (player_dimensions[0], player_dimensions[1])) -player_sprite_idle_1 = pygame.image.load('src/textures/player_idle_1.png') +player_sprite_idle_1 = pygame.image.load('textures/player_idle_1.png') player_sprite_idle_1 = pygame.transform.scale(player_sprite_idle_1, (player_dimensions[0], player_dimensions[1])) -player_sprite_right_1 = pygame.image.load('src/textures/player_right_1.png') +player_sprite_right_1 = pygame.image.load('textures/player_right_1.png') player_sprite_right_1 = pygame.transform.scale(player_sprite_right_1, (player_dimensions[0], player_dimensions[1])) -player_sprite_left_1 = pygame.image.load('src/textures/player_left_1.png') +player_sprite_left_1 = pygame.image.load('textures/player_left_1.png') player_sprite_left_1 = pygame.transform.scale(player_sprite_left_1, (player_dimensions[0], player_dimensions[1])) -box_sprite = pygame.image.load('src/textures/box.png') +box_sprite = pygame.image.load('textures/box.png') box_sprite = pygame.transform.scale(box_sprite, (box_dimensions[0], box_dimensions[1])) -main_menu_image = pygame.image.load('src/textures/main_menu.png') - def convert_coords(coordinates): new_coords = [coordinates[0]*tile_size, (stage_dimensions[1] - coordinates[1])*tile_size] @@ -179,8 +179,8 @@ def drawInfo(screen, world): def drawHelpScreen(screen, world): font = pygame.font.SysFont('', 40) - helptext = font.render("Help: H", False, (255, 255, 255)) - screen.blit(helptext, (20, 20)) + helptext = font.render("help: H",False, (255, 255, 255)) + screen.blit(helptext, (screen_dimensions[0] - 120, screen_dimensions[1] - 40)) keys = pygame.key.get_pressed() if keys[pygame.K_h]: @@ -188,28 +188,8 @@ def drawHelpScreen(screen, world): def drawMenu(screen, game): - screen.blit(main_menu_image, (0, 0)) - pass - -def drawLevelSelect(screen, game): - iconWidth = 100 - iconSpacing = 40 - screen.fill(backgroundColor) - for index, level in enumerate(levels): - xCoord = index % 5 * (iconWidth + iconSpacing) + (screen_dimensions[0] - 5 * (iconWidth + iconSpacing))/2 - yCoord = math.floor(index / 5) * (iconWidth + iconSpacing) + (screen_dimensions[1] - 4 * (iconWidth + iconSpacing))/2 - pygame.draw.rect(screen, (0, 0, 0), [xCoord, yCoord, iconWidth, iconWidth]) - font = pygame.font.SysFont('', 100) - text = font.render(str(index+1), False, (255, 255, 255)) - if index < 9: - screen.blit(text, (xCoord + 32, yCoord + 20)) - else: - screen.blit(text, (xCoord + 12, yCoord + 20)) - - if game.selectedLevel == index: - pygame.draw.rect(screen, (255, 0, 0), [xCoord, yCoord, iconWidth, iconWidth], 10) - + pass def drawVictoryScreen(screen, game): screen.fill(backgroundColor) @@ -222,6 +202,6 @@ def drawVictoryScreen(screen, game): keys = pygame.key.get_pressed() if keys[pygame.K_SPACE]: - game.menu() + game.play(0) pass diff --git a/src/levels.py b/src/levels.py index 865a0f45faad93ab42d86c106774a0efa238441e..61531f9f7cd379c23c07ac7d57c4cf9bc059e0c7 100644 --- a/src/levels.py +++ b/src/levels.py @@ -239,73 +239,17 @@ levels = [ ['x', 'x', 'x', 'x', 'x', 's', 's', 's', 's', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'] ], [ - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'f', ' ', ' '], - [' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - [' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - [' ', ' ', ' ', 'x', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - [' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - [' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], + ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], + ['x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x'], + ['x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x'], + ['x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', ' ', 'f', ' ', 'x'], + ['x', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], + ['x', ' ', ' ', 'x', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], + ['x', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], + ['x', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], ['x', 'x', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - ['q', ' ', 'p', ' ', ' ', ' ', 'x', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 's', 's', 's', 'x', 'x', 'x', 'x', 'x'] - ], - [ - [' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', 'q', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - ['s', 'b', 's', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', 'x', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'y', 'x', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'a'], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', ' '], - [' ', ' ', 'p', ' ', ' ', ' ', 'x', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'f'], + ['x', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], + ['x', ' ', 'p', 'q', ' ', ' ', 'x', 'x', 'x', 'x', ' ', ' ', ' ', 'x', 'x', 'x', 'x', 'x'], ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 's', 's', 's', 'x', 'x', 'x', 'x', 'x'] - ], - [ - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', 'y', 'x', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', 'f'], - [' ', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', 'x', 'x', 'x', ' ', ' ', 'x', 'x'], - [' ', ' ', 'a', ' ', ' ', 'x', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x'], - [' ', ' ', 'a', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x'], - [' ', ' ', 'a', 'a', ' ', ' ', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x', 'x'], - [' ', ' ', 'a', 'a', ' ', 'p', ' ', ' ', 'x', ' ', ' ', ' ', ' ', ' ', ' ', 'q', 'x', 'x'], - ['s', 's', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - ], - [ - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - ['p', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'f'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - ], - [ - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], - ['p', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'f'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], - ['x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x'], ] ] \ No newline at end of file diff --git a/src/logic.py b/src/logic.py index d93a5623ecf720d4bab9f9d7463a494dffaf9493..e3a285f56a07ef44516c3a94237cb36cf7a13387 100644 --- a/src/logic.py +++ b/src/logic.py @@ -168,15 +168,22 @@ class Player: pygame.mixer.Channel(4).play(pygame.mixer.Sound('src/sounds/throw-sound.wav'), maxtime=600) self.box = None - def onInputEvent(self, world, event): - if event.key == pygame.K_f or event.key == pygame.K_RCTRL: - self.pickUp(world) - elif (event.key == pygame.K_UP or event.key == pygame.K_w or event.key == pygame.K_SPACE) and self.onTheGround: - pygame.mixer.Channel(3).set_volume(0.3) - pygame.mixer.Channel(3).play(pygame.mixer.Sound('src/sounds/jump-sound.wav'), maxtime=600) - self.velocity[1] = player_velocity[1] - self.onTheGround = False + for event in pygame.event.get(eventtype=pygame.KEYDOWN): + if event.key == pygame.K_f or event.key == pygame.K_RCTRL: + self.pickUp(world) + elif (event.key == pygame.K_UP or event.key == pygame.K_w or event.key == pygame.K_SPACE) and self.onTheGround: + pygame.mixer.Channel(3).set_volume(0.3) + pygame.mixer.Channel(3).play(pygame.mixer.Sound('src/sounds/jump-sound.wav'), maxtime=600) + self.velocity[1] = player_velocity[1] + self.onTheGround = False + elif event.key == pygame.K_r: + world.game.reset() + elif event.key == pygame.K_F2: + world.game.nextLevel() + elif event.key == pygame.K_F1: + world.game.previousLevel() + def pickUp(self, world): if self.box != None: self.box.drop() diff --git a/src/main.py b/src/main.py index 7fa347010d6208fc9d8adb20e55d4b322e83f159..0cfb48fc785b698c0b54645122885cb97d763f4a 100644 --- a/src/main.py +++ b/src/main.py @@ -16,10 +16,9 @@ class Game: self.size = (screen_dimensions[0], screen_dimensions[1]) self.screen = pygame.display.set_mode(self.size) pygame.display.set_caption("Box of Life") - self.selectedLevel = 0 self.world = None - self.menu() + self.play(0) def start(self): @@ -41,60 +40,11 @@ class Game: drawMenu(self.screen, self) elif self.state == "victory": drawVictoryScreen(self.screen, self) - elif self.state == "level select": - drawLevelSelect(self.screen, self) # --- Main event loop - for event in pygame.event.get(): + for event in pygame.event.get(eventtype=pygame.QUIT): if event.type == pygame.QUIT: # If user clicked close running = False - elif event.type == pygame.KEYDOWN: - if self.world != None: - for sprite in self.world.sprites: - if isinstance(sprite, Player): - sprite.onInputEvent(self.world, event) - if self.state == "game": - if event.key == pygame.K_r: - self.reset() - elif event.key == pygame.K_F2: - self.nextLevel() - elif event.key == pygame.K_F1: - self.previousLevel() - elif event.key == pygame.K_m: - self.menu() - elif self.state == "menu": - if event.key == pygame.K_SPACE: - self.play(0) - elif event.key == pygame.K_s: - self.levelSelect() - elif self.state == "victory": - if event.key == pygame.K_SPACE: - self.menu() - elif self.state == "level select": - if event.key == pygame.K_m: - self.menu() - if event.key == pygame.K_SPACE: - self.play(self.selectedLevel) - if event.key == pygame.K_a or event.key == pygame.K_LEFT: - if self.selectedLevel % 5 == 0: - self.selectedLevel += 4 - else: - self.selectedLevel -= 1 - elif event.key == pygame.K_d or event.key == pygame.K_RIGHT: - if self.selectedLevel % 5 == 4: - self.selectedLevel -= 4 - else: - self.selectedLevel += 1 - if event.key == pygame.K_w or event.key == pygame.K_UP: - if math.floor(self.selectedLevel / 5) == 0: - self.selectedLevel += 15 - else: - self.selectedLevel -= 5 - elif event.key == pygame.K_s or event.key == pygame.K_DOWN: - if math.floor(self.selectedLevel / 5) == 3: - self.selectedLevel -= 15 - else: - self.selectedLevel += 5 pygame.display.flip() @@ -128,10 +78,6 @@ class Game: self.world = None self.state = "menu" - def levelSelect(self): - self.state = "level select" - self.selectedLevel = 0 - def victory(self): self.world = None self.state = "victory" diff --git a/src/sounds/background-music.wav b/src/sounds/background-music.wav index 34fb74a412ec829e425bc1ef1853d3d431e94ae7..ce2a07f1a3f350fcdab3d99afa521834df74aab5 100644 Binary files a/src/sounds/background-music.wav and b/src/sounds/background-music.wav differ diff --git a/src/textures/helpscreen.png b/src/textures/helpscreen.png deleted file mode 100644 index 893ed7bc128acc637eb0ccccd03a06c217493379..0000000000000000000000000000000000000000 Binary files a/src/textures/helpscreen.png and /dev/null differ diff --git a/src/textures/main_menu.png b/src/textures/main_menu.png deleted file mode 100644 index ca843afe75876c4bf45f972828951babb5e80d6b..0000000000000000000000000000000000000000 Binary files a/src/textures/main_menu.png and /dev/null differ diff --git a/src/textures/box.png b/textures/box.png similarity index 100% rename from src/textures/box.png rename to textures/box.png diff --git a/src/textures/box3.png b/textures/box3.png similarity index 100% rename from src/textures/box3.png rename to textures/box3.png diff --git a/src/textures/brick.png b/textures/brick.png similarity index 100% rename from src/textures/brick.png rename to textures/brick.png diff --git a/src/textures/brick3.png b/textures/brick3.png similarity index 100% rename from src/textures/brick3.png rename to textures/brick3.png diff --git a/src/textures/button_brick.png b/textures/button_brick.png similarity index 100% rename from src/textures/button_brick.png rename to textures/button_brick.png diff --git a/src/textures/button_brick2.png b/textures/button_brick2.png similarity index 100% rename from src/textures/button_brick2.png rename to textures/button_brick2.png diff --git a/src/textures/flag.png b/textures/flag.png similarity index 100% rename from src/textures/flag.png rename to textures/flag.png diff --git a/src/textures/flag2.png b/textures/flag2.png similarity index 100% rename from src/textures/flag2.png rename to textures/flag2.png diff --git a/textures/helpscreen.png b/textures/helpscreen.png new file mode 100644 index 0000000000000000000000000000000000000000..a305c4afdb46d628de19b6d76bdb46c5c9484135 Binary files /dev/null and b/textures/helpscreen.png differ diff --git a/src/textures/player.png b/textures/player.png similarity index 100% rename from src/textures/player.png rename to textures/player.png diff --git a/src/textures/player_idle_0.png b/textures/player_idle_0.png similarity index 100% rename from src/textures/player_idle_0.png rename to textures/player_idle_0.png diff --git a/src/textures/player_idle_1.png b/textures/player_idle_1.png similarity index 100% rename from src/textures/player_idle_1.png rename to textures/player_idle_1.png diff --git a/src/textures/player_left_0.png b/textures/player_left_0.png similarity index 100% rename from src/textures/player_left_0.png rename to textures/player_left_0.png diff --git a/src/textures/player_left_1.png b/textures/player_left_1.png similarity index 100% rename from src/textures/player_left_1.png rename to textures/player_left_1.png diff --git a/src/textures/player_right_0.png b/textures/player_right_0.png similarity index 100% rename from src/textures/player_right_0.png rename to textures/player_right_0.png diff --git a/src/textures/player_right_1.png b/textures/player_right_1.png similarity index 100% rename from src/textures/player_right_1.png rename to textures/player_right_1.png diff --git a/src/textures/spikes.png b/textures/spikes.png similarity index 100% rename from src/textures/spikes.png rename to textures/spikes.png diff --git a/src/textures/spikes3.png b/textures/spikes3.png similarity index 100% rename from src/textures/spikes3.png rename to textures/spikes3.png diff --git a/src/textures/stop_off.png b/textures/stop_off.png similarity index 100% rename from src/textures/stop_off.png rename to textures/stop_off.png diff --git a/src/textures/stop_on.png b/textures/stop_on.png similarity index 100% rename from src/textures/stop_on.png rename to textures/stop_on.png