Harrisyu Posted February 24, 2017 Share Posted February 24, 2017 Hi! I am a beginner to melonJs, but I love it so much, it works so well with tiled map editor. Here is the question: We can use object in tiled to mark entity for melonJs, But I would like do a little bit further:use image as object for better visual. like this: Of cause it works, thanks melonJs, that image even been replace by the entity. But if I don't load all the tileset image in the tmx file, for example the player image I use in tiled. "me.levelDirector.loadLevel" will fail. So, it's there a way to skip loading some tileset in tmx file? Quote Link to comment Share on other sites More sharing options...
agmcleod Posted February 25, 2017 Share Posted February 25, 2017 Hello, Glad you're liking MelonJS so far. Unfortunately the API does not support a skip processing tileset setting. But it's not a bad idea! Logged an issue against it, so it's something we could add in the future. https://github.com/melonjs/melonJS/issues/877 Quote Link to comment Share on other sites More sharing options...
Harrisyu Posted February 26, 2017 Author Share Posted February 26, 2017 4 hours ago, agmcleod said: Hello, Glad you're liking MelonJS so far. Unfortunately the API does not support a skip processing tileset setting. But it's not a bad idea! Logged an issue against it, so it's something we could add in the future. https://github.com/melonjs/melonJS/issues/877 Thank you for your support ! I will also find a workaround and post here. Quote Link to comment Share on other sites More sharing options...
Harrisyu Posted February 27, 2017 Author Share Posted February 27, 2017 I sovle my own problem, check this: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.