Jump to content

Text doesn't render properly after loading tilemap


swissnetizen
 Share

Recommended Posts

This is on 2.4.4 because 2.4.5 has some text rendering issues of its own.

I've got this really weird issue. I have a menu screen which advances to a level select and then play. When advanced to the level select then back to the menu, the menu text is unaffected. If I advance to a level before going back to the menu, the text doesn't appear any more (I've checked, and it does exist). But when we try to advance to a level which doesn't exist (and I deliver an error message) the text still appears.

I've narrowed the issue down to when I added support for tilemaps.

Edited by swissnetizen
level to tilemap
Link to comment
Share on other sites

You could first add:

game.debug.cameraInfo(game.camera, 32, 32);

to your render method, to get information on the camera.

 

To test if the world size is the problem put:

game.world.setBounds(0, 0, 1920, 1920); 

to the create method of your menu state. (but use the resolution your game has).

 


 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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