From 90b11fbb0e4c578bf507370e102d6a5ed30ba31e Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 22 Jan 2019 18:14:22 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9asset=E6=A0=BC=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/Hello/gfx/icon.png.image.asset | 6 ++++-- Samples/Hello/gfx/mt_thunder.material.asset | 6 ++++-- Samples/Hello/gfx/test.animation.asset | 28 +++++++++++++++------------- 3 files changed, 23 insertions(+), 17 deletions(-) (limited to 'Samples/Hello/gfx') diff --git a/Samples/Hello/gfx/icon.png.image.asset b/Samples/Hello/gfx/icon.png.image.asset index e9d0125..d296c4e 100644 --- a/Samples/Hello/gfx/icon.png.image.asset +++ b/Samples/Hello/gfx/icon.png.image.asset @@ -1,2 +1,4 @@ -type="image", -extern="icon.png" +{ + type="image", + extern="icon.png" +} \ No newline at end of file diff --git a/Samples/Hello/gfx/mt_thunder.material.asset b/Samples/Hello/gfx/mt_thunder.material.asset index ad4ac52..1b768f2 100644 --- a/Samples/Hello/gfx/mt_thunder.material.asset +++ b/Samples/Hello/gfx/mt_thunder.material.asset @@ -1,2 +1,4 @@ -type="material", -shader="/shaders/sh_thunder", +{ + type="material", + shader="/shaders/sh_thunder", +} \ No newline at end of file diff --git a/Samples/Hello/gfx/test.animation.asset b/Samples/Hello/gfx/test.animation.asset index 63970a2..2750135 100644 --- a/Samples/Hello/gfx/test.animation.asset +++ b/Samples/Hello/gfx/test.animation.asset @@ -1,13 +1,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}}, -}, +{ + 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}}, + }, +} \ No newline at end of file -- cgit v1.1-26-g67d0