mirror of
https://github.com/wassname/phaser.git
synced 2026-07-31 12:40:07 +08:00
Updated docs for 1.1.2 release.
This commit is contained in:
+13
-8
@@ -58,10 +58,6 @@
|
||||
<a href="Phaser.BitmapText.html">BitmapText</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="Phaser.Bullet.html">Bullet</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="Phaser.Button.html">Button</a>
|
||||
</li>
|
||||
@@ -605,6 +601,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
this.context.strokeStyle = 'rgba(255, 0, 255, 0.7)';
|
||||
this.context.stroke();
|
||||
|
||||
this.renderPoint(sprite.offset);
|
||||
this.renderPoint(sprite.center);
|
||||
this.renderPoint(sprite.topLeft);
|
||||
this.renderPoint(sprite.topRight);
|
||||
@@ -939,13 +936,21 @@ Phaser.Utils.Debug.prototype = {
|
||||
|
||||
this.start(x, y, color);
|
||||
|
||||
this.line(sprite.name);
|
||||
if (sprite.name)
|
||||
{
|
||||
this.line(sprite.name);
|
||||
}
|
||||
|
||||
this.line('x: ' + sprite.x);
|
||||
this.line('y: ' + sprite.y);
|
||||
this.line('pos x: ' + sprite.position.x);
|
||||
this.line('pos y: ' + sprite.position.y);
|
||||
this.line('local x: ' + sprite.localTransform[2]);
|
||||
this.line('local y: ' + sprite.localTransform[5]);
|
||||
this.line('world x: ' + sprite.worldTransform[2]);
|
||||
this.line('world y: ' + sprite.worldTransform[5]);
|
||||
this.line('t x: ' + sprite.worldTransform[2]);
|
||||
this.line('t y: ' + sprite.worldTransform[5]);
|
||||
this.line('world x: ' + sprite.world.x);
|
||||
this.line('world y: ' + sprite.world.y);
|
||||
|
||||
this.stop();
|
||||
|
||||
@@ -1274,7 +1279,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Fri Oct 25 2013 17:05:24 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Fri Nov 01 2013 18:16:08 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user