Skip to content

Releases: CrazyFlasher/flump

1.5.2

21 Oct 06:42
Compare
Choose a tag to compare

Exporter:

  • Added "baseScale" property to root node of of exported property file

Runtime:

  • Possibility to use "baseScale" property, which was defined in exporter.
  • new setter added to LibraryLoader.
    setScaleTexturesToOrigin (scaleTexturesToOrigin :Boolean):LibraryLoader.

Set to true, if you want to keep original size of display objects, not matter what scale atlas has. For example, if atlas is scaled to 0.2 and passed scaleTexturesToOrigin is true, then display objects will be the same size as in source file, and their textures will be scaled.

Example:
On both examples, atlases exported with base scale 0.5.

  1. Original size in fla:
  2. On the first example, scaleTexturesToOrigin is false (false is default)
  3. On the second example, scaleTexturesToOrigin is setted to true and all stuff is scaled to original size as in fla file.