mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
You can now use the hitArea property on Sprites and Image objects. hitArea can be a geometry object (Rectangle, Circle, Polygon, Ellipse) and is used in pointerOver checks.
This commit is contained in:
@@ -70,6 +70,8 @@ Phaser.World.prototype.boot = function () {
|
||||
*/
|
||||
Phaser.World.prototype.preUpdate = function () {
|
||||
|
||||
this.currentRenderOrderID = 0;
|
||||
|
||||
for (var i = 0, len = this.children.length; i < len; i++)
|
||||
{
|
||||
if (this.children[i]['preUpdate'])
|
||||
|
||||
Reference in New Issue
Block a user