From 6e0007f96b5e141d70d0ff3496d8bc5f673cc199 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 20 Jan 2019 20:02:06 +0800 Subject: *misc --- Samples/Hello/gfx/particles.asset | 0 Samples/Hello/gfx/test.animation.asset | 9 +++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 Samples/Hello/gfx/particles.asset (limited to 'Samples/Hello/gfx') diff --git a/Samples/Hello/gfx/particles.asset b/Samples/Hello/gfx/particles.asset new file mode 100644 index 0000000..e69de29 diff --git a/Samples/Hello/gfx/test.animation.asset b/Samples/Hello/gfx/test.animation.asset index 89ca0df..e429d4c 100644 --- a/Samples/Hello/gfx/test.animation.asset +++ b/Samples/Hello/gfx/test.animation.asset @@ -4,11 +4,12 @@ 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"}, - {time=0.1,sprite="/sprites/hero_1.spr"}, - {time=0.2,sprite="/sprites/hero_2.spr"}, - {time=1.0,sprite="/sprites/hero_3.spr"}, + {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}}, }, } \ No newline at end of file -- cgit v1.1-26-g67d0