Jump to content

Class inheritance with Phaser


Recommended Posts



I am trying to create a custom Player class for my game that extends the Sprite class from Phaser, but I'm having trouble doing so. The desired outcome would be that I have access to all of the Sprite methods in this new class, but I can also add to it by adding to the prototype.


Any ideas?



Link to comment
Share on other sites


  • Recently Browsing   0 members

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