%[ "lightColor" => 0xc0ff6010, ... KCDDP ADV综合创作站 - Discuz! Archiver">
KCDDP ADV综合创作站 » KAGeXpress » [发布]KAGeXpress beta2重要补丁


2007-2-22 15:37 Miliardo
[发布]KAGeXpress beta2重要补丁

1、修正了cl all存在的某些问题。
2、尝试加入了某些人需要的颜色补正功能……

示范的颜色定义在color.tjs中,
例如下面这样:

[code]
%[
        "evening" => %[
            "lightColor" => 0xc0ff6010,
            "lightType" => ltPsHardLight,
            "brightness" => 0,
            "contrast" => 0,
            "charLightColor" => 0xffff0000,
            "charLightType" => ltPsSoftLight,
            "charBrightness" => 0,
            "charContrast" => 0,
            ],
        "night" => %[
            "lightColor" => 0xc0000040,
            "lightType" => ltPsHardLight,
            "brightness" => -20,
            "contrast" => -30,
            "charLightColor" => 0xff400080,
            "charLightType" => ltPsSoftLight,
            "charBrightness" => -50,
            "charContrast" => -30,
            ]
]
[/code]

使用方法:light属性,属性内容为你定义的颜色名称。

例如调用背景a_normal,颜色补正到night。
则是:

@bg storage=a_normal light=night

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.