• Bugs
  • centre point of sprites

Im exporting animations using sprite sheet for speed reasons. Ive parsed the atlas and got it all loading and drawing correctly, except I cant calculate the centre point of the sprites.

Logic says that i just subtract the offset, but it still didnt let me get the centre. I then exported the graphics as single images, loaded the image i was using to calculate the cp, and sure enough, it was the exact position that the offset was pointing to. Problem is, that is not the centre point of the image? its quite a bit up and off to the right???

I would have thought that the root would have been the centre point. How can i set what the centre point of the sprite is?

Related Discussions
...
  • Изменено

Can you show the setup of your skeleton in Spine? What are your export options?

Its a simple skeleton (spineboy will do the same), but the problem is that its treating it just as an image sequence and just centering the animation as a whole. however, i have managed to override this behaviour by setting up crop in the viewport and centering the sprite that way, now it holds its position and all seems to work.

You would have to have a play with it to see what i mean, For example, you want the root to be the centre point (is a logical choice) of the exported graphics. So animate spineboy falling over, then export that animation, you will see that from the exported data it is not possible to track the actual centerpoint as the export is centering the animation as a whole. However the cropped viewport gives the desired results. I am pretty sure that this is a bug as knowing where the centre point of the sprite is, is importiant to being able to redraw it in code.

Hello! I have a problem.
1.2.10.2020 bought a spine pro for 300 bucks.

  1. I have installed the program.
  2. Entered the key.
  3. The program gave an error:
  4. Error data: Spine Launcher 4.0.08-legacy
    Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
    ERROR: An unexpected error has occurred:
    java.lang.RuntimeException: Update file integrity check failed: C: \ Users \ Owner \ Spine \ updates \ 3.8.99
    at com.esotericsoftware.spine.editor.launcher.Launcher ._ (: 263)
    at com.esotericsoftware.spine.editor.launcher.Launcher. <init> (
    : 167)
    at s.LPt7.run (_: 826)
    at java.desktop / java.awt.event.InvocationEvent.dispatch (Unknown Source)
    at java.desktop / java.awt.EventQueue.dispatchEventImpl (Unknown Source)
    at java.desktop / java.awt.EventQueue.access $ 600 (Unknown Source)
    at java.desktop / java.awt.EventQueue $ 4.run (Unknown Source)
    at java.desktop / java.awt.EventQueue $ 4.run (Unknown Source)
    at java.base / java.security.AccessController.doPrivileged (Native Method)
    at java.base / java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege (Unknown Source)
    at java.desktop / java.awt.EventQueue.dispatchEvent (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.pumpOneEventForFilters (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.pumpEventsForFilter (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.pumpEvents (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.pumpEvents (Unknown Source)
    at java.desktop / java.awt.EventDispatchThread.run (Unknown Source)
  5. I've tried old versions, but they won't start either.
  6. I really need the program, tell me what can be done to make it work !?

Hello, please redownload the Spine launcher from your license page.

@Gennadyi Miluytin, actually this is a problem a few users are having. It is our top priority to fix and we hope to have a fix very soon. Please email us and we can provide a workaround so you aren't blocked: contact@esotericsoftware.com


We have a new launcher available now (version 4.0.09) which fixes this problem. Very sorry for the trouble!