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

  • Hi, thanks for the recent updates.

    I have a problem with my SCML object disappearing as soon as it gets outside of layout (during a layout zoom-in). To be more clear, it's the small scml box object which gets out of layout bounds, but my whole (much bigger) object which disappears, so it is very visible.

    Is there any solution to this?

    Thanks a lot!

    Have you set the animation bounding box for your animations in Spriter? (We only recently added this to our tutorial)

    Saving it after doing this will give the plugin the bounding box information it needs.

  • Hi lucid ,

    I have a little question/request.

    I like Spriter, and it is a good alternative to frame-by-frame sequences, especially for big/long animations and in a download-weight-size aspect.

    But I noticed that .scml and .scon files tend to become big, sometimes more than a 1mb in size even for small animations (My record is 7mb in weight)

    Also I noticed that those files are text based, and easily compressed by zip.

    For example, 1mb .scml file compressed by 7z to 23kb(!!!) in size.

    Windows zip compress to 45kb...

    RAR should be somewhere in between...

    So, is it possible to make those files smaller to download?

    Please include in the Spriter option to export and read compressed text files, there are many compression+uncompress algorithms out there to use, even for JavaScript.

    I know that those files will become unredable, but it is a good option for export, additionaly in some aspects a more secure one (like minified/uglified script, but unlike minifier, it could be a total gibberish if comressed).

    Thank you.

  • Probably not in the short term , but I will keep it in mind for a future update.

    new plugin version:

    2/4/2017

    • Added action to 'find spriter object' from it's corresponding c2 object, and an expression to retrieve the 'foundObject's name. (useful for testing conditions on collision boxes and sprites, and then retrieving a Spriter variable for that object)
    • Fixed a bug that would cause an error when using action points
    • Fixed a bug that sometimes prevented objects (sprites, boxes, etc) from updating
  • Try Construct 3

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

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

    i believe i found a bug.

    if you have a scml object used with 1 sprite sheet, c2 will only draw the scml object if the hotspot is within the layout.

    this cause the scml to suddenly jump in the screen, if it is moving into the layout from the outside of the layout.

    *you can simulate this by placing a scml that uses 1 sprite sheet with the 8-direction behavior

  • hello

    Have you set the animation bounding box for your animations in Spriter? (We only recently added this to our tutorial)

    Saving it after doing this will give the plugin the bounding box information it needs.

  • lucid

    thanks, that solved it (you just wrote the same thing to Rable *facepalm*)

    i see amazing performance boost in mobile devices, after moving to 1 sprite sheet.

    my game went from 650 objects down to 420!

  • lucid I doubled the sizes of my sprites that spriter loads for my character inside the spriter editor. Is there a way to scale the project and bones so it fits the new sizes of the sprites? (Meaning scaling the bones and not the sprites connected to them)

    Or do I have to scale every bone and place the sprites correctly for each animation manually?

  • lucid I doubled the sizes of my sprites that spriter loads for my character inside the spriter editor. Is there a way to scale the project and bones so it fits the new sizes of the sprites? Or do I have to scale every bone and place the sprites correctly for each animation manually?

    Timely question! I have the opposite challenge - to reduce the size of the sprites and bones... fingers crossed for a simple solution!!

  • Colludium I solved it now by doing this:

    1. Exported out my new sprites as the size I wanted and reloaded them in spriter. Which messes up the character.

    2. Then I selected the main bone and scaled it to the size I wanted. In my case 2 as my new sprites are double the size of the old ones. This also scales all child bones and the sprites so everything looks like shit atm However the rig is now correct but nothing else

    3. Lastly I selected all my sprites (only the sprites no bones) and changed the scaling back to 1 and now the rig and bones are correct at the new scale.

    Not optimal but it worked

  • Anonnymitet - awesome, and just about my level of pixel manipulation - thank you!

  • Anonnymitet - awesome, and just about my level of pixel manipulation - thank you!

    Great, only thing that was a bit frustrating was that I had to right click and copy both the new X&Y scale for each sprite to every frame

  • hi. Sorry if my reply is too late to help. You should be able to export project to new size from the File menu, which will resize the sprites automatically (though not with the same quality as your manual resize), and then replace the files in the new project folder with your manually resized sprites.

  • 2/26/2017

    • Fixed a bug where overrides would remain stuck even after stopping the override action.
  • hey lucid Do the current time ration animation events works?

    because I have a problem using that event in my game.

  • ffman22 sorry I thought I had already replied to this. It seems to be working for me.

    The quick test I did was:

    Every Tick - Set current time in animation to unlerp(viewportLeft(0),ViewportRight(0),Mouse.X(0)) ratio of total length.

    Then the left side of the screen is the beginning of the animation and the right side of the screen is the end, and wherever your mouse is in between is what the animation should play back at.

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