Jump to content

Phaser-No-Physics


Sgd
 Share

Recommended Posts

Hello community!

 

I was updating some old projects to the newest version of Phaser and I decided to do a little extra optimization so I replaced the phaser.min.js for phaser-no-physics.min.js (phaser/build/custom).

 

Obviusly the game doesnt use any kind of physics (as far as I think, it doesn't) so would be nice to use a lighter library. The problem is when I initialize the game, it doesn't work.

 

The chrome's console tells me this:

 

Uncaught TypeError: Cannot read property 'Emitter' of undefined phaser-no-physics.min.js:10

 

I have been thinking about this and at the end I came with a question: Is Phaser-no-physics.min.js unable to manage particles with emitter? Is this the problem why I cant use this library? If not what could be?

 

Thank you!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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