i'm using hardcrawler spriter addon (https://bitbucket.org/hardcrawler/spriter) bless his heart.
Unfortunately i'm not able to get it to work. i loaded everything in,
however, it's inside a huge black canvas. it's HUGE and the character's offset is not correct:
is there a way to just have it be drawn like if you were drawing an image? (rid of the black canvas, and remove weird offset)
position is supposed to be 0,0 lol
I think you can do spriterData:setCanvasOffset(-400, -500) or something like that. I don't use spriter, sorry. Doesn't Spriter offer a hook point? If so, that should be automatically used, but it doesn't appear like the library can handle that.
--Using a shared canvas to avoid creating too many
--Not sure if the best idea, and certainly clunky to hard-code w/h
function Spriter:getCanvas()
if not self.canvas then
Spriter.canvas = love.graphics.newCanvas(300, 300)
end
return self.canvas
end
this was at a whopping 1000, 1000. change it to whatever the width/height of your char is. works perfectly so far! hope this helps anyone seeing this thread!
Damn. Looks like there is one huge problem after doing all this to get it to work.
There is no animation transitioning. I have no clue on how to incorporate that
I checked out Spine's love runtime, works quite well (has animation transitioning too!). Except that puppy is $69.99 w/o even full IK support. And $300 with full IK. That's insane. FML