The Dink Network

Blood splatters

March 19th 2004, 10:23 AM
anon.gif
D.G.Ford
Ghost They/Them
 
How would I stop blood from flowing everytime somone gets hit?
How might I replace that seq with another, say sparks if the thing hit was a robot?
March 19th 2004, 10:51 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
How might I replace that seq with another, say sparks if the thing hit was a robot?

The blood sequences are 188 and 189. The graphics for these blood sequences can be found in graphics\effects\spurt\sprtl (188) and graphics\effects\spurt\sprtr- (189). Replace these with sequences of your own and you'll have different blood.
March 19th 2004, 03:52 PM
wizardg.gif
Paul
Peasant He/Him United States
 
reDink v0.04 (A modified verson of Dink) has a way to do this.) Otherwise you could put something like this in the monster's his procedure:
int &junk = get_sprite_with_this_brain(5, 1); if (&junk > 0) { sp_seq(&junk, 166); sp_brain(&junk, 7); }

But if other sprites with brain 5 (play seg, draw last frame to background), such blood spurts from other monsters, are around, that might not work.