all repos — Legends-RPG @ cc33fef47c2a05a8fbfc55b7d32f72fb5ff0fd59

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'
16OVERWORLD = 'overworld'
17BROTHER_HOUSE = 'brother_house'
18
19##Colors
20
21BLACK = (0, 0, 0)
22NEAR_BLACK = (1, 0, 0)
23WHITE = (255, 255, 255)
24BLACK_BLUE = (19, 15, 48)
25NEAR_BLACK_BLUE = (20, 15, 48)
26LIGHT_BLUE = (0, 153, 204)
27DARK_RED = (118, 27, 12)
28
29
30MAIN_FONT = 'DroidSans'
31
32
33
34