kurhlaa Posted July 7, 2018 Share Posted July 7, 2018 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 More sharing options...
samme Posted July 8, 2018 Share Posted July 8, 2018 I thought this was in an earlier release, but I don't see it now. You can copy and modify createFromObjects. Text objects have a text property. kurhlaa 1 Link to comment Share on other sites More sharing options...
kurhlaa Posted July 9, 2018 Author Share Posted July 9, 2018 @samme thanks! I thought there will be something very advanced, with AI, but it is just a loop with creating standard sprites I've replaced sprites with standard labels, seems to work Link to comment Share on other sites More sharing options...
Recommended Posts