2013-10-01 12:54:29 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2014-02-05 05:54:25 +00:00
|
|
|
* @copyright 2014 Photon Storm Ltd.
|
2013-10-01 12:54:29 +00:00
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2013-08-28 06:02:55 +00:00
|
|
|
/**
|
2013-10-03 01:38:35 +00:00
|
|
|
* @namespace Phaser
|
|
|
|
*/
|
2013-10-23 12:15:56 +00:00
|
|
|
var Phaser = Phaser || {
|
2013-08-29 06:06:16 +00:00
|
|
|
|
2013-10-23 12:15:56 +00:00
|
|
|
VERSION: '<%= version %>',
|
2014-02-27 17:00:14 +00:00
|
|
|
DEV_VERSION: '2.0',
|
2013-10-23 12:15:56 +00:00
|
|
|
GAMES: [],
|
2013-11-25 14:53:30 +00:00
|
|
|
|
2013-08-29 18:20:04 +00:00
|
|
|
AUTO: 0,
|
|
|
|
CANVAS: 1,
|
2013-09-12 20:54:41 +00:00
|
|
|
WEBGL: 2,
|
2013-11-25 14:53:30 +00:00
|
|
|
HEADLESS: 3,
|
2013-09-12 20:54:41 +00:00
|
|
|
|
|
|
|
SPRITE: 0,
|
|
|
|
BUTTON: 1,
|
2014-02-10 01:37:50 +00:00
|
|
|
IMAGE: 2,
|
2013-09-12 20:54:41 +00:00
|
|
|
GRAPHICS: 3,
|
|
|
|
TEXT: 4,
|
|
|
|
TILESPRITE: 5,
|
|
|
|
BITMAPTEXT: 6,
|
|
|
|
GROUP: 7,
|
|
|
|
RENDERTEXTURE: 8,
|
|
|
|
TILEMAP: 9,
|
|
|
|
TILEMAPLAYER: 10,
|
2013-09-23 21:23:17 +00:00
|
|
|
EMITTER: 11,
|
2013-11-07 06:10:15 +00:00
|
|
|
POLYGON: 12,
|
2013-11-13 20:57:09 +00:00
|
|
|
BITMAPDATA: 13,
|
2013-11-21 04:59:54 +00:00
|
|
|
CANVAS_FILTER: 14,
|
|
|
|
WEBGL_FILTER: 15,
|
2014-02-10 01:37:50 +00:00
|
|
|
ELLIPSE: 16,
|
2014-02-14 06:04:29 +00:00
|
|
|
SPRITEBATCH: 17,
|
|
|
|
BITMAPFONT: 18,
|
2013-09-23 21:23:17 +00:00
|
|
|
|
|
|
|
NONE: 0,
|
|
|
|
LEFT: 1,
|
|
|
|
RIGHT: 2,
|
|
|
|
UP: 3,
|
2014-01-31 04:14:02 +00:00
|
|
|
DOWN: 4,
|
|
|
|
|
2014-02-10 16:01:30 +00:00
|
|
|
DYNAMIC: 1,
|
|
|
|
STATIC: 2,
|
|
|
|
KINEMATIC: 4,
|
|
|
|
|
2014-02-21 14:50:18 +00:00
|
|
|
// the various blend modes supported by pixi / phaser
|
|
|
|
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
|
2014-02-25 04:40:44 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// the scale modes
|
|
|
|
scaleModes: {
|
|
|
|
DEFAULT:0,
|
|
|
|
LINEAR:0,
|
|
|
|
NEAREST:1
|
2014-02-21 14:50:18 +00:00
|
|
|
}
|
2013-08-29 06:06:16 +00:00
|
|
|
|
2014-02-06 12:29:07 +00:00
|
|
|
};
|
2013-09-08 23:30:44 +00:00
|
|
|
|
|
|
|
PIXI.InteractionManager = function (dummy) {
|
|
|
|
// We don't need this in Pixi, so we've removed it to save space
|
|
|
|
// however the Stage object expects a reference to it, so here is a dummy entry.
|
2013-10-23 12:15:56 +00:00
|
|
|
};
|