JSON(spine) Character Center/scrolling problem.

  • #1, by Nikos EwtoWednesday, 10. May 2017, 16:23 7 years ago
    Hello Visionaire community, ive have been expirementing with JSON files via spine lately, i've created a nice character animation and its working fine, except 1 little problem.

    I cant set the characters Center on my character, and its bugging on my scrollable scenes, The character just walks right of the POV and the scrollable camera cant keep up, i really dont know if the 'character center' is the cause of that, but i need a fix for it. (with png animations its working fine)

    And something else, i wrote a shader script that makes a specific light Follow my characcter, its working great, but when the time comes for the scene to scroll, the character just walks of screen again and the shader is staying behind him.

    i think that the answer for my first question will automaticly answer the second too.

    Thank you in advance.

    Newbie

    6 Posts


  • #2, by SimonSWednesday, 10. May 2017, 17:03 7 years ago
    Spine-files do not have the option to set a center as it will be always 0,0 of the file, so build your files in accordance.

    You might want to increase the scroll speed in the game settings.

    Thread Captain

    1580 Posts

  • #3, by Nikos EwtoWednesday, 10. May 2017, 17:11 7 years ago
    Spine-files do not have the option to set a center as it will be always 0,0 of the file, so build your files in accordance.

    You might want to increase the scroll speed in the game settings
    ok, but there is just a small problem, i have a custom scrolling script im not using the one in visionaire, i made it to give a unique style to my game, so it isnt worth it changing that JUST for the spine-character center bug. 

    Isnt there anyway i get arround that?

    Newbie

    6 Posts