@lagless/create 0.0.44 → 0.0.48
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.js +15 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/pixi-react/AGENTS.md +1 -2
- package/templates/pixi-react/CLAUDE.md +3 -0
- package/templates/pixi-react/__packageName__-frontend/package.json +3 -2
- package/templates/pixi-react/__packageName__-frontend/src/app/components/debug-panel.tsx +0 -5
- package/templates/pixi-react/__packageName__-frontend/src/app/game-view/grid-background.tsx +28 -3
- package/templates/pixi-react/__packageName__-frontend/src/app/game-view/runner-provider.tsx +34 -40
- package/templates/pixi-react/__packageName__-simulation/src/lib/schema/ecs.yaml +0 -18
- package/templates/pixi-react/__packageName__-simulation/src/lib/signals/index.ts +2 -4
- package/templates/pixi-react/__packageName__-simulation/src/lib/systems/apply-move-input.system.ts +9 -2
- package/templates/pixi-react/__packageName__-simulation/src/lib/systems/index.ts +0 -2
- package/templates/pixi-react/docs/08-physics2d.md +53 -39
- package/templates/pixi-react/docs/08-physics3d.md +60 -33
- package/templates/pixi-react/docs/09-recipes.md +60 -0
- package/templates/pixi-react/docs/10-common-mistakes.md +4 -9
- package/templates/pixi-react/docs/11-2d-map-generation.md +707 -0
- package/templates/pixi-react/__packageName__-simulation/src/lib/systems/hash-verification.system.ts +0 -17
package/templates/pixi-react/__packageName__-simulation/src/lib/systems/hash-verification.system.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ECSConfig, ECSSystem, InputProvider, PlayerResources, AbstractHashVerificationSystem, DivergenceSignal } from '@lagless/core';
|
|
2
|
-
import { PlayerResource, ReportHash } from '../schema/code-gen/index.js';
|
|
3
|
-
|
|
4
|
-
@ECSSystem()
|
|
5
|
-
export class HashVerificationSystem extends AbstractHashVerificationSystem {
|
|
6
|
-
protected readonly _reportHashRpc = ReportHash;
|
|
7
|
-
protected readonly _playerResourceClass = PlayerResource;
|
|
8
|
-
|
|
9
|
-
constructor(
|
|
10
|
-
ecsConfig: ECSConfig,
|
|
11
|
-
inputProvider: InputProvider,
|
|
12
|
-
playerResources: PlayerResources,
|
|
13
|
-
divergenceSignal: DivergenceSignal,
|
|
14
|
-
) {
|
|
15
|
-
super(ecsConfig, inputProvider, playerResources, divergenceSignal);
|
|
16
|
-
}
|
|
17
|
-
}
|