文件名称:phaser-sprite-gui:检查和操作Phaser Sprite(通过dat.gui)。 移相器2CE
文件大小:574KB
文件格式:ZIP
更新时间:2024-02-24 05:47:04
phaser dat-gui PhaserJavaScript
检查和操作Phaser Sprite(通过dat.gui)。 安装 凉亭 bower install -S samme/phaser-sprite-gui NPM npm install -S phaser-sprite-gui 如果无法编译,请改用 CommonJS / Webpack 它应该工作。 导出的构造函数与Phaser.SpriteGUI相同。 嵌入式安装 在游戏脚本之前添加和 。 利用 // In create(): var sprite = game . add . sprite ( ) ; // … var gui = new Phaser . SpriteGUI ( sprite ) ; // In shutdown(): gui . destroy ( ) ; 选件 传递GUI参数 // Example: 320px wide panel var gui = new SpriteGUI ( sprite , { width : 320 } ) ; 筛选精灵属性 // Example: Show all properties *except* `body` v
【文件预览】:
phaser-sprite-gui-master
----index.html(568B)
----bower.json(478B)
----.eslintrc.yml(262B)
----.npmignore(70B)
----example()
--------phaser-arcade-physics.js(2.48MB)
--------assets()
--------index.coffee(5KB)
--------dat.gui.js(180KB)
--------index.js(7KB)
----screenshot.png(35KB)
----README.md(1KB)
----index.coffee(8KB)
----tests()
--------index.html(574B)
--------.eslintrc.yml(257B)
--------tests.coffee(6KB)
--------tests.js(9KB)
----index.js(11KB)
----package.json(962B)