2023-03-08 03:06:29 +00:00
|
|
|
FPS = 60
|
|
|
|
|
|
|
|
# for use with label alignment_enum
|
|
|
|
ALIGN_LEFT = 0
|
|
|
|
ALIGN_CENTER = 1
|
|
|
|
ALIGN_RIGHT = 2
|
|
|
|
|
|
|
|
# for use with blendmode_enum
|
|
|
|
BLEND_NONE = 0
|
|
|
|
BLEND_ALPHA = 1
|
|
|
|
BLEND_ADDITIVE = 2
|
|
|
|
BLEND_MODULO = 3
|
|
|
|
BLEND_MULTIPLY = 4
|
|
|
|
|
|
|
|
# A basic color palette; customize for your needs!
|
|
|
|
# Use with `#merge!` into your Hash data structures or pass as a parameter into
|
|
|
|
# methods that support color
|
|
|
|
TRUE_BLACK = { r: 0, g: 0, b: 0 }
|
|
|
|
BLACK = { r: 25, g: 25, b: 25 }
|
|
|
|
GRAY = { r: 157, g: 157, b: 157 }
|
|
|
|
WHITE = { r: 255, g: 255, b: 255 }
|
|
|
|
|
|
|
|
BLUE = { r: 42, g: 133, b: 216 }
|
|
|
|
GREEN = { r: 42, g: 216, b: 78 }
|
|
|
|
ORANGE = { r: 255, g: 173, b: 31 }
|
|
|
|
PINK = { r: 245, g: 146, b: 198 }
|
|
|
|
PURPLE = { r: 133, g: 42, b: 216 }
|
|
|
|
RED = { r: 231, g: 89, b: 82 }
|
2023-04-11 06:26:39 +00:00
|
|
|
YELLOW = { r: 255, g: 200, b: 5 }
|
2023-03-08 03:06:29 +00:00
|
|
|
|
|
|
|
DARK_BLUE = { r: 22, g: 122, b: 188 }
|
|
|
|
DARK_GREEN = { r: 5, g: 84, b: 12 }
|
|
|
|
DARK_PURPLE = { r: 66, g: 12, b: 109 }
|
|
|
|
DARK_PURPLE = { r: 103, g: 5, b: 98 }
|
|
|
|
DARK_RED = { r: 214, g: 26, b: 12 }
|
|
|
|
DARK_YELLOW = { r: 120, g: 97, b: 7 }
|
|
|
|
|
|
|
|
DIR_DOWN = :down
|
|
|
|
DIR_UP = :up
|
|
|
|
DIR_LEFT = :left
|
|
|
|
DIR_RIGHT = :right
|