mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
New polygon collision object examples and Body scale fixes.
This commit is contained in:
@@ -868,6 +868,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
|
||||
for (var i = 1; i < points.length; i++)
|
||||
{
|
||||
this.context.fillStyle = 'rgb(255,' + (i * 40) + ',0)';
|
||||
this.context.fillRect(x + points[i].x - 2, y + points[i].y - 2, 5, 5);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user