From 993c8a9093f37a04fad33e2ca41b237eb2ada78d Mon Sep 17 00:00:00 2001 From: KirbyZX Date: Thu, 13 Apr 2017 18:29:11 +0100 Subject: [PATCH] ? --- Level/platform.py | 2 +- constants.py | 2 +- main.py | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Level/platform.py b/Level/platform.py index ca05516..3660790 100644 --- a/Level/platform.py +++ b/Level/platform.py @@ -14,6 +14,6 @@ def __init__(self): super().__init__() self.image = pygame.Surface([50, 10]) - self.image.fill(PURPLE) + self.image.fill(MAGENTA) self.rect = self.image.get_rect() diff --git a/constants.py b/constants.py index 8fa7311..fa1ac8f 100644 --- a/constants.py +++ b/constants.py @@ -8,7 +8,7 @@ BLUE = (0, 0, 255) CYAN = (0, 255, 255) YELLOW = (255, 255, 0) -PURPLE = (255, 0, 255) +MAGENTA = (255, 0, 255) # Screen dimensions SCREEN_WIDTH = 1000 diff --git a/main.py b/main.py index 9c1820c..8cd53bb 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,4 @@ import time - import pygame from Animate.player import Player @@ -29,9 +28,6 @@ def main(): player = Player() enemy = Rifleman(player) - # Lives Calculation - # lives = Player().lives() - # Set caption and icon pygame.display.set_caption("Level Zero") pygame.display.set_icon(pygame.transform.scale(player.running_frames_r[0], [32, 32]))