File size: 1,704 Bytes
90cbf22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//export const DEFAULTTILESETPATH = "./spritesheets/women.png";
//export const DEFAULTILEDIMX = 32; // px
//export const DEFAULTILEDIMY = 34; // px

//export const DEFAULTTILESETPATH = "./spritesheets/doll.png";
//export const DEFAULTILEDIMX = 48; // px
//export const DEFAULTILEDIMY = 48; // px

// export const DEFAULTTILESETPATH = "./spritesheets/peeps.png";
// export const DEFAULTILEDIMX = 48; // px
// export const DEFAULTILEDIMY = 96; // px

export const DEFAULTTILESETPATH = "./spritesheets/tall.png";
//export const DEFAULTTILESETPATH = "./spritesheets/Clothes_Hanging_1_32x32.png"
export const DEFAULTILEDIMX = 16; // px
export const DEFAULTILEDIMY = 16; // px

// export const DEFAULTTILESETPATH = "./spritesheets/wateranimate2.png";
// export const DEFAULTILEDIMX = 32; // px
// export const DEFAULTILEDIMY = 32; // px


// If there is padding between tilesets, set this to the pixel size
export const tilesetpadding = 0; 


// width / height of layer panes
export const levelwidth  = 2048; // px
export const levelheight = 1536; // px

export let leveltilewidth  = Math.floor(levelwidth / DEFAULTILEDIMX);
export let leveltileheight = Math.floor(levelheight / DEFAULTILEDIMX);

export const MAXTILEINDEX = leveltilewidth * leveltileheight;


// -- HTML

export const htmlLayerPaneW = 800;
export const htmlLayerPaneH = 600;

export const htmlTilesetPaneW = 800;
export const htmlTilesetPaneH = 600;

export const htmlCompositePaneW = 800;
export const htmlCompositePaneH = 600;

// --  zIndex

// 1-10 taken by layers
export const zIndexFilter           =  20;
export const zIndexMouseShadow      =  30;
export const zIndexGrid             =  50;
export const zIndexCompositePointer =  100;