Jump to content

Search the Community

Showing results for tags 'phaser example'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  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?
×
×
  • Create New...