🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

idea for animation workflow

A topic by allaze-eroler created 214 days ago Views: 97 Replies: 3
Viewing posts 1 to 3

Hello, after some think, I found out there is a possible solution for making these animation sprites more easily, so here what I had as idea of workflow and I'm not sure if it was possible:

First, we have to export each animation into gif file that will contain each duration of one frame:


The second step would be to create a new folder called "AnimationBuilder" in our Workspace:

Then we will move each gif files in the new folder we created previously:

Once done, we should see this:


Which in this case, in the game creator we will get this kind of change:

At this step, we just have to hit that "animate builder" button. So, we could automatically generate this kind of code:

idle_nude_big = {
    frames = {
    idle_nude_big1 = {
        delay = 0,
        time=5,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,0,1,2,-1,-1,-1,15,16,17,18,19,-1,-1,-1,44,45,46,47,48,-1,-1,-1,-1,-1,102,130,131,-1,-1,148,149,150,189,190,191,-1,-1,225,226,227,228,277,278,279,-1,-1,-1,337,338,383,384,385,-1,-1,-1,-1,431,432,433,434}
    },
    idle_nude_big2 = {
        delay = 0,
        time=0.1,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,3,4,5,-1,-1,-1,20,21,22,23,24,-1,-1,-1,49,50,51,83,53,-1,-1,-1,-1,-1,105,132,133,-1,-1,148,149,154,192,190,193,-1,-1,225,226,232,233,280,281,282,-1,-1,-1,260,342,386,384,385,-1,-1,-1,-1,431,432,433,434}
    },
    idle_nude_big3 = {
        delay = 0,
        time=0.16,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,3,4,5,-1,-1,-1,20,21,22,23,24,-1,-1,-1,49,50,54,84,53,-1,-1,-1,-1,-1,134,135,136,-1,-1,157,158,159,194,195,196,-1,-1,235,236,237,238,283,284,285,-1,-1,-1,344,345,387,388,348,-1,-1,-1,-1,431,435,436,437}
    },
    idle_nude_big4 = {
        delay = 0,
        time=0.4,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,3,4,5,-1,-1,-1,20,21,22,23,24,-1,-1,-1,49,50,54,84,53,-1,-1,-1,-1,-1,134,135,136,-1,-1,157,158,159,194,195,196,-1,-1,235,236,237,238,283,284,285,-1,-1,-1,344,345,389,390,351,-1,-1,-1,-1,431,438,439,440}
    },
    idle_nude_big5 = {
        delay = 0,
        time=0.08,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,3,4,5,-1,-1,-1,20,21,22,23,24,-1,-1,-1,49,50,51,85,58,-1,-1,-1,-1,-1,105,132,133,-1,-1,148,149,154,192,197,198,-1,-1,225,226,232,233,286,287,288,-1,-1,-1,260,342,389,390,351,-1,-1,-1,-1,431,438,439,440}
    },
    idle_nude_big6 = {
        delay = 0,
        time=0.1,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,0,1,2,-1,-1,-1,15,16,17,18,19,-1,-1,-1,44,45,46,59,60,-1,-1,-1,-1,-1,102,137,138,-1,-1,148,149,150,189,190,191,-1,-1,225,226,227,228,277,278,279,-1,-1,-1,337,338,383,384,385,-1,-1,-1,-1,431,432,433,434}
    },
    idle_nude_big7 = {
        delay = 0,
        time=0.1,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,0,1,2,-1,-1,-1,15,16,17,18,19,-1,-1,-1,44,45,46,61,62,-1,-1,-1,-1,-1,102,130,131,-1,-1,148,149,150,189,190,191,-1,-1,225,226,227,228,277,278,279,-1,-1,-1,337,338,391,392,393,-1,-1,-1,-1,431,441,442,443}
    },
    idle_nude_big8 = {
        delay = 0,
        time=0.08,
        width=8,
        unique=38,
        frame= {-1,-1,-1,-1,0,1,2,-1,-1,-1,15,16,17,18,19,-1,-1,-1,44,45,46,63,48,-1,-1,-1,-1,-1,102,130,131,-1,-1,148,149,150,189,190,191,-1,-1,225,226,227,228,277,278,279,-1,-1,-1,337,338,383,384,385,-1,-1,-1,-1,431,432,433,434}
        }
    }

Of course, the script part will not be like that way because I have no idea if it's the right way to write these array. And as you can see, it's the same principle of SpriteBuilder method.

I hope my suggestion will give you some ideas.

This is an interesting suggestion. Eventually I plan on making the Sprite Builder a stand alone tool. I could have it auto group similar file names into arrays for animations. Aseprite has something like this when you try to import an image. Long term I could try to add in a basic animation manager. I'll add this to the list but it will be some time before I get to it. Thanks!

Indeed! and I agree that you could make this way. Also, without that Sprite Builder, It would took me alot of time to write them down manually... ^^;

And thank you for taking your time to read my suggestion! :)

Glad you like the Sprite Builder. I used it for making all of the tools. While I want to capture what it was like to make 8-bit games I don't want to punish people with arcane workflows.