Jump to content

uterian

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi guys, I need to have each part's positions every 50ms in an animation so I can use them on sfml however I wish. I don't want to spend alot of time to learn the whole spriter framework for c++. I just need to get part positions.(not bones) is there any parser for that , or any information/little trick I can use so I can write a parser for the .scml file? Is there any way to export that .scml file without bone informations but only sprite positions (x,y,rotation)(and idealy with custom determined intervals like 50ms) best regards -ozan EDIT: through searching old posts on forum, I've found this link http://www.brashmonkey.com/ScmlDocs/ScmlReference.html BUT Most probably it's outdated. Calculating real X and Y values are not as shown in this reference page. Right formulas (checked) : float realX = (y*s) + (x*c); float realY = (y*c) - (x*s); also you gotta multiply ParentY and ChildY with -1 beforehand. Don't know the reason but they are written into the file with opposite signs.
×