• Home
  • Raw
  • Download

Lines Matching refs:effect

144       "void effectSpawn(inout Effect effect) {",
145 " effect.lifetime = 2;",
148 "void effectUpdate(inout Effect effect) {",
149 " if (effect.age < 0.25 || effect.age > 0.75) { effect.rate = 0; }",
150 " else { effect.rate = 200; }",
164 " p.lifetime = (1 - effect.age) * effect.lifetime;",
187 "void effectSpawn(inout Effect effect) {",
188 " effect.lifetime = 2;",
189 " effect.rate = 200;",
253 " float s = effect.age * 2 - 1;",
260 " float age = effect.loop + effect.age;",
282 "void effectSpawn(inout Effect effect) {",
283 " effect.rate = 200;",
284 " effect.color = float4(1, 0, 0, 1);",
313 "void effectSpawn(inout Effect effect) {",
314 " effect.lifetime = 2;",
315 " effect.rate = 120;",
318 " effect.vel.x = cos(a) * s;",
319 " effect.vel.y = sin(a) * s;",
320 " effect.color.rgb = float3(rand, rand, rand);",
321 " effect.pos.x = 0;",
322 " effect.pos.y = 0;",
325 "void effectUpdate(inout Effect effect) {",
326 " effect.vel.y += dt * 90;",
329 "void effectDeath(inout Effect effect) {",
358 "void effectSpawn(inout Effect effect) {",
359 " effect.burst = 50;",
360 " effect.lifetime = 2.5;",
391 "void effectSpawn(inout Effect effect) {",
392 " if (effect.loop == 0) {",
395 " effect.color = float4(0.1, 0.1, 1.0, 1.0);",
396 " effect.rate = 10;",
435 "void effectSpawn(inout Effect effect) {",
436 " effect.color = float4(0.8, 0.8, 0.8, 1);",
437 " effect.rate = 30;",
474 "void effectSpawn(inout Effect effect) {",
475 " effect.burst = 8;",
476 " effect.scale = 1;",
505 "void effectSpawn(inout Effect effect) {",
506 " effect.rate = 1000;",