@ignifx/physics-2d 0.0.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.
@@ -0,0 +1 @@
1
+ export {}
package/dist/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@ignifx/physics-2d",
3
+ "version": "0.0.0",
4
+ "description": "ignifx 2D physics: Rigidbody2D, 2D colliders, CharacterController2D, queries.",
5
+ "keywords": [
6
+ "ignifx",
7
+ "ignifx-extension"
8
+ ],
9
+ "homepage": "https://ignifx.com",
10
+ "license": "Apache-2.0",
11
+ "author": "Astrum Forge Studios",
12
+ "files": [
13
+ "dist",
14
+ "skills"
15
+ ],
16
+ "type": "module",
17
+ "sideEffects": false,
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "provenance": true
28
+ },
29
+ "scripts": {
30
+ "build": "tsdown",
31
+ "typecheck": "tsc --build tsconfig.json tsconfig.test.json",
32
+ "test": "vitest run --project node --root ../.. packages/physics-2d",
33
+ "api-report": "api-extractor run --verbose",
34
+ "docs:api": "typedoc",
35
+ "api-report:update": "api-extractor run --local --verbose",
36
+ "pack-check": "publint && attw --pack . --profile esm-only"
37
+ },
38
+ "dependencies": {
39
+ "@dimforge/rapier2d-compat": "^0.20.0"
40
+ },
41
+ "devDependencies": {
42
+ "@arethetypeswrong/cli": "catalog:",
43
+ "@ignifx/2d": "workspace:*",
44
+ "@ignifx/core": "workspace:*",
45
+ "@microsoft/api-extractor": "catalog:",
46
+ "@types/webxr": "catalog:",
47
+ "@webgpu/types": "catalog:",
48
+ "publint": "catalog:",
49
+ "tsdown": "catalog:",
50
+ "typedoc": "catalog:",
51
+ "typedoc-plugin-markdown": "catalog:",
52
+ "typescript-native": "catalog:",
53
+ "vitest": "catalog:"
54
+ },
55
+ "peerDependencies": {
56
+ "@ignifx/2d": "workspace:*",
57
+ "@ignifx/core": "workspace:*"
58
+ },
59
+ "peerDependenciesMeta": {
60
+ "@ignifx/2d": {
61
+ "optional": true
62
+ }
63
+ },
64
+ "ignifx": {
65
+ "extension": true,
66
+ "engine": ">=0.0.0 <1.0.0",
67
+ "requires": [],
68
+ "optional": [
69
+ "@ignifx/2d"
70
+ ],
71
+ "capabilities": [],
72
+ "skill": "./skills/physics-2d/SKILL.md"
73
+ }
74
+ }
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: physics-2d
3
+ description: Adds 2D physics to an ignifx game with @ignifx/physics-2d: Rigidbody2D, 2D colliders, CharacterController2D, one-way platforms, 2D triggers, and 2D queries, layered on the @ignifx/2d toolkit. Use when adding or editing 2D physics bodies, 2D colliders, platformer movement, or 2D queries in an ignifx project, or when the user mentions @ignifx/physics-2d, Rigidbody2D, or CharacterController2D.
4
+ license: Apache-2.0
5
+ metadata:
6
+ ignifx-version: "0.0.0-unreleased"
7
+ ---
8
+
9
+ # @ignifx/physics-2d
10
+
11
+ > **Scaffold notice.** ignifx is in the planning phase and `@ignifx/physics-2d` is an empty package. Every section below is filled by Phase 6 of `docs/plan/engineering-plan.md`; until then this file makes no API claims (`CONSTITUTION.md` Article V).
12
+
13
+ ## What this is / when to use
14
+
15
+ `@ignifx/physics-2d` is the ignifx extension that provides 2D physics: `Rigidbody2D`, 2D colliders, `CharacterController2D`, and queries _(populated in Phase 6)_.
16
+
17
+ ## Environment
18
+
19
+ Engine version, the pinned Babylon Lite version, and the registration snippet for this extension _(populated in Phase 6)_.
20
+
21
+ ## Mental model
22
+
23
+ How this subsystem's components, services, and phases fit into the App → World → Entity model _(populated in Phase 6)_.
24
+
25
+ ## First app
26
+
27
+ A complete, compiling example that registers the extension and uses it once _(populated in Phase 6)_.
28
+
29
+ ## Core APIs
30
+
31
+ Component and service tables generated from `skills/ignifx/references/api/physics-2d.md` _(populated in Phase 6)_.
32
+
33
+ ## Recipes
34
+
35
+ Task-oriented examples extracted from `examples/recipes/` _(populated in Phase 6)_.
36
+
37
+ ## File formats
38
+
39
+ The file formats this subsystem reads and writes, with links to `skills/ignifx/references/formats/` _(populated in Phase 6)_.
40
+
41
+ ## Gotchas
42
+
43
+ The traps this subsystem has, each with the replacement to use instead _(populated in Phase 6)_.
44
+
45
+ ## Deprecated (current window)
46
+
47
+ None (pre-1.0: no deprecation window; breaking changes are listed in the changelog).
48
+
49
+ ## Where to look next
50
+
51
+ `skills/ignifx/SKILL.md` for the engine entry skill · `docs/architecture/` for design rationale.