• Content Count

  • Joined

  • Last visited

  1. Well, I'm just making a group, and there is no loop in my code, it says it's in Phaser's postupdate function which would look like this: postUpdate: function() { if (this.customRender) { this.key.render(); } if (this.components.PhysicsBody) {; } if (this.components.FixedToCamera) {; } for (var i = 0; i < this.children.length; i++) { this.children.postUpdate(); } }
  2. Hi guys, I was trying to make a group of objects and got the following error: phaser.js:45776 Uncaught TypeError: Cannot read property 'length' of undefined Everything seems to be fine, anyone has a clue why this might be happening? FYI: I'm using Phaser 2.5.0 Thank you for your help.