Jump to content

Load text from Tiled Object Layer


kurhlaa
 Share

Recommended Posts

Hi,

It is possible to create an Object Layer in a Tiled program. One of the options is "Insert Text" - how to show these labels in a Phaser game?

If I try something like this:

map.createFromObjects('labels', 3);

.. black rectangle (like when needed image was not found) appears instead of the plain text, so this method probably is for images only. But how to show a text?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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