blacktrigram 0.7.36 → 0.7.38
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/README.md +6 -6
- package/lib/components/screens/combat/CombatScreen3D.d.ts.map +1 -1
- package/lib/components/screens/combat/CombatScreen3D.js +3 -3
- package/lib/components/screens/combat/CombatScreen3D.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatLayout.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatLayout.js +4 -4
- package/lib/components/screens/combat/hooks/useCombatLayout.js.map +1 -1
- package/lib/components/screens/intro/IntroScreen3D.js +1 -1
- package/lib/components/screens/training/TrainingScreen3D.d.ts.map +1 -1
- package/lib/components/screens/training/TrainingScreen3D.js +2 -2
- package/lib/components/screens/training/TrainingScreen3D.js.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingLayout.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingLayout.js +4 -3
- package/lib/components/screens/training/hooks/useTrainingLayout.js.map +1 -1
- package/lib/components/shared/ui/SplashScreen.js +2 -2
- package/lib/types/constants/performance.js +1 -1
- package/lib/types/constants/performance.js.map +1 -1
- package/lib/utils/mobileLayoutHelpers.d.ts.map +1 -1
- package/lib/utils/mobileLayoutHelpers.js +5 -4
- package/lib/utils/mobileLayoutHelpers.js.map +1 -1
- package/lib/utils/responsiveLayoutHelpers.d.ts +9 -0
- package/lib/utils/responsiveLayoutHelpers.d.ts.map +1 -1
- package/lib/utils/responsiveLayoutHelpers.js +21 -1
- package/lib/utils/responsiveLayoutHelpers.js.map +1 -1
- package/lib/utils/responsiveOrientationConstants.d.ts +44 -0
- package/lib/utils/responsiveOrientationConstants.d.ts.map +1 -1
- package/lib/utils/responsiveOrientationConstants.js +50 -1
- package/lib/utils/responsiveOrientationConstants.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<a href="https://github.com/Hack23/blacktrigram/releases"><img src="https://img.shields.io/github/v/release/Hack23/blacktrigram?style=flat-square&color=FFD700&logo=github&logoColor=white" alt="Latest GitHub release"/></a>
|
|
37
37
|
</div>
|
|
38
38
|
<div>
|
|
39
|
-
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node-%E2%89%
|
|
39
|
+
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node-%E2%89%A526-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js 26 or later required"/></a>
|
|
40
40
|
</div>
|
|
41
41
|
</td>
|
|
42
42
|
<td>
|
|
@@ -379,7 +379,7 @@ Built for **combat realism**, **60fps performance**, and **production-grade engi
|
|
|
379
379
|
### ⚡ Build & Performance
|
|
380
380
|
|
|
381
381
|

|
|
382
|
-

|
|
383
383
|

|
|
384
384
|

|
|
385
385
|

|
|
@@ -603,8 +603,8 @@ _"Code is reality made computational. If it doesn't work, nothing else matters."
|
|
|
603
603
|
|
|
604
604
|
### 📋 Prerequisites
|
|
605
605
|
|
|
606
|
-
- **Node.js
|
|
607
|
-
- **npm 11+** (bundled with Node
|
|
606
|
+
- **Node.js 26+** — [download](https://nodejs.org/)
|
|
607
|
+
- **npm 11+** (bundled with Node 26)
|
|
608
608
|
- Modern browser with **WebGL 2.0** support
|
|
609
609
|
|
|
610
610
|
### 🌐 Play Now
|
|
@@ -618,8 +618,8 @@ _"Code is reality made computational. If it doesn't work, nothing else matters."
|
|
|
618
618
|
git clone https://github.com/Hack23/blacktrigram.git
|
|
619
619
|
cd blacktrigram
|
|
620
620
|
|
|
621
|
-
# Install (requires Node ≥
|
|
622
|
-
npm
|
|
621
|
+
# Install (requires Node ≥ 26)
|
|
622
|
+
npm ci
|
|
623
623
|
|
|
624
624
|
# Start the dojang
|
|
625
625
|
npm run dev
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CombatScreen3D.d.ts","sourceRoot":"","sources":["../../../../src/components/screens/combat/CombatScreen3D.tsx"],"names":[],"mappings":"AAAA;;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|
|
1474
1474
|
isMobile,
|
|
1475
1475
|
children: [
|
|
1476
|
-
showPerformanceOverlay && !showPerformanceMonitor && /* @__PURE__ */ jsx(PerformanceOverlay3D, {}),
|
|
1476
|
+
showPerformanceOverlay && !isMobile && !showPerformanceMonitor && /* @__PURE__ */ jsx(PerformanceOverlay3D, {}),
|
|
1477
1477
|
/* @__PURE__ */ jsx(CombatArena3D, {
|
|
1478
1478
|
lighting: "cyberpunk",
|
|
1479
1479
|
scale: arenaBounds.scale,
|
|
@@ -1756,7 +1756,7 @@ var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, is
|
|
|
1756
1756
|
onReturnToMenu,
|
|
1757
1757
|
isPaused: isPaused || showPauseMenu
|
|
1758
1758
|
}),
|
|
1759
|
-
!
|
|
1759
|
+
!isMobile && /* @__PURE__ */ jsx(CombatLeftHUD, {
|
|
1760
1760
|
width,
|
|
1761
1761
|
height,
|
|
1762
1762
|
isMobile,
|
|
@@ -1766,7 +1766,7 @@ var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, is
|
|
|
1766
1766
|
isInGuard: player1Animation.isInStanceGuard(),
|
|
1767
1767
|
speedModifiers: player1SpeedModifiers
|
|
1768
1768
|
}),
|
|
1769
|
-
!
|
|
1769
|
+
!isMobile && /* @__PURE__ */ jsx(CombatRightHUD, {
|
|
1770
1770
|
width,
|
|
1771
1771
|
height,
|
|
1772
1772
|
isMobile,
|