diff --git a/resources/graphics/quit-inactive.png b/resources/graphics/quit-inactive.png new file mode 100644 index 0000000..e54220f Binary files /dev/null and b/resources/graphics/quit-inactive.png differ diff --git a/resources/graphics/quit-selected.png b/resources/graphics/quit-selected.png new file mode 100644 index 0000000..2cfae75 Binary files /dev/null and b/resources/graphics/quit-selected.png differ diff --git a/resources/graphics/restart-level-inactive.png b/resources/graphics/restart-level-inactive.png new file mode 100644 index 0000000..307c3df Binary files /dev/null and b/resources/graphics/restart-level-inactive.png differ diff --git a/resources/graphics/restart-level-selected.png b/resources/graphics/restart-level-selected.png new file mode 100644 index 0000000..c6acf4e Binary files /dev/null and b/resources/graphics/restart-level-selected.png differ diff --git a/robotgame.py b/robotgame.py index ed59326..145e314 100755 --- a/robotgame.py +++ b/robotgame.py @@ -70,6 +70,10 @@ if __name__ == '__main__': print("Display width: %d, display height: %d, fullscreen: %s" % (resolution[0], resolution[1], fullscreen)) + icon = os.path.abspath(os.path.join("resources", "graphics", "icon.png")) + pygame.display.set_icon(pygame.image.load(icon)) + pygame.display.set_caption("ROBOTGAME") + window = pygame.display.set_mode(resolution, pygame.FULLSCREEN if fullscreen else 0)