Jump to content

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


Harrisyu
 Share

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?

 

Link to comment
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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