summaryrefslogtreecommitdiff
path: root/samples/Hello/gfx/test.animation.asset
blob: 2750135968414b07003e215d1b5d6cd6ff7af5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
	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}},
	},
}