Spaces:
Sleeping
Sleeping
Download src/editor/leconfig.js from hackathonM/Matou-Garou: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/spaces/hackathonM/Matou-Garou/resolve/main/src/editor/leconfig.js
- Command line
-
hf download hf://spaces/hackathonM/Matou-Garou/src/editor/leconfig.js
-
curl -L -o leconfig.js https://huggingface.co/spaces/hackathonM/Matou-Garou/resolve/main/src/editor/leconfig.js
1.29 kB
| 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; | |