Jump to content

Search the Community

Showing results for tags 'sprite vs sprite'.

  • 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. I'm getting stuck with this issue. I've updated my projects from phaser 2.2 to current 2.3.0. and every collision isn't working any more. I'm using the arcade.physics system. Set up is (shortened): the collision handler does not fire. Group 1this.wave = this.add.group();this.wave.enableBody = true;this.wave.physicsBodyType = Phaser.Physics.ARCADE;game.physics.enable(this.wave, Phaser.Physics.ARCADE);Group 2this.player = this.add.group();this.player.enableBody = true;this.player.physicsBodyType = Phaser.Physics.ARCADE;game.physics.enable(this.player, Phaser.Physics.ARCADE);into update func:game.physics.arcade.collide( this.player, this.wave, this.collision, null, this);does not detect anything.Same goes with sprite vs. sprite, worked before.I tried different configurations since there are multiple ways and I do not know which one is actually the most updated:wave_obj.physicsBodyType = Phaser.Physics.ARCADE;game.physics.enable(wave_obj, Phaser.Physics.ARCADE);this.game.physics.arcade.enable(wave_obj);game.physics.arcade.enable( wave_obj );console output contains: type: 0 and physicsType: 0 - is that correct?c.Sprite {type: 0, physicsType: 0, position: c.Point, scale: c.Point, transformCallback: null…}Any ideas? suggestions, I've tried every syntax written above. with phaser 2.2 it worked. also tried: game.physics.startSystem(Phaser.Physics.ARCADE);game.physics.arcade.TOP_BOTTOM;with sprite vs spritegame.physics.enable( [ this.racer, wave_obj ], Phaser.Physics.ARCADE);game.physics.arcade.overlap instead of game.physics.arcade.collideregards
×
×
  • Create New...