all repos — Legends-RPG @ 1f20be8e2b5a053cf1399827b2df12350d0d0fc3

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'
15
16##Colors
17
18BLACK = (0, 0, 0)
19NEAR_BLACK = (1, 0, 0)
20WHITE = (255, 255, 255)
21BLACK_BLUE = (19, 15, 48)
22
23
24
25