So you want to use spine1 on one map and spine2 on another map for the player, right? If so, I'm working on adding a function to allow changing spine. I think this might make it easier for you.
Hmmm... sorry but you kinda lost me.
1.What did u mean about "So you want to use spine1 on one map and spine2 on another map"?
To my understanding, I thought each character was referencing a spine animation thru ._spineAnimation object it is attached with and deleted and recreated on each transfer including menu changes? So, im lost when u said spine1 and spine2 as if this plugin saves each character's spine animation data for each map? If thats the case, that would lag the game wont it?
2.What I am trying to achieve is for all characters on the map not just the player. So, to clarify how things work currently with this plugin is that on every transfer, the creation of ._spineAnimation on any character resets to their respective map settings?
If thats the case, the big picture of what I'm trying to achieve would be to save the animation name and key frame of a characters and reload it somehow when retransferring to same map. It sounds easy enough but I just dont know currently where in ._spineAnimation object or if its even there
or another, I can find the animation name and current key frame position value its on. For example info animation > "driving" "currentKeyFrame:0.5".
So where would I find this data for reference in the console? I tried playing with around with the keys in ._spineAnimation of a character and they don't do anything as far as adjusting a key frame of an animation currently playing.
Also, I've notice in the console that there is a .load() function. Is this how an animation is loaded for a character?
If so, how would I be able to load this saved data sample in command >>> character.load("driving", keyframestart: "0.5")?
I want to thank u for suggesting not to do the JsonEx.stringify(char) route to save an animation name and keyframe cuz that would probably be costly in the end.