Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello Pflat,

Your work is amazing. Just created an account to tell you that and to ask a question.


It seems some animations cannot be exported. E.g. there's a whip animation, and I can see that it works in the UI by pressing space. The whip anim is special, and it's not exported. In fact, we cannot build any character with special animations (read as: I might be wrong, but i haven't found a way).

In an attempt to find a way, when looking at the *.export files, the animations are referenced by some string-ID that appears to be hard-coded in the source. I.e. "ISL_UP_0" likely stands for the islash animation.  As such it is hard for me to figure out whether there is a corresponding string-ID for the character_large_whip.anim that I can use to set up my .export file, without decompiling the whole app. 

For what it's worth, I tried my luck and included the following part in my export:


{
        "name": "whip",
        "suffix": "whip",
        "type": "single",
        "frames":
        [
            [ "LWP_UP_0", "LWP_UP_1", "LWP_UP_2", "LWP_UP_3", "LWP_UP_4", "LWP_UP_5", "LWP_UP_6", "LWP_UP_7" ],
            [ "LWP_LF_0", "LWP_LF_1", "LWP_LF_2", "LWP_LF_3", "LWP_LF_4", "LWP_LF_5", "LWP_LF_6", "LWP_LF_7" ],
            [ "LWP_DN_0", "LWP_DN_1", "LWP_DN_2", "LWP_DN_3", "LWP_DN_4", "LWP_DN_5", "LWP_DN_6", "LWP_DN_7" ],
            [ "LWP_RI_0", "LWP_RI_1", "LWP_RI_2", "LWP_RI_3", "LWP_RI_4", "LWP_RI_5", "LWP_RI_6", "LWP_RI_7" ]
        ]
    },

But that just crashes the application on startup, because I totally made up that "LWP_..." part and it probably doesn't exist.

So my question is: If such a string-ID exists, as a temporary workaround, I would greatly appreciate it if you tell me so. 

As a long-term fix, maybe you have any ideas on how we could solve the export of special animations generally?


Kind Regards,TS

Hello TS,

I checked the issue, and the bug is really on me. I didn't include the special animations when I rewrote the export process in v0.7

Sorry for the trouble.

That way, there's no quick fix for the problem, except to implement it. I'm already doing it and expect to release it this week.

On another note, it's amazing that you explored the app data files and experimented with it. That was really cool. Thanks a lot.