Jump to content

Class hierarchy and arcade physics doesn't work


Recommended Posts

Guys, I fixed my code that was causing error, but, the collision  between Sprite and TileSprite doesn't work yet. Here is the code:

Game.prototype.update = function () {    this.game.physics.arcade.collide(this._player, this._ground);};

Anyone know what is going on?


Thank you all!

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...