2023-05-17 11:25:07 +00:00
|
|
|
import pygame
|
|
|
|
|
|
|
|
bg_color = pygame.Color('cornsilk4')
|
2023-05-18 05:30:15 +00:00
|
|
|
bar_color = pygame.Color('white')
|
2023-05-17 11:25:07 +00:00
|
|
|
red = pygame.Color('brown4')
|
|
|
|
blue = pygame.Color('cadetblue3')
|
|
|
|
green = pygame.Color('green3')
|
2023-05-18 07:35:26 +00:00
|
|
|
grey = pygame.Color("gray26")
|
2023-05-17 11:25:07 +00:00
|
|
|
black = pygame.Color("black")
|
|
|
|
|
|
|
|
tile = 34
|
|
|
|
tileCountx = 50
|
2023-05-17 12:09:48 +00:00
|
|
|
tileCounty = 25
|
2023-05-17 11:25:07 +00:00
|
|
|
|
2023-05-18 05:30:15 +00:00
|
|
|
bottomBarHeight = 100
|
|
|
|
|
2023-05-17 11:25:07 +00:00
|
|
|
screen_width = tile * tileCountx
|
2023-05-18 05:30:15 +00:00
|
|
|
screen_height = tile * tileCounty + bottomBarHeight
|
2023-05-17 13:05:04 +00:00
|
|
|
|
2023-05-18 05:30:15 +00:00
|
|
|
# Game Entity Arrays
|
2023-05-17 13:05:04 +00:00
|
|
|
gameMap = []
|
|
|
|
players = {}
|
|
|
|
enemies = {}
|