Jump to content

After map.createFromTiles(), the tiles images are still there


Recommended Posts


I use a tiled map for my game. I create sprites from tiles using the command "map.creteFromTiles(<tile ID>, null, 'image', 'solidLayer', blockGroup);".

The sprites are created and when I move or tween the sprites, it works fine the sprites move as they should. BUT the tile where the sprite was created from is still there. I can't find it with map.getTile() so I think it's kind of an artifact left and not removed.

I think this problem is new, it does not appear with my other groups that I create in the same way. How can I solve this? Thank you!

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.

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.


  • Recently Browsing   0 members

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