• Bugs
  • Canvas demo is upside down

  • Змінено
Related Discussions
...

Whoops, this shouldn't be the case. The line responsible for this behaviour is here:

https://marioslab.io/uploads/screenshots/0mIikHRqHv.png

That said, the samples in the GitHub repository use the up-to-date API and don't invert Spineboy. You can find them here: https://github.com/esotericsoftware/spine-runtimes/spine-ts

2 місяці пізніше

Didn't have time before to check it - tried it now. Nope, that line doesn't change anything, seems to be ignored.

I had to add context.scale(1,-1); in resize method to fix it.

(The animation also has some elements shifted for some reason to wrong positions. But maybe that is caused by something else, scaling of the canvas or something.)