Page 1 of 1

Blood

PostPosted: Tue Oct 31, 2006 2:45 am
by Legendz
I was wondering how do i make a blood effect when someone gets killed. or an explosion efffect ??

and make particles fly off the screen :( :) :o :D

PostPosted: Tue Oct 31, 2006 11:59 am
by makslane
Look the Smoke Particles demo:
http://game-editor.com/games/smoke.zip

And the particle fan example:
http://game-editor.com/examples/particle_fan.zip

PostPosted: Tue Oct 31, 2006 12:30 pm
by Legendz
I want to get an explosion effect when an actor gets destroyed.

can you gimme the script cause im a bit confused with the particle demo

PostPosted: Wed Nov 01, 2006 12:30 am
by Game A Gogo
haaa, the good old bloood, ive done this a million and one time,

here is a quick way.
firts, create your blood particle
and on create actor do this:
Code: Select all
angle=rand(359);
directional_velocity=3+rand(3)/2;

on draw actor:
Code: Select all
transp+0.015;
if(transp>=1)DestroyActor...;

and then when your player dies, do this code:
Code: Select all
for (count = 0; count < 20; count++)
{
    CreateActor...;
}


and should work