Spaces:
Sleeping
Sleeping
File size: 1,289 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 |
export const DEFAULTTILESETPATH = "./tilesets/gentle.png";
//export const DEFAULTTILESETPATH = "./tilesets/magecity.png";
//export const DEFAULTTILESETPATH = "./tilesets/forest.png";
//export const DEFAULTTILESETPATH = "./tilesets/Serene.png";
//export const DEFAULTTILESETPATH = "./tilesets/gentletreewall.png";
//export const DEFAULTTILESETPATH = "./tilesets/Modern.png";
//export const DEFAULTTILESETPATH = "./tilesets/phantasy2.png";
export const tilesetpadding = 0;
export const DEFAULTILEDIMX = 32; // px
export const DEFAULTILEDIMY = 32; // px
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;
|