mugen交流


Join the forum, it's quick and easy

mugen交流
mugen交流
Would you like to react to this message? Create an account in a few clicks or log in to continue.

AfterImage控制器

向下

AfterImage控制器 Empty AfterImage控制器

帖子  Admin 周五 九月 23, 2011 6:11 pm

用AfterImage控制器, 用法去参考其它人物吧

CNS里的对应state里
用afterimage的state做

[State 0, AfterImage]
type = AfterImage ;残影控制器
trigger1 = time = 0
time = 150 ;残影持续时间
length = 5 ;残影长度
;palcolor = 256 ;渲染颜色(0~256)
;palinvertall = 0 ;颜色曝光
palbright = 0,181,255 ;加到图片调色板上的数量 三个值相对应
palcontrast = 256,256,256 ;加上palbright的三个值 乘 这三个值再分别除palcolor
;palpostbright = 0,0,0 ;这三个值加在palcontrast的结果上
paladd = 10,10,10 ;每一ticks的残影颜色加上paladd这三个值
palmul = .65,.65,.65 ;paladd后的值乘palmul这三个值
timegap = 1 ;AIR中每timegap张图片作为需要做残影的图片
framegap = 1 ;timegap算过需要做残影的图片中每fremegap-ticks出现残影
trans = add ;"none","add1","sub" ;残影透明类型
;ignorehitpause =
;persistent =


[State 0, AfterImageTime]
type = AfterImageTime ;残影时间控制器
trigger1 = time = 0
time = 0 ;残影消失前显示的时间
Admin
Admin
Admin

帖子数 : 124
注册日期 : 11-03-26
年龄 : 34

http://mugen.rnbboards.com

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题