Skip to content

Instantly share code, notes, and snippets.

@srdjan-m
Last active December 17, 2015 14:08
Show Gist options
  • Save srdjan-m/5621725 to your computer and use it in GitHub Desktop.
Save srdjan-m/5621725 to your computer and use it in GitHub Desktop.
corona: sprite sequence (non-consecutive frames)
local sequenceData = {
{
name = "fastRun",
frames = { 1,2,4,5,6,7 }, --specific order of frame indexes from the image sheet
time = 250,
loopCount = 0
} --if defining more sequences, place a comma here and proceed to the next sequence sub-table
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment