mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-15 15:51:07 +02:00
37 lines
929 B
Plaintext
37 lines
929 B
Plaintext
//
|
|
// bubble particle
|
|
//
|
|
|
|
numParticles 128
|
|
material textures/particles/bluesparks
|
|
//material textures/particles/teleportsparks2
|
|
//material textures/particles/teleportsparks2
|
|
//material textures/sfx/bubble
|
|
// sphere x,y,z radius1, radius2
|
|
//initialVelocity ( line, 0, 0, 0, 0, 0, 0 )
|
|
initialVelocity ( point, 0, 0.5, 0 )
|
|
// the size is between 0.5 and 0.75
|
|
size ( 0.45, 0.8 )
|
|
randomColor ( 0.5, line, 1.0, 1.0, 2.0, 0.5, 0.5, 0.5 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( -1, 1 )
|
|
liveforever
|
|
movewithparent
|
|
//speed 0.5
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
// allow up to 150 particles per iteration to appear in the defined plane
|
|
source ( 0.25, cylinder, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 5, 0 )
|
|
|
|
killIfOlderThan 500
|
|
orbitThisLine (0, 0, 0, 0, 400, 2, 0.15)
|
|
//applyDamping (0.9, 0.9, 0.9)
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|