rgbfade.txt
来自「Special Effects Game Programming」· 文本 代码 · 共 18 行
TXT
18 行
particlesystem "test" 1.00 {
position = XYZ(0,1,0)
eventsequence "blue" {
sourceblendmode = D3DBLEND_ONE
destblendmode = D3DBLEND_ONE
numparticles = 50
gravity = XYZ(0,0,0)
emitrate = 1
lifetime = 6
texture = "Ch19p1_ParticleTexture.png"
at 0.001 color = rgba(1,0,0,1)
fade so at 0.5 color = rgba(0,1,0,1)
fade so at 1 color = rgba(0,0,1,1)
fade so at 1.5 color = rgba(1,0,0,1)
at 1.5 eventtimer = 0.001
initial velocity = XYZ(random(-1,1),random(0,1),random(-1,1))
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?