mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 00:21:04 +00:00
58 lines
793 B
JavaScript
58 lines
793 B
JavaScript
var CONST = {
|
|
|
|
VERSION: '3.0.0',
|
|
|
|
AUTO: 0,
|
|
CANVAS: 1,
|
|
WEBGL: 2,
|
|
|
|
IMAGE: 20,
|
|
|
|
state: {
|
|
|
|
PENDING: 0,
|
|
INSTALLED: 1,
|
|
|
|
BOOT: 0,
|
|
INIT: 1,
|
|
PRELOAD: 2,
|
|
CREATE: 3,
|
|
UPDATE: 4,
|
|
RENDER: 5,
|
|
SHUTDOWN: 6
|
|
|
|
},
|
|
|
|
blendModes: {
|
|
|
|
NORMAL: 0,
|
|
ADD: 1,
|
|
MULTIPLY: 2,
|
|
SCREEN: 3,
|
|
OVERLAY: 4,
|
|
DARKEN: 5,
|
|
LIGHTEN: 6,
|
|
COLOR_DODGE: 7,
|
|
COLOR_BURN: 8,
|
|
HARD_LIGHT: 9,
|
|
SOFT_LIGHT: 10,
|
|
DIFFERENCE: 11,
|
|
EXCLUSION: 12,
|
|
HUE: 13,
|
|
SATURATION: 14,
|
|
COLOR: 15,
|
|
LUMINOSITY: 16
|
|
|
|
},
|
|
|
|
scaleModes: {
|
|
|
|
DEFAULT: 0,
|
|
LINEAR: 0,
|
|
NEAREST: 1
|
|
|
|
}
|
|
|
|
};
|
|
|
|
module.exports = CONST;
|