kaboom icon indicating copy to clipboard operation
kaboom copied to clipboard

Suggestion: Animation sequences by frame

Open oaklandgit opened this issue 4 years ago • 1 comments

Feature suggestion:

It seems there should be a way to specify an animation sequence by frames, rather than "from/to". For example I would expect to be able to do something like:

anims: {
        faceRight: 0,
        turnRight: { from: 4, to: 8 },
        shootRight: { frames: [ 13, 0 ] } // <----- this one
    },

oaklandgit avatar Sep 19 '21 14:09 oaklandgit

Combine this with the idea of using atlas json from packers like free-tex-packer-core and now you're cooking.. Something that lets you generate the frames IDs from the names.

joshuacurtiss avatar Sep 19 '21 23:09 joshuacurtiss