kaboom
kaboom copied to clipboard
Suggestion: Animation sequences by frame
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
},
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.