diff options
author | chai <chaifix@163.com> | 2019-01-22 18:14:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-22 18:14:22 +0800 |
commit | 90b11fbb0e4c578bf507370e102d6a5ed30ba31e (patch) | |
tree | 4919f9e2f4cc3800c1e0c539860c774a9ae5b95b /Samples/Hello/gfx | |
parent | 199b08ae8866cf7d876a4de587ff5d18ff191ff0 (diff) |
*修改asset格式,可读性
Diffstat (limited to 'Samples/Hello/gfx')
-rw-r--r-- | Samples/Hello/gfx/icon.png.image.asset | 6 | ||||
-rw-r--r-- | Samples/Hello/gfx/mt_thunder.material.asset | 6 | ||||
-rw-r--r-- | Samples/Hello/gfx/test.animation.asset | 28 |
3 files changed, 23 insertions, 17 deletions
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 |