Jump to content

Phaser custom polygon body weirdness


Secretmapper
 Share

Recommended Posts

I have a game wide level (800 x 600) which I put at 0, 0. It works as expected, and the level, 'covers the entire screen':

7deWq.png

 

 

Now the problem comes when I set the polygon of my level. You will notice that I uncommented line 2 from var level (level.body) and now the level is magically at the center of the screen:

7df9z.png

 

Is this expected behaviour or what? Also what is the recommended exporter for Physics Editor?

 

Thanks!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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