all repos — Legends-RPG @ 39646be108cc46f9389d53efbb27244073e8e992

A fantasy mini-RPG built with Python and Pygame.

data/constants.py (view raw)

 1"""Constants used throughout the game"""
 2
 3SCREEN_SIZE = (800, 608)
 4
 5##GAME STATES"""
 6
 7TOWN = 'town'
 8MAIN_MENU = 'main menu'
 9CASTLE = 'castle'
10INN = 'Inn'
11POTION_SHOP = 'potion shop'
12ARMOR_SHOP = 'armor shop'
13WEAPON_SHOP = 'weapon shop'
14MAGIC_SHOP = 'magic shop'
15HOUSE = 'house'
16
17##Colors
18
19BLACK = (0, 0, 0)
20NEAR_BLACK = (1, 0, 0)
21WHITE = (255, 255, 255)
22BLACK_BLUE = (19, 15, 48)
23NEAR_BLACK_BLUE = (20, 15, 48)
24
25
26
27