@combos-fun/plugin-matterjs 0.0.7 → 0.0.8
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/agent-skill.md +2 -5
- package/package.json +2 -2
package/agent-skill.md
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-matterjs` — Agent notes
|
|
2
2
|
|
|
3
|
-
2D physics for Combos Fun. Wraps `matter-js` ^0.20 and exposes a
|
|
4
|
-
`PhysicsSystem` plus a `Physics` Component that auto-syncs body
|
|
5
|
-
position / rotation to a sibling display object's `Transform` each frame.
|
|
3
|
+
2D physics for Combos Fun. Wraps `matter-js` ^0.20 and exposes a `PhysicsSystem` plus a `Physics` Component that auto-syncs body position / rotation to a sibling display object's `Transform` each frame.
|
|
6
4
|
|
|
7
5
|
## When to read
|
|
8
6
|
|
|
9
|
-
Read for any 2D physics task: gravity, collisions, kinematic / static
|
|
10
|
-
bodies, mouse constraints, rigid-body alignment with sprites.
|
|
7
|
+
Read for any 2D physics task: gravity, collisions, kinematic / static bodies, mouse constraints, rigid-body alignment with sprites.
|
|
11
8
|
|
|
12
9
|
## Public API
|
|
13
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-matterjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "@combos-fun/plugin-matterjs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-matterjs.esm.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"matter-js": "^0.20.0",
|
|
36
36
|
"pixi.js": "^8.18.1",
|
|
37
37
|
"poly-decomp": "^0.3.0",
|
|
38
|
-
"@combos-fun/engine": "0.0.
|
|
38
|
+
"@combos-fun/engine": "0.0.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "node ../../scripts/build-package.mjs"
|