Harrisyu

Feature request or how to : load level without loading all tileset.

Recommended Posts

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:

58afcb899fbe3_tiledobject.gif.d9b8ed643e07ccc9e034c408229be70e.gif

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?

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.