@adatechnology/game-terrain-three 0.3.1 → 0.4.0
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.
- package/dist/{chunk-JAVYWW3G.js → chunk-B5EA72GU.js} +23 -69
- package/dist/chunk-B5EA72GU.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.global.js +344 -74
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +326 -8
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +6 -4
- package/dist/testing.js +5 -3
- package/package.json +3 -3
- package/dist/chunk-JAVYWW3G.js.map +0 -1
|
@@ -14,35 +14,36 @@ var LOCALES = {
|
|
|
14
14
|
name: "Terrain",
|
|
15
15
|
group: "Terrain",
|
|
16
16
|
weight: "Concrete block (60 kg)",
|
|
17
|
-
surfaces: { dirt: "Dirt", lawn: "Lawn", sand: "Sand", road: "Asphalt", concrete_slab: "Concrete slab", suspended_slab: "Slab over a void", wood_floor: "Wood floor", tile_floor: "Tile", stone_paving: "Stone paving" }
|
|
17
|
+
surfaces: { dirt: "Dirt", lawn: "Lawn", sand: "Sand", road: "Asphalt", concrete_slab: "Concrete slab", suspended_slab: "Slab over a void", wood_floor: "Wood floor", tile_floor: "Tile", stone_paving: "Stone paving", mud: "Mud", gravel_bed: "Gravel", dry_clay: "Dry clay", snow: "Snow", cobblestone: "Cobblestones", paver_floor: "Concrete pavers", shallow_water: "Shallow water" }
|
|
18
18
|
},
|
|
19
19
|
"pt-BR": {
|
|
20
20
|
name: "Terreno",
|
|
21
21
|
group: "Terreno",
|
|
22
22
|
weight: "Bloco de concreto (60 kg)",
|
|
23
|
-
surfaces: { dirt: "Terra", lawn: "Grama", sand: "Areia", road: "Asfalto", concrete_slab: "Laje de concreto", suspended_slab: "Laje sobre v\xE3o", wood_floor: "Assoalho", tile_floor: "Cer\xE2mica", stone_paving: "Pedra" }
|
|
23
|
+
surfaces: { dirt: "Terra", lawn: "Grama", sand: "Areia", road: "Asfalto", concrete_slab: "Laje de concreto", suspended_slab: "Laje sobre v\xE3o", wood_floor: "Assoalho", tile_floor: "Cer\xE2mica", stone_paving: "Pedra", mud: "Lama", gravel_bed: "Cascalho", dry_clay: "Barro seco", snow: "Neve", cobblestone: "Paralelep\xEDpedo", paver_floor: "Bloquete", shallow_water: "\xC1gua rasa" }
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
var locale = (id) => LOCALES[id] ?? LOCALES.en;
|
|
27
27
|
|
|
28
28
|
// src/test-area/test-module.ts
|
|
29
|
-
var TERRAIN_STRIPS = ["
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
zones: TERRAIN_STRIPS.map((surface, index) => ({ rect: stripRect(index), surface }))
|
|
29
|
+
var TERRAIN_STRIPS = ["lawn", "dirt", "sand", "mud", "dry_clay", "gravel_bed", "snow", "shallow_water", "road", "cobblestone", "paver_floor", "stone_paving", "concrete_slab", "suspended_slab", "tile_floor", "wood_floor"];
|
|
30
|
+
var LOT_WIDTH = 3.4;
|
|
31
|
+
var LOT_DEPTH = 3.8;
|
|
32
|
+
var LOTS_PER_ROW = 8;
|
|
33
|
+
var LOTS_Z1 = -1.4;
|
|
34
|
+
var lotRect = (index) => {
|
|
35
|
+
const row = Math.floor(index / LOTS_PER_ROW);
|
|
36
|
+
const x0 = (index % LOTS_PER_ROW - LOTS_PER_ROW / 2) * LOT_WIDTH;
|
|
37
|
+
const z1 = LOTS_Z1 - (1 - row) * LOT_DEPTH;
|
|
38
|
+
return [x0, z1 - LOT_DEPTH, x0 + LOT_WIDTH, z1];
|
|
40
39
|
};
|
|
40
|
+
function terrainLotsGround(locale2 = "en") {
|
|
41
|
+
const text = locale(locale2);
|
|
42
|
+
return { surface: "concrete_slab", zones: TERRAIN_STRIPS.map((surface, index) => ({ rect: lotRect(index), surface, label: text.surfaces[surface] })) };
|
|
43
|
+
}
|
|
44
|
+
var TERRAIN_AREA_GROUND = terrainLotsGround();
|
|
41
45
|
var WEIGHT_SIDE = 0.32;
|
|
42
46
|
var WEIGHT_HEIGHT = 4;
|
|
43
|
-
var LABEL_Y = 0.02;
|
|
44
|
-
var LABEL_WIDTH = 2.6;
|
|
45
|
-
var LABEL_HEIGHT = 0.5;
|
|
46
47
|
function weightSpec() {
|
|
47
48
|
return { name: "Weight", parts: [{ id: "block", material: "concrete", shape: { kind: "box", size: [WEIGHT_SIDE, WEIGHT_SIDE, WEIGHT_SIDE] }, position: [0, WEIGHT_SIDE / 2, 0] }], joints: [] };
|
|
48
49
|
}
|
|
@@ -55,71 +56,23 @@ function buildWeight(THREE) {
|
|
|
55
56
|
root.add(mesh);
|
|
56
57
|
return root;
|
|
57
58
|
}
|
|
58
|
-
function buildLabel(THREE, text, x) {
|
|
59
|
-
if (typeof document === "undefined") return null;
|
|
60
|
-
const canvas = document.createElement("canvas");
|
|
61
|
-
canvas.width = 512;
|
|
62
|
-
canvas.height = 96;
|
|
63
|
-
const context = canvas.getContext("2d");
|
|
64
|
-
if (!context) return null;
|
|
65
|
-
context.fillStyle = "rgba(0,0,0,0.55)";
|
|
66
|
-
context.fillRect(0, 0, 512, 96);
|
|
67
|
-
context.fillStyle = "#fff";
|
|
68
|
-
context.font = "bold 54px sans-serif";
|
|
69
|
-
context.textAlign = "center";
|
|
70
|
-
context.textBaseline = "middle";
|
|
71
|
-
context.fillText(text, 256, 50);
|
|
72
|
-
const mesh = new THREE.Mesh(new THREE.PlaneGeometry(LABEL_WIDTH, LABEL_HEIGHT), new THREE.MeshBasicMaterial({ map: new THREE.CanvasTexture(canvas), transparent: true }));
|
|
73
|
-
markKitOrigin(mesh, { owner: "game-terrain-three", kind: "room" });
|
|
74
|
-
mesh.rotation.set(-Math.PI / 2, 0, Math.PI);
|
|
75
|
-
mesh.position.set(x, LABEL_Y, STRIP_Z0 - LABEL_HEIGHT);
|
|
76
|
-
return mesh;
|
|
77
|
-
}
|
|
78
59
|
function createTerrainTestModule(options = {}) {
|
|
79
|
-
let labels = [];
|
|
80
60
|
const text = locale(options.locale ?? "en");
|
|
81
61
|
return {
|
|
82
62
|
id: "terrain",
|
|
83
63
|
name: text.name,
|
|
84
64
|
group: text.group,
|
|
85
|
-
ground:
|
|
65
|
+
ground: terrainLotsGround(options.locale ?? "en"),
|
|
86
66
|
items() {
|
|
87
67
|
return [{ id: "terrain_weight", name: text.weight, build: (THREE) => buildWeight(THREE), spec: weightSpec, movable: true }];
|
|
88
68
|
},
|
|
89
69
|
area() {
|
|
90
|
-
for (const label of labels) label.visible = true;
|
|
91
70
|
return {
|
|
92
71
|
placements: TERRAIN_STRIPS.map((_, index) => {
|
|
93
|
-
const [x0] =
|
|
94
|
-
return { item: "terrain_weight", position: [x0 +
|
|
72
|
+
const [x0, z0] = lotRect(index);
|
|
73
|
+
return { item: "terrain_weight", position: [x0 + LOT_WIDTH / 2, WEIGHT_HEIGHT, z0 + 1.2] };
|
|
95
74
|
}),
|
|
96
|
-
view: { eye: [0, 1.7, 1.5], target: [0, 0,
|
|
97
|
-
};
|
|
98
|
-
},
|
|
99
|
-
attach(host) {
|
|
100
|
-
const THREE = host.THREE;
|
|
101
|
-
const scene = host.scene;
|
|
102
|
-
labels = TERRAIN_STRIPS.flatMap((surface, index) => {
|
|
103
|
-
const [x0] = stripRect(index);
|
|
104
|
-
const label = buildLabel(THREE, text.surfaces[surface], x0 + STRIP_WIDTH / 2);
|
|
105
|
-
if (!label) return [];
|
|
106
|
-
label.visible = false;
|
|
107
|
-
scene.add(label);
|
|
108
|
-
return [label];
|
|
109
|
-
});
|
|
110
|
-
const stop = host.onClear?.(() => {
|
|
111
|
-
for (const label of labels) label.visible = false;
|
|
112
|
-
});
|
|
113
|
-
return () => {
|
|
114
|
-
stop?.();
|
|
115
|
-
for (const label of labels) {
|
|
116
|
-
label.removeFromParent();
|
|
117
|
-
const mesh = label;
|
|
118
|
-
mesh.geometry.dispose();
|
|
119
|
-
mesh.material.map?.dispose();
|
|
120
|
-
mesh.material.dispose();
|
|
121
|
-
}
|
|
122
|
-
labels = [];
|
|
75
|
+
view: { eye: [0, 1.7, 1.5], target: [0, 0, -6] }
|
|
123
76
|
};
|
|
124
77
|
}
|
|
125
78
|
};
|
|
@@ -128,7 +81,8 @@ function createTerrainTestModule(options = {}) {
|
|
|
128
81
|
export {
|
|
129
82
|
terrainProfileName,
|
|
130
83
|
TERRAIN_STRIPS,
|
|
84
|
+
terrainLotsGround,
|
|
131
85
|
TERRAIN_AREA_GROUND,
|
|
132
86
|
createTerrainTestModule
|
|
133
87
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-B5EA72GU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/test-area/test-module.ts","../src/test-area/locale.ts"],"sourcesContent":["import type * as THREE_NS from 'three'\nimport { markKitOrigin } from '@adatechnology/game-contracts'\nimport type { DestructibleSpec, GroundLayout, ModuleArea, TestableItem, TestableModule } from '@adatechnology/game-contracts'\nimport { locale as localeTable } from './locale'\n\ntype ThreeLib = typeof THREE_NS\n\n/** The lots of the area, side by side in two rows, one of each ground: soft ones in the back row, built ones in front. */\nexport const TERRAIN_STRIPS = ['lawn', 'dirt', 'sand', 'mud', 'dry_clay', 'gravel_bed', 'snow', 'shallow_water', 'road', 'cobblestone', 'paver_floor', 'stone_paving', 'concrete_slab', 'suspended_slab', 'tile_floor', 'wood_floor'] as const\nconst LOT_WIDTH = 3.4\nconst LOT_DEPTH = 3.8\nconst LOTS_PER_ROW = 8\n/** Between the target wall and the table of the room: what the player sees on arriving, and clear of the furniture. */\nconst LOTS_Z1 = -1.4\nconst lotRect = (index: number): readonly [number, number, number, number] => {\n const row = Math.floor(index / LOTS_PER_ROW)\n const x0 = ((index % LOTS_PER_ROW) - LOTS_PER_ROW / 2) * LOT_WIDTH\n // the first row is the far one\n const z1 = LOTS_Z1 - (1 - row) * LOT_DEPTH\n return [x0, z1 - LOT_DEPTH, x0 + LOT_WIDTH, z1]\n}\n\n/** A lot of each ground, with its sign. A host lays it to give a room every ground to try (`createTestRoom`'s `ground`). */\nexport function terrainLotsGround(locale = 'en'): GroundLayout {\n const text = localeTable(locale)\n return { surface: 'concrete_slab', zones: TERRAIN_STRIPS.map((surface, index) => ({ rect: lotRect(index), surface, label: text.surfaces[surface] })) }\n}\nexport const TERRAIN_AREA_GROUND: GroundLayout = terrainLotsGround()\n\nconst WEIGHT_SIDE = 0.32\nconst WEIGHT_HEIGHT = 4\n\nfunction weightSpec(): DestructibleSpec {\n return { name: 'Weight', parts: [{ id: 'block', material: 'concrete', shape: { kind: 'box', size: [WEIGHT_SIDE, WEIGHT_SIDE, WEIGHT_SIDE] }, position: [0, WEIGHT_SIDE / 2, 0] }], joints: [] }\n}\n\nfunction buildWeight(THREE: ThreeLib): THREE_NS.Object3D {\n const mesh = new THREE.Mesh(new THREE.BoxGeometry(WEIGHT_SIDE, WEIGHT_SIDE, WEIGHT_SIDE), new THREE.MeshStandardMaterial({ color: 0xb4b4ae, roughness: 0.9 }))\n mesh.name = 'block'\n mesh.position.y = WEIGHT_SIDE / 2\n mesh.castShadow = true\n const root = markKitOrigin(new THREE.Group(), { owner: 'game-terrain-three', kind: 'item' })\n root.add(mesh)\n return root\n}\n\n/**\n * The ground bench: a lot of each surface side by side to shoot, blow up, burn and drop weights on. Opening the area lays the lots with their signs (`ground`) and drops a concrete block\n * on each from four metres.\n */\nexport function createTerrainTestModule(options: { readonly locale?: string } = {}): TestableModule {\n const text = localeTable(options.locale ?? 'en')\n return {\n id: 'terrain',\n name: text.name,\n group: text.group,\n ground: terrainLotsGround(options.locale ?? 'en'),\n items(): TestableItem[] {\n return [{ id: 'terrain_weight', name: text.weight, build: (THREE) => buildWeight(THREE as ThreeLib), spec: weightSpec, movable: true }]\n },\n area(): ModuleArea {\n return {\n placements: TERRAIN_STRIPS.map((_, index) => {\n const [x0, z0] = lotRect(index)\n return { item: 'terrain_weight', position: [x0 + LOT_WIDTH / 2, WEIGHT_HEIGHT, z0 + 1.2] }\n }),\n view: { eye: [0, 1.7, 1.5], target: [0, 0, -6] },\n }\n },\n }\n}\n","import type { TERRAIN_STRIPS } from './test-module'\n\n/** The ground profiles of the catalogue (`TERRAIN_PROFILES` of game-terrain) by name, for a HUD that says what the floor under the aim is. */\nconst PROFILE_NAMES: Record<string, Record<string, string>> = {\n en: { lawn: 'Lawn', dirt: 'Dirt', sand: 'Sand', road: 'Asphalt road', concrete_slab: 'Concrete slab', suspended_slab: 'Slab over a void', tile_floor: 'Tile floor', wood_floor: 'Wood floor', stone_paving: 'Stone paving' },\n 'pt-BR': { lawn: 'Grama', dirt: 'Terra', sand: 'Areia', road: 'Asfalto', concrete_slab: 'Laje de concreto', suspended_slab: 'Laje sobre vão', tile_floor: 'Piso cerâmico', wood_floor: 'Assoalho', stone_paving: 'Calçamento de pedra' },\n}\n\n/** The name of a ground profile in the locale (`en` when the locale is unknown); a profile a game added without a name answers its id. */\nexport function terrainProfileName(profileId: string, localeId: string): string {\n return (PROFILE_NAMES[localeId] ?? PROFILE_NAMES.en!)[profileId] ?? profileId\n}\n\ninterface TerrainText {\n readonly name: string\n readonly group: string\n readonly weight: string\n readonly surfaces: Record<(typeof TERRAIN_STRIPS)[number], string>\n}\n\nconst LOCALES: Record<string, TerrainText> = {\n en: {\n name: 'Terrain',\n group: 'Terrain',\n weight: 'Concrete block (60 kg)',\n surfaces: { dirt: 'Dirt', lawn: 'Lawn', sand: 'Sand', road: 'Asphalt', concrete_slab: 'Concrete slab', suspended_slab: 'Slab over a void', wood_floor: 'Wood floor', tile_floor: 'Tile', stone_paving: 'Stone paving', mud: 'Mud', gravel_bed: 'Gravel', dry_clay: 'Dry clay', snow: 'Snow', cobblestone: 'Cobblestones', paver_floor: 'Concrete pavers', shallow_water: 'Shallow water' },\n },\n 'pt-BR': {\n name: 'Terreno',\n group: 'Terreno',\n weight: 'Bloco de concreto (60 kg)',\n surfaces: { dirt: 'Terra', lawn: 'Grama', sand: 'Areia', road: 'Asfalto', concrete_slab: 'Laje de concreto', suspended_slab: 'Laje sobre vão', wood_floor: 'Assoalho', tile_floor: 'Cerâmica', stone_paving: 'Pedra', mud: 'Lama', gravel_bed: 'Cascalho', dry_clay: 'Barro seco', snow: 'Neve', cobblestone: 'Paralelepípedo', paver_floor: 'Bloquete', shallow_water: 'Água rasa' },\n },\n}\n\nexport const locale = (id: string): TerrainText => LOCALES[id] ?? LOCALES.en!\n"],"mappings":";AACA,SAAS,qBAAqB;;;ACE9B,IAAM,gBAAwD;AAAA,EAC5D,IAAI,EAAE,MAAM,QAAQ,MAAM,QAAQ,MAAM,QAAQ,MAAM,gBAAgB,eAAe,iBAAiB,gBAAgB,oBAAoB,YAAY,cAAc,YAAY,cAAc,cAAc,eAAe;AAAA,EAC3N,SAAS,EAAE,MAAM,SAAS,MAAM,SAAS,MAAM,SAAS,MAAM,WAAW,eAAe,oBAAoB,gBAAgB,qBAAkB,YAAY,oBAAiB,YAAY,YAAY,cAAc,yBAAsB;AACzO;AAGO,SAAS,mBAAmB,WAAmB,UAA0B;AAC9E,UAAQ,cAAc,QAAQ,KAAK,cAAc,IAAK,SAAS,KAAK;AACtE;AASA,IAAM,UAAuC;AAAA,EAC3C,IAAI;AAAA,IACF,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU,EAAE,MAAM,QAAQ,MAAM,QAAQ,MAAM,QAAQ,MAAM,WAAW,eAAe,iBAAiB,gBAAgB,oBAAoB,YAAY,cAAc,YAAY,QAAQ,cAAc,gBAAgB,KAAK,OAAO,YAAY,UAAU,UAAU,YAAY,MAAM,QAAQ,aAAa,gBAAgB,aAAa,mBAAmB,eAAe,gBAAgB;AAAA,EAC3X;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU,EAAE,MAAM,SAAS,M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|
-
export { TERRAIN_AREA_GROUND, TERRAIN_STRIPS, createTerrainTestModule } from './testing.js';
|
|
3
|
+
export { TERRAIN_AREA_GROUND, TERRAIN_STRIPS, createTerrainTestModule, terrainLotsGround } from './testing.js';
|
|
4
4
|
import '@adatechnology/game-contracts';
|
|
5
5
|
|
|
6
6
|
type ThreeLib$1 = typeof THREE_NS;
|