@adatechnology/game-crowd-three 0.5.1 → 0.5.3
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/index.global.js +35 -7
- package/dist/index.global.js.map +1 -1
- package/package.json +8 -8
package/dist/index.global.js
CHANGED
|
@@ -53,6 +53,7 @@ var GameCrowdThree = (() => {
|
|
|
53
53
|
const length = Math.hypot(direction[0], direction[1], direction[2]);
|
|
54
54
|
return { speed, direction: [direction[0] / length, direction[1] / length, direction[2] / length], distance: distance2, falloff };
|
|
55
55
|
}
|
|
56
|
+
var DEFAULT_BLAST_IMPULSE = { bodyArea: 0.7, lift: 0.15, minSpeed: 0.3, tntPerJoule: 0.24 / 2e5 };
|
|
56
57
|
var DEFAULT_COST_ALLOCATION_BYTES = 1024 * 1024;
|
|
57
58
|
var MISSING_BITS = {
|
|
58
59
|
head: 1,
|
|
@@ -1511,7 +1512,7 @@ var GameCrowdThree = (() => {
|
|
|
1511
1512
|
var POSE_CLIPS = pose_clips_default.clips;
|
|
1512
1513
|
var POSE_CLIP_LOCALES = pose_clips_default.locales;
|
|
1513
1514
|
|
|
1514
|
-
// ../game-audio/dist/chunk-
|
|
1515
|
+
// ../game-audio/dist/chunk-KBTUANNG.js
|
|
1515
1516
|
var DISTANCE_CURVES = {
|
|
1516
1517
|
/** The game's `sfx`: `vol / (1 + d² × 0.004)`, cutoff `/ (1 + d × 0.01)`, silent below 0.01 (jogo L62091–62092, L62101). */
|
|
1517
1518
|
game_sfx: { model: "inverse_square", k: 4e-3, cutoffK: 0.01, minGain: 0.01 },
|
|
@@ -1724,7 +1725,11 @@ var GameCrowdThree = (() => {
|
|
|
1724
1725
|
["casing_drop_terra_pistol", 1],
|
|
1725
1726
|
["casing_drop_terra_rifle", 1],
|
|
1726
1727
|
["casing_drop_terra_shell", 1],
|
|
1727
|
-
["rocket_fire", 2]
|
|
1728
|
+
["rocket_fire", 2],
|
|
1729
|
+
["smg_45_auto", 2, "sfx_pistol"],
|
|
1730
|
+
["weapon_draw", 2],
|
|
1731
|
+
["suppressor_attach", 3],
|
|
1732
|
+
["suppressor_detach", 3]
|
|
1728
1733
|
]),
|
|
1729
1734
|
...entries("explosoes-fogo", [
|
|
1730
1735
|
["explosion_grenade", 1, "boom"],
|
|
@@ -1738,7 +1743,11 @@ var GameCrowdThree = (() => {
|
|
|
1738
1743
|
["fire_loop_large", 1],
|
|
1739
1744
|
["fire_extinguish", 2, "hiss"],
|
|
1740
1745
|
["gas_leak_hiss", 2],
|
|
1741
|
-
["structure_collapse", 2, "crumble"]
|
|
1746
|
+
["structure_collapse", 2, "crumble"],
|
|
1747
|
+
["grenade_bounce", 1],
|
|
1748
|
+
["c4_plant", 2],
|
|
1749
|
+
["c4_beep", 2],
|
|
1750
|
+
["c4_disarm", 2]
|
|
1742
1751
|
]),
|
|
1743
1752
|
...entries("personagem", [
|
|
1744
1753
|
["footstep_concrete_walk", 1, "sfx_step"],
|
|
@@ -1754,7 +1763,19 @@ var GameCrowdThree = (() => {
|
|
|
1754
1763
|
["blunt_hit", 1],
|
|
1755
1764
|
["bite", 1, "sfx_flesh"],
|
|
1756
1765
|
["body_fall", 1],
|
|
1757
|
-
["player_hurt", 2]
|
|
1766
|
+
["player_hurt", 2],
|
|
1767
|
+
["footstep_tile_walk", 1, "sfx_step"],
|
|
1768
|
+
["footstep_water_walk", 1, "sfx_step"],
|
|
1769
|
+
["footstep_grate_walk", 2, "sfx_step"],
|
|
1770
|
+
["footstep_duct_walk", 3, "sfx_step"],
|
|
1771
|
+
["ladder_climb", 2],
|
|
1772
|
+
["swim", 2],
|
|
1773
|
+
["zombie_groan", 1],
|
|
1774
|
+
["zombie_alert", 1],
|
|
1775
|
+
["zombie_attack", 1],
|
|
1776
|
+
["zombie_pain", 1],
|
|
1777
|
+
["zombie_claw_hit", 1, "sfx_flesh"],
|
|
1778
|
+
["zombie_claw_miss", 2]
|
|
1758
1779
|
]),
|
|
1759
1780
|
...entries("veiculos", [
|
|
1760
1781
|
["engine_loop_car", 1],
|
|
@@ -1782,7 +1803,8 @@ var GameCrowdThree = (() => {
|
|
|
1782
1803
|
["wind_loop", 2],
|
|
1783
1804
|
["thunder_near", 2],
|
|
1784
1805
|
["thunder_far", 2],
|
|
1785
|
-
["water_splash", 2]
|
|
1806
|
+
["water_splash", 2],
|
|
1807
|
+
["helicopter_loop", 3]
|
|
1786
1808
|
])
|
|
1787
1809
|
];
|
|
1788
1810
|
var SFX_MATERIALS = [
|
|
@@ -1871,6 +1893,7 @@ var GameCrowdThree = (() => {
|
|
|
1871
1893
|
category: "1 \xB7 Categoria",
|
|
1872
1894
|
sound: "1 \xB7 Som",
|
|
1873
1895
|
play: "1 \xB7 \u25B6 Tocar",
|
|
1896
|
+
play_user: "1 \xB7 \u25B6 Tocar o seu",
|
|
1874
1897
|
material: "2 \xB7 Material",
|
|
1875
1898
|
blow: "2 \xB7 Golpe",
|
|
1876
1899
|
strike: "2 \xB7 \u25B6 Tocar golpe",
|
|
@@ -1892,6 +1915,7 @@ var GameCrowdThree = (() => {
|
|
|
1892
1915
|
approve: "5 \xB7 Aprovo (C10)"
|
|
1893
1916
|
},
|
|
1894
1917
|
hints: {
|
|
1918
|
+
play_user: "Toca a sua grava\xE7\xE3o deste som (dos seus pacotes, fora do git), mesmo quando o SDK tem uma melhor e toca na frente.",
|
|
1895
1919
|
sound: "A = arquivo, S = sintetizado, F = faltando. O que tem arquivo toca o arquivo; o resto toca o som atual.",
|
|
1896
1920
|
strike: "Toca impact_<material>_<golpe>: o arquivo se existir, sen\xE3o o som atual daquele material.",
|
|
1897
1921
|
wall: "P\xF5e a parede de casa entre voc\xEA e a fonte: o som fica abafado (C4).",
|
|
@@ -1936,9 +1960,10 @@ var GameCrowdThree = (() => {
|
|
|
1936
1960
|
strengths: { light: "leve", medium: "m\xE9dio", heavy: "forte" },
|
|
1937
1961
|
states: { file: "A", synth: "S", missing: "F" },
|
|
1938
1962
|
criteria: { C1: "C1 Sincronia", C2: "C2 Certo p/ a\xE7\xE3o", C3: "C3 Dist\xE2ncia", C4: "C4 Posi\xE7\xE3o", C5: "C5 Varia\xE7\xE3o", C6: "C6 Volume", C7: "C7 Intensidade", C8: "C8 Cauda", C9: "C9 Rajada", C10: "C10 Escuta" },
|
|
1939
|
-
metrics: { chosen: "1 \xB7 Escolhido", matrix: "2 \xB7 Matriz", last: "\xDAltimo tocado", ab: "4 \xB7 A \xD7 B", blind: "4 \xB7 X", verdicts: "4 \xB7 Prefer\xEAncias", state: "5 \xB7 Medi\xE7\xE3o", count: "1 \xB7 Cat\xE1logo" },
|
|
1963
|
+
metrics: { source: "1 \xB7 Fonte do que tocou", chosen: "1 \xB7 Escolhido", matrix: "2 \xB7 Matriz", last: "\xDAltimo tocado", ab: "4 \xB7 A \xD7 B", blind: "4 \xB7 X", verdicts: "4 \xB7 Prefer\xEAncias", state: "5 \xB7 Medi\xE7\xE3o", count: "1 \xB7 Cat\xE1logo" },
|
|
1940
1964
|
run: { idle: "parada", measuring: "medindo\u2026", done: "pronta", failed: "falhou", recording: "gravando\u2026", recorded: "grava\xE7\xE3o baixada" },
|
|
1941
1965
|
words: { none: "\u2014", hidden: "? (revele)", prefers: "prefere", approved: "aprovado pelo dono" },
|
|
1966
|
+
sources: { sdk: "SDK", user: "seu som", synth: "sintetizado" },
|
|
1942
1967
|
probe: "Fonte do som",
|
|
1943
1968
|
wall: "Parede (oclus\xE3o)",
|
|
1944
1969
|
scenarios: { pipeline: "Arquivo \u2192 decodifica \u2192 toca (round-robin, cauda)", criteria: "Crit\xE9rios C1\u2013C9 no som de calibra\xE7\xE3o", loop: "Loop de arquivo: emenda sem buraco (crossfade)", panel: "Painel: categorias, matriz, A/B e parede" }
|
|
@@ -1951,6 +1976,7 @@ var GameCrowdThree = (() => {
|
|
|
1951
1976
|
category: "1 \xB7 Category",
|
|
1952
1977
|
sound: "1 \xB7 Sound",
|
|
1953
1978
|
play: "1 \xB7 \u25B6 Play",
|
|
1979
|
+
play_user: "1 \xB7 \u25B6 Play yours",
|
|
1954
1980
|
material: "2 \xB7 Material",
|
|
1955
1981
|
blow: "2 \xB7 Blow",
|
|
1956
1982
|
strike: "2 \xB7 \u25B6 Play blow",
|
|
@@ -1972,6 +1998,7 @@ var GameCrowdThree = (() => {
|
|
|
1972
1998
|
approve: "5 \xB7 Approve (C10)"
|
|
1973
1999
|
},
|
|
1974
2000
|
hints: {
|
|
2001
|
+
play_user: "Plays your own take of this sound (from your packs, kept out of git), even where the SDK has a better one that plays first.",
|
|
1975
2002
|
sound: "A = file, S = synthesized, F = missing. A file plays the file; the rest plays the current sound.",
|
|
1976
2003
|
strike: "Plays impact_<material>_<blow>: the file if there is one, else the current sound of that material.",
|
|
1977
2004
|
wall: "Puts the house wall between you and the source: the sound is muffled (C4).",
|
|
@@ -2006,9 +2033,10 @@ var GameCrowdThree = (() => {
|
|
|
2006
2033
|
environments: { indoor: "indoor", outdoor: "outdoor" },
|
|
2007
2034
|
strengths: { light: "light", medium: "medium", heavy: "heavy" },
|
|
2008
2035
|
criteria: { C1: "C1 Sync", C2: "C2 Right sound", C3: "C3 Distance", C4: "C4 Position", C5: "C5 Variation", C6: "C6 Level", C7: "C7 Strength", C8: "C8 Tail", C9: "C9 Burst", C10: "C10 Listening" },
|
|
2009
|
-
metrics: { chosen: "1 \xB7 Chosen", matrix: "2 \xB7 Matrix", last: "Last played", ab: "4 \xB7 A \xD7 B", blind: "4 \xB7 X", verdicts: "4 \xB7 Preferences", state: "5 \xB7 Measurement", count: "1 \xB7 Catalogue" },
|
|
2036
|
+
metrics: { source: "1 \xB7 Source of what played", chosen: "1 \xB7 Chosen", matrix: "2 \xB7 Matrix", last: "Last played", ab: "4 \xB7 A \xD7 B", blind: "4 \xB7 X", verdicts: "4 \xB7 Preferences", state: "5 \xB7 Measurement", count: "1 \xB7 Catalogue" },
|
|
2010
2037
|
run: { idle: "idle", measuring: "measuring\u2026", done: "done", failed: "failed", recording: "recording\u2026", recorded: "recording downloaded" },
|
|
2011
2038
|
words: { none: "\u2014", hidden: "? (reveal)", prefers: "prefers", approved: "approved by the owner" },
|
|
2039
|
+
sources: { sdk: "SDK", user: "your sound", synth: "synthesized" },
|
|
2012
2040
|
probe: "Sound source",
|
|
2013
2041
|
wall: "Wall (occlusion)",
|
|
2014
2042
|
scenarios: { pipeline: "File \u2192 decode \u2192 play (round-robin, tail)", criteria: "Criteria C1\u2013C9 on the calibration sound", loop: "File loop: seamless joins (crossfade)", panel: "Panel: categories, matrix, A/B and wall" }
|