Search the Community
Showing results for tags 'json'.
Found 3 results
scon How x & y position in SCON file is calculated?
clym posted a topic in Developer HelpHi there, I'm currently trying to work with the .scon (json) file type that Spriter exports and I'm slightly confused by some of it's translation... Q: (Using Spriter release 11) - For the root bone, the X & Y positions found in the timeline array are the same as in the editor. - However the child bones X&Y position in the .scon seem to be very different to the editor and I can't figure out if the position is relative to the end X&Y of the parent/root bone? Or something else. any info on that would be great! Let me know if you need an aditional info/pics I'm finding the bone info under: entity.animation.timeline.key.bone.angle Thanks, Clym
Spriter JSON(.cson) format
nicolobos77 posted a topic in Spriter ImplementationsHi I'm making an implementation for Game Maker Studio (100% GML code), no extensions/libraries like DLL or Java For now I've tested on Windows and Android and the next things works: Can load .cson files and sprites(images with pivots), all on Included Files. and can load from a string(with this maybe can be used for HTML5) Render all sprites in the first frame of an animation, if has bones, don't have correctly transformations(positions,scale,rotation) I have to interpret all data from .cson file, I look some things weird like the pivot_y of images are inverted from 0 to 1 like if it's 0.7 it's changed to 0.3, and the position of images Y it's negative value if it's 150 in the file it's -150 or if it's -160 in he file it's 160, but if has bones it's changed to relative transformations