Jump to content

phaser 3.12.0


giorg
 Share

Recommended Posts

Hi all,

I know this could seem weird, but I had my game correctly working until I did setup SSL on my site.

Now I get this: TypeError: l is undefined, can't access property "data" of it

error in phaser.min.js at line 157613

Does this make any sense?

thanks a lo

 

Link to comment
Share on other sites

ok I was doing exactly that :)

the error line is this one (34569):

this.fontData = entry.data;

the situation is this: in my local environment works perfectly, using git I did put all on final server, and that is the error :(

any hint?

thanks a lot

Link to comment
Share on other sites

I love you :D

yeah I'm using code like this, with relative path:

this.load.image('smb02', '../games/magicd/assets/game/magicd_smb02(0).png');

which works perfectly in my local env, but in production for some reason it adds a word "games", so the final url instead of being

https://games.setsnc.com/games/magicd/assets/common/s4fontciccione.png

it is

https://games.setsnc.com/games/games/magicd/assets/common/s4fontciccione.png

I don't get why this happens... what's the best way to refer assets?

thanks a lot

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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