1
Fork 0

changed sise and defaults

This commit is contained in:
Jake Howard 2015-05-09 23:55:14 +01:00
parent afcd0a29a7
commit 749cdf77a2

View file

@ -2,7 +2,7 @@ import pygame
class Shooter(pygame.sprite.Sprite): class Shooter(pygame.sprite.Sprite):
def __init__(self, window, color=(255,255,255), width=50, height=25): def __init__(self, window, color=(255,255,255), width=45, height=20):
super().__init__() super().__init__()
self.width = width self.width = width
self.height = height self.height = height
@ -12,8 +12,9 @@ class Shooter(pygame.sprite.Sprite):
self.rect = self.image.get_rect() self.rect = self.image.get_rect()
self.speed = 3 self.speed = 3
self.window_rect = window.get_rect() self.window_rect = window.get_rect()
self.score = 0 self.score = 0
self.OP = True self.OP = False
self.level = 0 self.level = 0
self.lives = 3 self.lives = 3
self.powerup = "" self.powerup = ""