all repos — Legends-RPG @ cb2c441948d0a97c4525338090a60b636f5b8c09

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)
24LIGHT_BLUE = (0, 153, 204)
25DARK_RED = (118, 27, 12)
26
27
28MAIN_FONT = 'DroidSans'
29
30
31
32