Spriter/C2 - (9-16-2019 - bug fix)

  • So I preordered anyway, and no it doesn't work with CocoonJS. CocoonJS doesn't support a DOMParser object.

    ludei any chance that DOMParser is on the agenda so the Spriter and XML plugins will work on CocoonJS?

  • my animation looping doesn't work anymore, with the last two updates & the latest C2 (HTML5). works with the version I got on 2/13/2013

    wookalar if you could please send me an example file with nonworking looping(both the construct project and the scml itself), I'll see what I can find

    So I preordered anyway, and no it doesn't work with CocoonJS. CocoonJS doesn't support a DOMParser object.

    ludei any chance that DOMParser is on the agenda so the Spriter and XML plugins will work on CocoonJS?

    thehen. thanks for the preorder. I talked to Ashley about it, and indeed up to ludei to fix it. There's really no way around it.

  • Hi lucid, yeah that's what I gathered from the code. Thanks for the great work, this will undoubtedly be very useful.

  • Thanks lucid, maybe I will put it up somewhere and send you a link :)

    I sure hope cocoon supports Spriter! part of the reason I bought it..

    I'll send them an email requesting it...cocoon has been running very well on my nexus 7.

  • thehen In the last release we added internal support for XML parsing, but it's not yet exposed in JS. So, it's getting closer! Hopefully we'll find the time to add full XML parsing support for the next release.

  • ludei awesome news, thanks!

  • lucid

    can you provide a capx of the monster example? I want to buy Spriter but am not sure how to achieve the live example you provided.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • lucid

    can you provide a capx of the monster example? I want to buy Spriter but am not sure how to achieve the live example you provided.

    siki - just download the monster example and plugin from the first post in this thread.

    drag the .scml file into a c2 layout, and preview. The monster should be fully imported and immediately playing the default animation when the preview loads

    yaomon17 - didn't see the other post, will respond there now

  • update 3/7/13:

    fixed some bugs:

      <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where setting an animation directly following automatically generated initialization actions didn't work. The default animation would play anyway. <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where after a non-looping animation played, the sprites would disappear. <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where animations containing objects that go into negative scale values would play back incorrectly
  • update 3/7/13:

    fixed some bugs:

      <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where setting an animation directly following automatically generated initialization actions didn't work. The default animation would play anyway. <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where after a non-looping animation played, the sprites would disappear. <img src="smileys/smiley38.gif" border="0" align="middle" />Fixed a bug where animations containing objects that go into negative scale values would play back incorrectly
  • I always love updates to this plugin :)

  • I always love updates to this plugin :)

    Excellent, this next ones in response to your bug report:

      <img src="smileys/smiley38.gif" border="0" align="middle" />Animations now use alpha data from scml to control sprite opacity during playback.
  • Just as an update.

    * Pause animation playback, doesn't do anything :(

    * "Set playback speed ratio"(for pausing, so 0) needs to be after "set animation" or else it will error on line 1295 of the plugin

    * Can there also be AnimateToKeyFrame(frameNumber). I find using Spriter to scroll a menu up and down for a controller to be really nice. Rather than using set speed ratio. Animate to frame would be way better.

    * as a temporary update for Spriter into C2. You can copy and paste the SCML file into the C2/File folder. It does work. This however doesn't take into account new objects. Now I'm not sure which part is responsible the plugin add object or the plugin itself. It would be great that on startup of C2 the Spriter Plugin can go over the spriter event sheet, and images and put them where they should be.

    * It would be great that Spriter Plugin handle it's own XML parsing rather require other technology. That way C2 Spriter can be moved to different platforms and not have to wait for other technology to provide the DomXMLParsing shim.

  • Just as an update.

    * Pause animation playback, doesn't do anything :(

    * "Set playback speed ratio"(for pausing, so 0) needs to be after "set animation" or else it will error on line 1295 of the plugin

    both of these work fine for me, please make sure you have the latest version, and if it doesn't work, please send me a minimal capx if possible

    Can there also be AnimateToKeyFrame(frameNumber). I find using Spriter to scroll a menu up and down for a controller to be really nice. Rather than using set speed ratio. Animate to frame would be way better.

    <font color="red"><font size="3">update 3/8/13:

      <img src="smileys/smiley38.gif" border="0" align="middle">Added 'Play animation to...' action and associated expressions. Allows you to specify an endpoint in milliseconds, ratio of full animation length, or keyframe number, and plays the current animation from it's current time to that point taking the shortest route

    </font></font>

    as a temporary update for Spriter into C2. You can copy and paste the SCML file into the C2/File folder. It does work. This however doesn't take into account new objects. Now I'm not sure which part is responsible the plugin add object or the plugin itself. It would be great that on startup of C2 the Spriter Plugin can go over the spriter event sheet, and images and put them where they should be.

    good workaround, but be careful, as this method is unsupported, and weird things are bound to happen in certain situations.

    It would be great that Spriter Plugin handle it's own XML parsing rather require other technology. That way C2 Spriter can be moved to different platforms and not have to wait for other technology to provide the DomXMLParsing shim.

    Would be nice, but not possible in the near future

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)