Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Corona SDK Sprite Example: Multiple Sequences
-- Example assumes 'imageSheet' already created using graphics.newImageSheet()
local sequenceData = {
{ name="walking", start=1, count=3 },
{ name="running", frames={ 3, 4, 5, 6, 7, 8 }, time=50, loopCount=4 },
{ name="jumping", start=9, count=13, time=300 }
local character = display.newSprite( imageSheet, sequenceData )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.