im trying to animate my android .png but im not too familiar on how to use this code. if someone could please tell me what im doing wrong that would be much appreciated. ive uploaded theimage im trying to animate. sorry for the nob quesion.
local options =
{
frames =
{
--frame 1
{
x = 0,
y = 0,
width = 120,
height = 100
},
--frame 2
{
x = 100,
y = 0,
width = 120,
height = 100
}
}
}
local sheet = graphics.newImageSheet( “images/skate.png”, options )