@@ -8,18 +8,20 @@ Shows the scene display lists.
88Display
99-------
1010
11- ± type name (x, y) depth (children )
11+ ± type name (x, y) depth (count )
1212
1313` + ` is visible; ` - ` is invisible.
1414
1515` x ` , ` y ` , and ` depth ` are rounded to the nearest 0.1.
1616
17+ ` count ` is the number of children (Blitter, Container, Layer) or tiles (TilemapLayer).
18+
1719Keyboard Controls
1820-----------------
1921
2022| Key Combination | Action |
2123| -------------------------------------------------------------------| -----------------------|
22- | <kbd >shift</kbd > + <kbd >left</kbd >, <kbd >right</kbd >, <kbd >up</kbd >, <kbd >down</kbd > | Scroll the display |
24+ | <kbd >shift</kbd > + <kbd >left</kbd >, <kbd >right</kbd >, <kbd >up</kbd >, <kbd >down</kbd > | Scroll the display |
2325| <kbd >shift</kbd > + <kbd >pageup</kbd > | Scroll page up |
2426| <kbd >shift</kbd > + <kbd >pagedown</kbd > | Scroll page down |
2527| <kbd >shift</kbd > + <kbd >home</kbd > | Scroll to start |
@@ -34,9 +36,7 @@ Multiple Scenes
3436
3537Scene displays are stacked left to right. Use the keyboard controls to scroll.
3638
37- The plugin doesn't render in hidden scenes. If you have stopped scenes that you never need to use again, you could remove them to make space.
38-
39- The plugin renders with the scene it belongs to, so content in scenes on top may cover content in scenes below.
39+ If you have stopped scenes that you never need to use again, you could remove them to make space.
4040
4141Install
4242-------
@@ -47,7 +47,7 @@ Install
4747
4848``` js
4949// In preload():
50- this .load .scenePlugin (' DisplayListWatcher' , ' https://cdn.jsdelivr.net/npm/phaser-plugin-display-list-watcher@1.1 .0' )
50+ this .load .scenePlugin (' DisplayListWatcher' , ' https://cdn.jsdelivr.net/npm/phaser-plugin-display-list-watcher@1.2 .0' )
5151```
5252
5353### Module
@@ -60,8 +60,7 @@ new Phaser.Game({
6060 scene: [
6161 {
6262 key: ' DisplayListWatcher' ,
63- plugin: DisplayListWatcher,
64- start: true
63+ plugin: DisplayListWatcher
6564 }
6665 ]
6766 }
@@ -74,7 +73,7 @@ new Phaser.Game({
7473
7574``` html
7675<!-- after phaser.js -->
77- <script src =" https://cdn.jsdelivr.net/npm/phaser-plugin-display-list-watcher@1.1 .0" ></script >
76+ <script src =" https://cdn.jsdelivr.net/npm/phaser-plugin-display-list-watcher@1.2 .0" ></script >
7877```
7978
8079``` js
@@ -85,8 +84,7 @@ new Phaser.Game({
8584 scene: [
8685 {
8786 key: ' DisplayListWatcher' ,
88- plugin: DisplayListWatcher,
89- start: true
87+ plugin: DisplayListWatcher
9088 }
9189 ]
9290 }
0 commit comments