klungart

  • 2014年4月21日
  • 2014年2月14日に参加
  • Do you also find that you need to export twice before getting the png file sometimes? Every now and then it exports everything, and then I might have to export two times to get the png. Wondering if it's a bug or if I'm doing something wrong 🙂

    • 編集済み
  • Hi,

    I'm an animator working freelance with Spine. Loving the program, but I'm having some problems with exporting the atlas.

    The character in the game is really tiny, and it's impossible to animate it properly on the actual scale it is inside the game. So I have to scale it down when I export it. It's a regular 2d character, no meshes or anything, just need to scale it down and have the filenames not have 0.25 etc in them (request from the programmer).


    https://www.dropbox.com/s/imy4p6xtuf7grpl/help.jpg

    Example:

    1. I enter 0.25 in the scale property in the atlas settings, and 0.25 in the suffix property, then hit export.
      - Export works fine.
      - Filenames are different (programmer wants the filenames to be the same f.eks: avatar.json, avatar.png, avatar.atlas).

    2. I enter 0.25 in the scale property in the atlas settings, and leave the suffix empty, then hit export.
      - Error on export : "An error occured while packing the images"


    Can I simply rename the files after the export? Or will that mess everything up?
    Hope someone can help me with this, because the program is so awesome otherwise 🙂

  • Worked fine a few weeks ago, but when I opened the file today to export again, I got this error.

    Packing.........
    Writing 1024x128: D:\Animation Related\Freelance\ENKI\SPINE\egger\Exports\V - 3\0.png

    java.lang.RuntimeException: Error writing pack file.
    at com.badlogic.gdx.tools.texturepacker.TexturePacker.a(SourceFile:108)
    at rg.run(SourceFile:551)
    at sM.run(SourceFile:203)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.FileNotFoundException: D:\Animation Related\Freelance\ENKI\SPINE\egger\Exports\V - 3\0.4\egger.atlas (The system cannot find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
    at java.io.FileWriter.<init>(FileWriter.java:107)
    at com.badlogic.gdx.tools.texturepacker.TexturePacker.b(SourceFile:292)
    at com.badlogic.gdx.tools.texturepacker.TexturePacker.a(SourceFile:106)
    ... 8 more

    EDIT: So when I created a folder named "0.4" it exported just fine. Now the programmer can't get it to work since the files aren't in the same folder. Anyone had the same problem? 🙂

    • 編集済み
    • 編集済み
  • Hey everyone!

    When I export my animation as a PNG sequence, it names the different png images inconsistently. In order to import the sequence into After Effects, the different images in the sequence need to be, well, in sequenced order.

    Right now it's in sequence, but it skips numbers. So it would name frame 1-10 as 10-20, and then suddenly instead of the next png image being named 21, it names it 110..

    This means I would have to rename all the png files in order to import them into after effects.

    Is it just me that's missing something in the export settings, or is it a known bug? 🙂