-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
19 lines (19 loc) · 959 Bytes
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import pyglet
import ConfigParser
gameconfig = ConfigParser.ConfigParser()
gameconfig.readfp(open("conf/game.conf"))
WINHEIGHT = gameconfig.getint('resolution', 'height')
WINWIDTH = gameconfig.getint('resolution', 'width')
DEBUG = gameconfig.getboolean('debug', 'debug')
RUNNERBACK = pyglet.image.load("assets/images/runner_back.jpg")
CORPBACK = pyglet.image.load("assets/images/corp_back.jpg")
FIVEBITTOKEN = pyglet.image.load("assets/images/5bit.png")
ONEBITTOKEN = pyglet.image.load("assets/images/bit.png")
#RND = pyglet.image.load("assets/images/rnd.png")
ARCHIVES = pyglet.image.load("assets/images/archives.png")
DRAGGER = pyglet.image.load("assets/images/dragger.png")
TAG = pyglet.image.load("assets/images/tag.png")
BADPUBLICITY = pyglet.image.load("assets/images/badpublicity.png")
#BG = pyglet.image.load("assets/images/bg.gif")
BRAINDAMAGE = pyglet.image.load("assets/images/braindamage.png")
VIRUS = pyglet.image.load("assets/images/virus.png")