{ type="animation", duration=3, loop=true, update_sprite=true, update_transform=false, update_color=true, key_frames=4, frames={ {time=0.0,sprite="/sprites/hero_0.spr",color={255,0,0,255}}, {time=0.1,sprite="/sprites/hero_1.spr",color={255,255,0,255}}, {time=0.2,sprite="/sprites/hero_2.spr",color={255,0,255,255}}, {time=1.0,sprite="/sprites/hero_3.spr",color={255,0,0,255}}, }, }