⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 particlesystem.txt

📁 Special Effects Game Programming
💻 TXT
字号:
particlesystem "test" 1.00 {
  position = XYZ(0,1,0)
  eventsequence "rgbtest" {
    sourceblendmode = D3DBLEND_ONE
    destblendmode = D3DBLEND_SRCALPHA
    numparticles = 500
    gravity = XYZ(0,0,0)
    emitrate = 10
    lifetime = 6
    texture = "Ch19p1_ParticleTexture.png"
    initial color = rgba(1,0,0,1)
    at 0.5 color = rgba(0,1,0,1)
    at 1 color = rgba(0,0,1,1)
    at 1.5 eventtimer = 0
    initial velocity = XYZ(random(-0.5,0.5),random(0.5,0.5),random(0.5,0.5))
    at 1 velocity = XYZ(random(-2,2),random(-2,2),random(-2,2))
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -