(name, w = 64, h = 64)
| 15 | const FLIP_AD_BIT = 1 << 2; |
| 16 | |
| 17 | function fakeImage(name, w = 64, h = 64) { |
| 18 | const canvas = document.createElement("canvas"); |
| 19 | canvas.width = w; |
| 20 | canvas.height = h; |
| 21 | imgList[name] = canvas; |
| 22 | return canvas; |
| 23 | } |
| 24 | |
| 25 | const tilesetData = { |
| 26 | firstgid: 1, |