Jump to content

Search the Community

Showing results for tags 'xml'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Spriter General
    • Spriter
    • Help and Tutorials
  • Art Packs
    • Spriter Animated Art Packs
  • Developers
    • Spriter Implementations
    • Developer Help
  • General
    • Open Topic
    • Your Works
  • Jobs, Freelance, and Collaboration
    • Portfolios
    • Job offers (Paid)

Product Groups

  • Software
  • Animated Art Packs
  • Bundles
  • Environment Art Packs
  • 3D Art Packs

Categories

  • Software
    • 3rd Party Productivity Software
  • Paid Spriter Animations
    • Paid Spriter Art Pack Skins
  • Paid Environment Art
  • Free Spriter Animations
    • Free Art Pack Skins
  • Free Environment Art
  • 3D Art for games

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  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.
  2. When there is something that Spriter users know than it is that once the project path is set it cannot be changed anymore or the project images get lost. Well.. Here is a small guide how it can be actually changed. What do you need? Notepad++ Actually it is not a need but it's just easier to work with. Now let's assume your Spriter File (SCML) is inside the folder where all your sprites are located. In the above example my SCML file is called "Juggernaut". Now let's put it one folder higher in the file hierarchy. What I did is to cut out the "Juggernaut " SCML from the "Body Parts" Folder and placed it to the parent folder. If you open the scml file now. After getting a pop-up dialog that notifies you about missing sprites the following thing will happen: That happens because Spriter is still searching for the images in the old folder but since the file has moved the path has to be changed as well. Here is the trick Right Click on the SCML file Choose "open with" and then your favorite editor. In my case Notepad++ Then you will see a syntax similar to xml. Simply add a name attribute to the folder tag Give it the path to the folder your sprites are located e.g name="Body Parts" Search and replace all FILE NAME ATTRIBUTES with the path to the sprites e.g name="Body Parts/Head.png" (in the image above I had to continue it with file id = 7) Save and open Spriter the normal way Enjoy No more missing Sprites ;D
×
×
  • Create New...