@combos-fun/plugin-renderer-render 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 -7
- package/package.json +5 -5
package/agent-skill.md
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-render` — Agent notes
|
|
2
2
|
|
|
3
|
-
Per-`GameObject` visibility / alpha / zIndex / sortable-children control
|
|
4
|
-
for the 2D pipeline. Without this plugin, every drawable is fully visible
|
|
5
|
-
at alpha 1 and zIndex 0.
|
|
3
|
+
Per-`GameObject` visibility / alpha / zIndex / sortable-children control for the 2D pipeline. Without this plugin, every drawable is fully visible at alpha 1 and zIndex 0.
|
|
6
4
|
|
|
7
5
|
## When to read
|
|
8
6
|
|
|
9
|
-
Read whenever you need to hide / fade an object, change draw order, or
|
|
10
|
-
turn on z-sorted children inside a container.
|
|
7
|
+
Read whenever you need to hide / fade an object, change draw order, or turn on z-sorted children inside a container.
|
|
11
8
|
|
|
12
9
|
## Public API
|
|
13
10
|
|
|
@@ -26,8 +23,7 @@ import { Render, RenderSystem, type RenderParams } from '@combos-fun/plugin-rend
|
|
|
26
23
|
|
|
27
24
|
## Required setup
|
|
28
25
|
|
|
29
|
-
`RendererSystem` (from `plugin-renderer`) must be added before
|
|
30
|
-
`RenderSystem`.
|
|
26
|
+
`RendererSystem` (from `plugin-renderer`) must be added before `RenderSystem`.
|
|
31
27
|
|
|
32
28
|
## Common pitfalls
|
|
33
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-render",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "@combos-fun/plugin-renderer-render",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-render.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/
|
|
36
|
-
"@combos-fun/
|
|
37
|
-
"@combos-fun/
|
|
38
|
-
"@combos-fun/
|
|
35
|
+
"@combos-fun/engine": "0.0.8",
|
|
36
|
+
"@combos-fun/inspector-decorator": "0.0.8",
|
|
37
|
+
"@combos-fun/plugin-renderer": "0.0.8",
|
|
38
|
+
"@combos-fun/renderer-adapter": "0.0.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "node ../../scripts/build-package.mjs"
|