Skip to content

Commit

Permalink
Set default_background_colour to ensure it is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Jan 12, 2025
1 parent e60691c commit df4e8b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wincoll/wincoll_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _(message: str) -> str:
with warnings.catch_warnings():
warnings.simplefilter("ignore")
import pygame
from pygame import Vector2
from pygame import Color, Vector2


DIAMOND_IMAGE: pygame.Surface
Expand Down Expand Up @@ -85,9 +85,8 @@ def instructions() -> str:
)

screen_size = (640, 512)

window_size = (240, 240)

default_background_colour = Color(0, 0, 255)
window_scale = 2

def load_assets(self) -> None:
Expand Down

0 comments on commit df4e8b0

Please sign in to comment.