Matrix eyes: add skull
This commit is contained in:
parent
a162f7fb84
commit
e761a210f7
6 changed files with 19 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ from eyes.werewolf.data import EYE_DATA
|
|||
#from eyes.cyclops.data import EYE_DATA
|
||||
#from eyes.kobold.data import EYE_DATA
|
||||
#from eyes.adabot.data import EYE_DATA
|
||||
#from eyes.skull.data import EYE_DATA
|
||||
|
||||
# UTILITY FUNCTIONS AND CLASSES --------------------------------------------
|
||||
|
||||
|
|
|
|||
18
Matrix_Portal_Eyes/eyes/skull/data.py
Executable file
18
Matrix_Portal_Eyes/eyes/skull/data.py
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
""" Configuration data for the skull eyes """
|
||||
# Photo by Lina White on Unsplash: https://unsplash.com/photos/K9nxgkYf-RI
|
||||
EYE_PATH = __file__[:__file__.rfind('/') + 1]
|
||||
EYE_DATA = {
|
||||
'eye_image' : EYE_PATH + 'skull-eyes.bmp',
|
||||
'upper_lid_image' : EYE_PATH + 'skull-upper-lids.bmp',
|
||||
'lower_lid_image' : EYE_PATH + 'skull-lower-lids.bmp',
|
||||
'stencil_image' : EYE_PATH + 'skull-stencil.bmp',
|
||||
'transparent' : (255, 0, 0), # Transparent color in above images
|
||||
'eye_move_min' : (1, -4), # eye_image (left, top) move limit
|
||||
'eye_move_max' : (11, 5), # eye_image (right, bottom) move limit
|
||||
'upper_lid_open' : (11, -6), # upper_lid_image pos when open
|
||||
'upper_lid_center' : (11, -3), # " when eye centered
|
||||
'upper_lid_closed' : (11, 5), # " when closed
|
||||
'lower_lid_open' : (11, 17), # lower_lid_image pos when open
|
||||
'lower_lid_center' : (11, 16), # " when eye centered
|
||||
'lower_lid_closed' : (11, 13), # " when closed
|
||||
}
|
||||
BIN
Matrix_Portal_Eyes/eyes/skull/skull-eyes.bmp
Executable file
BIN
Matrix_Portal_Eyes/eyes/skull/skull-eyes.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Matrix_Portal_Eyes/eyes/skull/skull-lower-lids.bmp
Executable file
BIN
Matrix_Portal_Eyes/eyes/skull/skull-lower-lids.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Matrix_Portal_Eyes/eyes/skull/skull-stencil.bmp
Executable file
BIN
Matrix_Portal_Eyes/eyes/skull/skull-stencil.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Matrix_Portal_Eyes/eyes/skull/skull-upper-lids.bmp
Executable file
BIN
Matrix_Portal_Eyes/eyes/skull/skull-upper-lids.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue