Jump to content

Implement enw version of phaser


Recommended Posts


i have a problem with implementation new version of Phaser.

I downloaded zip from link : https://github.com/photonstorm/phaser

And them copy file Phaser.js to my serwer.

When i run game i have a wrong:

ReferenceError: PIXI is not defined


TypeError: Phaser is undefined


When i try to copy Phaser.js from version v3 i have a wrong:
TypeError: Phaser.Game is not a constructor


Later version working fine, but i try to test new version. Can anyone help?


Link to comment
Share on other sites

Maybe You've right, so i stay on older version.

I'm waiting for new version beccause i hope about will be better generation map :)
Now bigger maps with some layers are  a little lagging when camera move.

Maybe someone have a fixes to better generation map when the camera move?

Now i am using Phaser.Graphis to generate game, that give a lot on lower PC's and on layers i disabled:

    this.backgroundlayer.renderSettings.enableScrollDelta = false;


can i do something else?

Thanks for answer :)

Link to comment
Share on other sites

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.

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.


  • Recently Browsing   0 members

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