Skip to content

Commit e0f3226

Browse files
committed
Create gh-pages branch via GitHub
1 parent c3c1102 commit e0f3226

File tree

2 files changed

+33
-19
lines changed

2 files changed

+33
-19
lines changed

index.html

+32-18
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,40 @@ <h1>
2828

2929
<p>The plugin is written using <a href="https://angularjs.org/">Angular.js</a> and ES6, compiled with <a href="babeljs.io">Babel</a> and <a href="http://browserify.org/">Browserify</a>, tested on Phaser 2.1.3 and Phaser 2.4.3 running on Google Chrome Version 45.0.2454.85 (64-bit) on OSX Yosemite.</p>
3030

31-
<p><strong>Feature:</strong></p>
31+
<p><strong>Working features:</strong></p>
3232

3333
<ul>
34-
<li>Display objects tree inspection</li>
35-
<li>Display object class guessing</li>
36-
<li>Display object name guessing (by looking for this./name/ in parents)</li>
37-
<li>Text as name for Phaser.Text</li>
38-
<li>Display objects search by name and class</li>
39-
<li>Display object destroy/kill/hide</li>
40-
<li>Properties inspection and editting</li>
41-
<li>Texture display for sprite/image</li>
42-
<li>Bounds drawing (togglable)</li>
43-
<li>States list and state change</li>
44-
<li>Floating, reziable and draggable panel</li>
45-
<li>Panel remember position on page reload</li>
46-
<li>Close/minize panel</li>
47-
<li>Non-case-sensitive search</li>
48-
<li>(Coming soon) Transparent/Clickthrough panel</li>
49-
<li>(Coming soon) Sprite/Image load Texture</li>
50-
<li>(Coming...er...not sure when) Optimize when displaying too many display objects on the tree </li>
34+
<li>Display objects <strong>tree</strong> inspection.</li>
35+
<li>Display object <strong>class</strong> guessing.</li>
36+
<li>Display object <strong>name</strong> guessing (by looking for <code>this./name/</code> in parents).</li>
37+
<li>
38+
<strong>Text</strong> as name for Phaser.Text.</li>
39+
<li>Display objects <strong>non-case-sensitive search</strong> by name and class.</li>
40+
<li>Display object <strong>destroy/kill/hide</strong>.</li>
41+
<li>
42+
<strong>Properties</strong> inspection and editting.</li>
43+
<li>
44+
<strong>Texture display</strong> for sprite/image</li>
45+
<li>
46+
<strong>Bounds</strong> drawing</li>
47+
<li>
48+
<strong>States</strong> list and state change</li>
49+
<li>
50+
<strong>Floating</strong>, <strong>resizable</strong> and <strong>draggable</strong> panel</li>
51+
<li>Panel <strong>remember</strong> position on page reload</li>
52+
<li>
53+
<strong>Close/minimize</strong> panel</li>
54+
</ul>
55+
56+
<p><strong>Upcoming features:</strong></p>
57+
58+
<ul>
59+
<li>
60+
<strong>Transparent/Clickthrough</strong> panel</li>
61+
<li>Sprite/Image <strong>load Texture</strong>
62+
</li>
63+
<li>
64+
<strong>Optimize</strong> when displaying too many display objects on the tree </li>
5165
</ul>
5266

5367
<p>Feel free to follow me on twitter <a href="https://twitter.com/netcell">@netcell</a> and check out <a href="http://anhnt.ninja">my blog</a>!</p>

params.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"Phaser Inspector","tagline":"phaser, game, html5, framework, plugin, inspector, debug","body":"# Phaser Inspector Plugin\r\n\r\n**Phaser Inspector Plugin** allows you to inspect your (or someone else) [Phaser](http://phaser.io) game.\r\n\r\n![Floating, resizable and minimizable](https://farm6.staticflickr.com/5619/21076450010_efa799bf08_o.png)![Intelligent Inspector with object tree, search and edit, state control and bounds drawing](https://farm1.staticflickr.com/730/21076450170_23796d65a4_o.png)\r\n\r\nThe plugin is written using [Angular.js](https://angularjs.org/) and ES6, compiled with [Babel](babeljs.io) and [Browserify](http://browserify.org/), tested on Phaser 2.1.3 and Phaser 2.4.3 running on Google Chrome Version 45.0.2454.85 (64-bit) on OSX Yosemite.\r\n\r\n**Feature:**\r\n- Display objects tree inspection\r\n- Display object class guessing\r\n- Display object name guessing (by looking for this./name/ in parents)\r\n- Text as name for Phaser.Text\r\n- Display objects search by name and class\r\n- Display object destroy/kill/hide\r\n- Properties inspection and editting\r\n- Texture display for sprite/image\r\n- Bounds drawing (togglable)\r\n- States list and state change\r\n- Floating, reziable and draggable panel\r\n- Panel remember position on page reload\r\n- Close/minize panel\r\n- Non-case-sensitive search\r\n- (Coming soon) Transparent/Clickthrough panel\r\n- (Coming soon) Sprite/Image load Texture\r\n- (Coming...er...not sure when) Optimize when displaying too many display objects on the tree \r\n\r\nFeel free to follow me on twitter [@netcell](https://twitter.com/netcell) and check out [my blog](http://anhnt.ninja)!\r\n\r\n## Demo\r\n\r\nCheck the `example` folder (please run `bower install` before that, and serve the folder on a server/localhost) or try that example rightaway on [this codepen](http://codepen.io/netcell/full/gapZWG/).\r\n\r\n## Download\r\n\r\nThe source is available for download from [latest release](https://github.com/netcell/phaser-inspector/releases) or by cloning the repository or download the files in `build` folder. Alternatively, you can install via:\r\n- ~~[bower](http://bower.io/): `bower install --save phaser-inspector`~~\r\n\r\n## Usage\r\n\r\n**NOTE:** I have only tested this plugin on Google Chrome so I am not sure how this would perform on other browsers. Also since this plugin is for debugging your game, you should not expect to use it on your mobile devices, meaning remove it (or conditionally not loading it) when deploying to mobile devices.\r\n\r\nSimply download the `phaser-inspector.js` or `phaser-inspector.min.js` script from [latest release](https://github.com/netcell/phaser-inspector/releases) and include it on your page after including Phaser:\r\n\r\n```html\r\n<script src=\"phaser.js\"></script>\r\n<script src=\"phaser-inspector.js\"></script>\r\n```\r\n\r\nIn the `create` method in your boot state:\r\n```javascript\r\ngame.plugins.add(Phaser.Plugin.Inspector);\r\n```\r\n\r\nAlternatively, when running a game in the browser, you can inject the plugin in the developer console as follow:\r\n```javascript\r\nvar script = document.createElement('script'); script.src = \"http://netcell.github.io/phaser-inspector/build/phaser-inspector.js\"; document.getElementsByTagName('head')[0].appendChild(script); function phaserInspectorInject(){ if (Phaser.Plugin.Inspector) Phaser.GAMES[0].plugins.add(Phaser.Plugin.Inspector); else setTimeout(phaserInspectorInject); } setTimeout(phaserInspectorInject);\r\n```\r\n\r\nCheck the example in `example` folder to see it in action :)\r\n\r\n### License ###\r\n\r\nThis content is released under the (http://opensource.org/licenses/MIT) MIT License.\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
1+
{"name":"Phaser Inspector","tagline":"phaser, game, html5, framework, plugin, inspector, debug","body":"# Phaser Inspector Plugin\r\n\r\n**Phaser Inspector Plugin** allows you to inspect your (or someone else) [Phaser](http://phaser.io) game.\r\n\r\n![Floating, resizable and minimizable](https://farm6.staticflickr.com/5619/21076450010_efa799bf08_o.png)![Intelligent Inspector with object tree, search and edit, state control and bounds drawing](https://farm1.staticflickr.com/730/21076450170_23796d65a4_o.png)\r\n\r\nThe plugin is written using [Angular.js](https://angularjs.org/) and ES6, compiled with [Babel](babeljs.io) and [Browserify](http://browserify.org/), tested on Phaser 2.1.3 and Phaser 2.4.3 running on Google Chrome Version 45.0.2454.85 (64-bit) on OSX Yosemite.\r\n\r\n**Working features:**\r\n- Display objects **tree** inspection.\r\n- Display object **class** guessing.\r\n- Display object **name** guessing (by looking for `this./name/` in parents).\r\n- **Text** as name for Phaser.Text.\r\n- Display objects **non-case-sensitive search** by name and class.\r\n- Display object **destroy/kill/hide**.\r\n- **Properties** inspection and editting.\r\n- **Texture display** for sprite/image\r\n- **Bounds** drawing\r\n- **States** list and state change\r\n- **Floating**, **resizable** and **draggable** panel\r\n- Panel **remember** position on page reload\r\n- **Close/minimize** panel\r\n \r\n**Upcoming features:**\r\n- **Transparent/Clickthrough** panel\r\n- Sprite/Image **load Texture**\r\n- **Optimize** when displaying too many display objects on the tree \r\n\r\nFeel free to follow me on twitter [@netcell](https://twitter.com/netcell) and check out [my blog](http://anhnt.ninja)!\r\n\r\n## Demo\r\n\r\nCheck the `example` folder (please run `bower install` before that, and serve the folder on a server/localhost) or try that example rightaway on [this codepen](http://codepen.io/netcell/full/gapZWG/).\r\n\r\n## Download\r\n\r\nThe source is available for download from [latest release](https://github.com/netcell/phaser-inspector/releases) or by cloning the repository or download the files in `build` folder. Alternatively, you can install via:\r\n- ~~[bower](http://bower.io/): `bower install --save phaser-inspector`~~\r\n\r\n## Usage\r\n\r\n**NOTE:** I have only tested this plugin on Google Chrome so I am not sure how this would perform on other browsers. Also since this plugin is for debugging your game, you should not expect to use it on your mobile devices, meaning remove it (or conditionally not loading it) when deploying to mobile devices.\r\n\r\nSimply download the `phaser-inspector.js` or `phaser-inspector.min.js` script from [latest release](https://github.com/netcell/phaser-inspector/releases) and include it on your page after including Phaser:\r\n\r\n```html\r\n<script src=\"phaser.js\"></script>\r\n<script src=\"phaser-inspector.js\"></script>\r\n```\r\n\r\nIn the `create` method in your boot state:\r\n```javascript\r\ngame.plugins.add(Phaser.Plugin.Inspector);\r\n```\r\n\r\nAlternatively, when running a game in the browser, you can inject the plugin in the developer console as follow:\r\n```javascript\r\nvar script = document.createElement('script'); script.src = \"http://netcell.github.io/phaser-inspector/build/phaser-inspector.js\"; document.getElementsByTagName('head')[0].appendChild(script); function phaserInspectorInject(){ if (Phaser.Plugin.Inspector) Phaser.GAMES[0].plugins.add(Phaser.Plugin.Inspector); else setTimeout(phaserInspectorInject); } setTimeout(phaserInspectorInject);\r\n```\r\n\r\nCheck the example in `example` folder to see it in action :)\r\n\r\n### License ###\r\n\r\nThis content is released under the (http://opensource.org/licenses/MIT) MIT License.\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

0 commit comments

Comments
 (0)