Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by loudo

  1. I try to resize a project today. I've noticed 2 things :

    1. it doesn't scale the PNG to the closest integer (it scale to the inferior integer instead).

    2. it doesn't change the size of the image in the scml (the old width and height are still there). I don't think it is an issue for my game engine because I use the size of the image I load to place the images. But it may be an issue for game engine that uses the size in the scml (I mean: if the game engine use the pivot and the width and height of the scml but they don't match with the size of the PNG, there will be incorrect positionning).

  2. 4. All input numeric field need to have the ability to be modified with + - * /.

    Because right now, we have to set the final value. It will be very good to change a numeric field adding a value. So let's say my x value is 15 and I want to add 103, I just need to wrote +103 in the field and the result is automatically calculated instead of taking a calculator and write myself the result.

    5. With 4., it will be great to modify a value of an object for more than one frame in the same time.

  3. 1. Having the ability to play some animations one after the others for test purposes (ie: anim1, anim2 and then anim3). So you can see how they are chained together. (Right now I can only achieve that in my game engine but it would be great to test that directly in Spriter to save a lot of time).

    2. Play the animation without loop activated

    3. Copy multiple frames into another animation

  4. Hello,

    It's been a long time since last time I used Spriter. So, I don't know if it's a bug or if I should use a specific method.

    I have an animation A where I need to copy/paste at the beginning some frames of an another animation called B.

    So first, I make the animation A longer, then I shift the frames to make some places at the beginning.

    Then, I copy the frames I want from B and paste at time 0 in animation A. 

    It should fill the beggining of A perfectly but it doesn't.

    When I paste it creates the frames but with wrong images. Also, when I look into the scml, it doesn't create new timeline keys but just only mainline keys.

    So is it a bug? Or is there a specific method to achieve this. Please let me know because I don't want to modify the scml manually in notepad++


  5. Quote

    so no gc at all while spriter entity is animating!

    Awesome! Sadly I still have many allocations (haxe as well) but I tend to reduce them in my dev branch

    How did you managed to do that?

    EDIT : Oh I see you use an abstract to use one big Vector instead of multiple Object for your computations. Nice ! I tend to use one static object instead but I still have some allocations (I'm cloning KeyB but I will use a static one for my computations soon).

    Did you try this implementation of Kha for SpriterHaxeEngine?

    Anyway, I'll give it a try. Did you make a performance test?

    I'll be interested on how we can both optimize our libraries.




  6. Hello,

    I've recently noticed that we can also use curveType on MainlineKey (and not only on TimelineKey). I don't have this possibility in my engine yet.

    So can you please tell me the best way to implement this ?

    Is it overriding all TimelineKey? If yes, it should update the scml accordingly and I shouldn't have to do anything in my engine. So I guess the behavior is different.

  7. Just a quick post to remind that this implementation is complete (include subentities, variables, bones...) and I plan to add some features (mapping with regexp, ...).

    Well, almost actually, I didn't make the Sound implementation because I don't think an animation engine should handle sounds, but the variables or tags features should make the trick. :)

    I've also made my own atlas exporter for TexturePacker and you can even make a binary of an scml (avoid to parse the xml during runtime).


    I'm currently improving the library to have better performance.

  8. Character Mapping improvement:


    1. Character Map on folder and not only on files.


    Instead of having:

     <character_map id="0" name="noweapon">            <map folder="7" file="1"/>            <map folder="7" file="2"/>            ... </character_map>
    can we have:
     <character_map id="0" name="noweapon">            <map folder="7"/> </character_map>

    So it means that the whole folder 7 will be invisible.

     <character_map id="0" name="otherweapon">            <map folder="7" folder="8"/> </character_map>

    And here it means that the whole folder 7 will be replaced by the whole folder 8. Of course ids should match.


    It allow to reduce scml size when we have a lot of character mapping based on folder.


    2. Global character mapping


    Can we set a character map for all entities please :)

    1. In the Import frames pannel, it would be nice to have the choice of the curve type. 

    Also, we don't have any visual element saying the curve type of a specific frame. So maybe we can have the default rectangle for the instant mode, a rectangle with a black stroke for linear frame, and a rectangle with a shape ^ inside for custom curve.

  • Create New...