MBE007

Members
  • Content Count

    1
  • Joined

  • Last visited

About MBE007

  • Rank
    Newbie
  • Birthday 03/21/1988

Profile Information

  • Gender
    Male
  • Location
    Iran
  1. Hi, im begginer to phaser and i have several questions in my mind.i try to learn phaser from phaser examples and read the codes. in one of examples breakout the author write these codes : game.physics.startSystem(Phaser.Physics.ARCADE); // We check bounds collisions against all walls other than the bottom one game.physics.arcade.checkCollision.down = false; s = game.add.tileSprite(0, 0, 800, 600, 'starfield'); bricks = game.add.group(); bricks.enableBody = true; bricks.physicsBodyType = Phaser.Physics.ARCADE;at first author enable physic system with game.physics.startSystem . but in line 7 author change physic type to arcade for bricks group.why the author do this ? is it important to change type ? if we start physics with sartSystem is it effect on bricks ? if we comment the physicsBodyType is it affect on game?