@woosh/meep-engine 2.39.12 → 2.39.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,6 +16,7 @@ import { uint82float } from "../../../../core/binary/uint82float.js";
|
|
|
16
16
|
import { float2uint8 } from "../../../../core/binary/float2uint8.js";
|
|
17
17
|
import { isTypedArray } from "../../../../core/collection/array/typed/isTypedArray.js";
|
|
18
18
|
import { array_copy } from "../../../../core/collection/array/copyArray.js";
|
|
19
|
+
import { WHITE_PIXEL_DATA_URL } from "../../../graphics/WHITE_PIXEL_DATA_URL.js";
|
|
19
20
|
|
|
20
21
|
class Context {
|
|
21
22
|
/**
|
|
@@ -48,7 +49,6 @@ class Context {
|
|
|
48
49
|
|
|
49
50
|
const COLOR_UINT_8_TRANSPARENT = [0, 0, 0, 0];
|
|
50
51
|
|
|
51
|
-
|
|
52
52
|
export class TerrainOverlay {
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
@@ -69,11 +69,11 @@ export class TerrainOverlay {
|
|
|
69
69
|
*/
|
|
70
70
|
this.size = new Vector2(size.x, size.y);
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {ObservedString}
|
|
75
75
|
*/
|
|
76
|
-
this.tileImage = new ObservedString(
|
|
76
|
+
this.tileImage = new ObservedString(WHITE_PIXEL_DATA_URL);
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const WHITE_PIXEL_DATA_URL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII=";
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"productName": "Meep",
|
|
6
6
|
"description": "production-ready JavaScript game engine based on Entity Component System Architecture",
|
|
7
7
|
"author": "Alexander Goldring",
|
|
8
|
-
"version": "2.39.
|
|
8
|
+
"version": "2.39.13",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"gl-matrix": "3.4.3",
|
|
11
11
|
"fast-levenshtein": "2.0.6",
|