Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

How to dynamically load a tmx from the server?

$
0
0

@eydamson wrote:

Hi
we are making a tiled map in our game but the tmx files are on the server..
we load these tmx files but we are getting a string version of these files..
we try

cc.load.('url.tmx',cc.TiledMap,function(err,tiledMap){
    cc.log(tiledMap)// logs string file of this tmx file
});

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>