local ANIM_DURATION = 1.0 local NR_QUADS = 7 local FRAME_DUR = ANIM_DURATION/NR_QUADS return { tile_width = 64, tile_height = 64, tile_origin = {0.5, 0.5}, tile_names = Anim { 0, 1, 2, 3, 4, 5, 6, time = {FRAME_DUR, FRAME_DUR, FRAME_DUR*2.0, FRAME_DUR*0.5, FRAME_DUR, FRAME_DUR*1,FRAME_DUR*1, FRAME_DUR*1.0}, } }