Stacks and livecode server?

Richard Gaskin ambassador at fourthworld.com
Tue Apr 21 10:09:22 EDT 2015


Mark Wilcox wrote:

 > Yes, you can download bundles of content with no code. The file format
 > doesn't matter. Unity has asset bundles that can contain code on other
 > platforms but are content only on iOS.

Thanks for that info.  How does Unity provide cross-platform 
compatibility while using two different delivery models?


 > I'm not sure if a stack has significant advantages over some other
 > format here but I don't see why you shouldn't.

Stack files can sometimes be a nice way to bundle multiple resources 
into a single container.

For example, in one of my apps I use stack files for things like 
collections of thumbnails so I can have lots of images come over the 
wire in a single HTTP transaction.

Also, I've found that below a certain size (100 MB? Been a while since I 
tested that) loading a stack packed with custom property sets is faster 
than reading an encoded array file and running it through arrayDecode. 
Of course that's only useful for arrays no deeper than two dimensions, 
but if that's what you need it can be helpful.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list