bfanger/pixi-inspector
bfanger/pixi-inspector has 419 GitHub stars and 67 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 17:45 UTC. Last push 2026-10-31.
可以做什么
- Show the scene graph
- View and edit properties
- Double-click in the outliner to console.log a node
- Outline the active node in the viewport.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Devtools for PixiJS
开发工具README.md
原文PixiJS Devtools
Browser extension to debug games and apps written with PixiJS.
Features
- Show the scene graph
- View and edit properties
- Double-click in the outliner to console.log a node
- Outline the active node in the viewport.
- The active node is available in the developer console as
$pixi - Right-click (or alt click) in the viewport to activate a node
Installation
Install PixiJS Devtools from:
Usage
PixiJS
In your code find where the PIXI.Application instance is created, it looks like this:
import { Application } from "pixi.js";
const app = new Application(...)
Expose that app to the PixiJS Devtools by adding the line:
globalThis.__PIXI_APP__ = app;
or depending on your TypeScript and ESLint configuration:
(globalThis as any).__PIXI_APP__ = app; // eslint-disable-line
Phaser
In your code find where the Phaser.Game instance is created, it looks like this:
import Phaser from "phaser";
const game = Phaser.Game(...)
Expose that game to the PixiJS Devtools by adding the line:
globalThis.__PHASER_GAME__ = game;
Custom setup?
If you don't use a PIXI.Application or Phaser.Game?
you can specify the root-node manually with:
globalThis.__PIXI_STAGE__ = yourContainer;
And to enable highlighting and selecting the nodes in the viewport add:
globalThis.__PIXI_RENDERER__ = yourRenderer;
探索相关项目
加载中…