Jump to content

Tiledmap filesize


Lomaz
 Share

Recommended Posts

So I have a few tiled JSON's that are over 1mb each, and that kinda sucks, I'm trying to get the size down, if I kill all the white spaces I can get them a bit smaller, but I've noticed for a LOT of my layers it's ",0,0,0,0,0,0,0,0", and was wondering if there was a way to modify phaser's map parser to assume an empty as a 0?  if it could be stored as ",,,,,,,," that would save a LOT of space, and cut my filesizes nearly in half.. so yeah... possiable?  other ideas on reducing file size/increasing read speed?

 

Thanks in advance!

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...