changed sise and defaults
This commit is contained in:
parent
afcd0a29a7
commit
749cdf77a2
1 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@ import pygame
|
|||
|
||||
|
||||
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__()
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
@ -12,8 +12,9 @@ class Shooter(pygame.sprite.Sprite):
|
|||
self.rect = self.image.get_rect()
|
||||
self.speed = 3
|
||||
self.window_rect = window.get_rect()
|
||||
|
||||
self.score = 0
|
||||
self.OP = True
|
||||
self.OP = False
|
||||
self.level = 0
|
||||
self.lives = 3
|
||||
self.powerup = ""
|
||||
|
|
Reference in a new issue