Jump to content

netguy204

Members
  • Posts

    3
  • Joined

  • Last visited

netguy204's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Which format does your library support? Beta or final?
  2. I wrote a SCML parser / playback tool as part of a Scheme game-engine I'm working on. The SCML code is nicely abstracted from the rest of the engine so it should be very easy to port. You can see a video of it here: http://youtu.be/QH6uS8z6zrg Here's the code: https://github.com/netguy204/gambit-game-lib/blob/master/spriter.scm It implements the final SCML spec (post beta) as described here: http://www.brashmonkeygames.com/spriter/8-17-2012/GettingStartedWithSCMLGuide(a2).pdf To load an animation: (define +scml+ (scml-load "monster/Example.SCML")) (define +idle+ (animation (entity +scml+ "0") "Idle")) The length of the animation (in seconds) is: (animation-length +idle+) To interpolate the animation to any time between 0 and its animation-length: (interp-anim anim time) This returns a list of tkey objects which contain the interpolated rotations, positions, and centers for all of the sprite fragments presented in the order they should be drawn. Here's an example of it being used: https://github.com/netguy204/gambit-game-lib/blob/46c8723ebf7663fe0ba04fc0853d1337515787e7/scmlib.scm#L76 Hopefully this saves someone some time!
  3. Two issues in r1a_preview on the mac: Once I drag a file from the file list onto the canvas I can't delete it. I've tried the delete button on the toolbar, Edit | Delete, and pressing delete on my keyboard. I've had two crashes in my 15 minutes of playing with spriter. This one happened as I was trying to reorder elements in the list on the left. I was trying to fix the z order though I'm not sure that this was the proper way to do that. https://docs.google.com/document/d/145P ... 2JuvQ/edit (The forum has file upload disabled for .txt files. That would have been a more convenient way to deliver the crashlog if it were available.)
×
×
  • Create New...