Hello Guest

Author Topic: Sharing assets among multiple sprite collections  (Read 4700 times)

ComputerNerd

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Sharing assets among multiple sprite collections
« on: May 11, 2018, 03:41:01 pm »
Hi,

I am building a moderately large game (think Secret of Mana-like). I am building my tile maps in Tiled, then importing them into the 2D Toolkit's Tilemap.

I have the sprite collections split up to one per area due to the sheer size of them and the large number of areas - it is simply impossible to combine them all into one. The issue I am having is my build size is getting too large due to the large number of duplicated tiles spanning across the different atlases. For example, most of the atlases have a copy of my water tile set. And my shadow tile set. And so forth. Tiled is ok with this structure, but the SpriteCollection's atlas always wants to duplicate the shared tiles since they are in a different SpriteCollection.

Is it possible for the tile map or sprite collection to reference shared atlases? Am I making sense?


Thank you,
Brian

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sharing assets among multiple sprite collections
« Reply #1 on: June 18, 2018, 10:06:58 pm »
Hi,
It is not possible to share assets in this way sorry