- 編集済み
I can`t export to JSON? :(
Ok I had started working in some animations and now I need to export the json but spine always shows me this error (attached) I tried to follow the bug posting guidelines, not sure if this way its ok.
Licensed to: *****, *****
NVIDIA Corporation
GeForce GTX 980/PCIe/SSE2
4.5.0 NVIDIA 368.39
Started.
java.lang.RuntimeException: Image does not fit with max page size 1924x1924 and edge padding 2,2: body[1688.0,2146.0]
at hp.a(SourceFile:112)
at hp.a(SourceFile:77)
at com.badlogic.gdx.tools.texturepacker.TexturePacker.a(SourceFile:108)
at kS.run(SourceFile:240)
at wF.run(SourceFile:217)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
and it repeat over and over...
Anyone can help me? I notice that the illustrator gave me all the assets in 300dpi...I tried again creating other animation using the same files in 72dpi and it work fine but I already have arround a day of work animating the other files and will be just great if I dont have to re-do all the thing.
The error gives a hint of what's wrong. It appears the "body" image has a size of 1668x2146. Your maximum atlas page size is 1484x1484. You have a couple of options to fix this, all located in the texture atlas settings dialog
HTTPS をサポートしていないため、画像は非表示になっています。 | まだ表示する
- Increase the maximum size of your atlas pages to (biggestImageWidth+padding)x(biggestImageHeight+padding). Note that such huge atlases with multiple pages are very bad for performance in game though.
- Downscale the images by a scale factor (bottom left, under Output -> Scale). This will do downsampling. You will possibly get better downsampling in Photoshop though.
Thanks a lot Badlogic, this was solve!