@combos-fun/plugin-renderer-tiling-sprite 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 +3 -6
- package/package.json +5 -5
package/agent-skill.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-tiling-sprite` — Agent notes
|
|
2
2
|
|
|
3
|
-
Repeating tiled texture for the 2D pipeline. Wraps Pixi `TilingSprite`,
|
|
4
|
-
useful for backgrounds, parallax layers, scrolling floors.
|
|
3
|
+
Repeating tiled texture for the 2D pipeline. Wraps Pixi `TilingSprite`, useful for backgrounds, parallax layers, scrolling floors.
|
|
5
4
|
|
|
6
5
|
## When to read
|
|
7
6
|
|
|
@@ -27,8 +26,7 @@ Total tile area uses `Transform.size`.
|
|
|
27
26
|
|
|
28
27
|
## Required setup
|
|
29
28
|
|
|
30
|
-
`RendererSystem` then `TilingSpriteSystem`. Resource must be registered
|
|
31
|
-
and loaded before the component is added.
|
|
29
|
+
`RendererSystem` then `TilingSpriteSystem`. Resource must be registered and loaded before the component is added.
|
|
32
30
|
|
|
33
31
|
## Common pitfalls
|
|
34
32
|
|
|
@@ -50,8 +48,7 @@ bg.addComponent(new TilingSprite({
|
|
|
50
48
|
}));
|
|
51
49
|
```
|
|
52
50
|
|
|
53
|
-
To animate scrolling, drive `tilePosition` from a custom Component's
|
|
54
|
-
`update(delta)`, not from bootstrap.
|
|
51
|
+
To animate scrolling, drive `tilePosition` from a custom Component's `update(delta)`, not from bootstrap.
|
|
55
52
|
|
|
56
53
|
## Verification
|
|
57
54
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-tiling-sprite",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "@combos-fun/plugin-renderer-tiling-sprite",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-tiling-sprite.esm.js",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"author": "sun668 <q947692259@gmail.com>",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"pixi.js": "^8.18.1",
|
|
35
|
-
"@combos-fun/plugin-renderer": "0.0.
|
|
36
|
-
"@combos-fun/
|
|
37
|
-
"@combos-fun/
|
|
38
|
-
"@combos-fun/inspector-decorator": "0.0.
|
|
35
|
+
"@combos-fun/plugin-renderer": "0.0.8",
|
|
36
|
+
"@combos-fun/engine": "0.0.8",
|
|
37
|
+
"@combos-fun/renderer-adapter": "0.0.8",
|
|
38
|
+
"@combos-fun/inspector-decorator": "0.0.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "node ../../scripts/build-package.mjs"
|