Nifflas' Support Forum

Being Creative => Creativity Support => Topic started by: vdweller on June 04, 2009, 14:10:03

Title: Drawing blood for sprite
Post by: vdweller on June 04, 2009, 14:10:03
Greetings,

I have this "death" sprite for the game I am currently making:
http://nifflas.ni2.se/forum/index.php?topic=78.0

and I want to draw "blood spatters" expanding and twirling as the body does.

Can anyone help me with this?

PS Please retain the .png format with alpha trans.

EDIT: PLEASE READ! I want the "blood" to be drawn to the sprite in each frame, not any "particle effect".
Title: Re: Drawing blood for sprite
Post by: Pick Yer Poison on June 15, 2009, 00:40:49
If you have Pro and are OK with the blood splatters being dark red circles coming from the body, then I recommend making a particle like this:
Code: [Select]
blood = part_type_create();
part_type_color_rgb(blood,128,160,0,0,0,0);
part_type_life(blood,60,90);
part_type_direction(blood,0,360,0,0);
part_type_speed(blood,4,6,-0.25,0);
part_type_shape(blood,pt_shape_disk);
part_type_size(blood,0.08,0.12,0,0);
Then upon dying, have the character spawn about 20 or so of those right where he is. I'm including the .gmk file (within a .zip archive) that I used for testing.
Title: Re: Drawing blood for sprite
Post by: minmay on June 15, 2009, 19:15:51
I think he wanted them to be part of the sprite itself, rather than particles.
Title: Re: Drawing blood for sprite
Post by: vdweller on June 16, 2009, 13:08:17
Yes, Minmay is correct. I am well aware of particles and stuff, but I wanted the effect to be "embedded" in the sprite itself. Thanks for the try though.
Title: Re: Drawing blood for sprite
Post by: Pick Yer Poison on June 16, 2009, 18:16:21
Yes, Minmay is correct. I am well aware of particles and stuff, but I wanted the effect to be "embedded" in the sprite itself. Thanks for the try though.
Sure, no problem! Sorry I couldn't be of any help, though. :/ Hope this goes well!
Title: Re: Drawing blood for sprite
Post by: vdweller on June 22, 2009, 22:04:53
Anyone? I could use some help in this...I have my focus on other aspects of the game  :)
Title: Re: Drawing blood for sprite
Post by: minmay on June 23, 2009, 14:47:57
Sorry.  It appears that everyone here is a thoroughly talentless nutball except you.
Title: Re: Drawing blood for sprite
Post by: vdweller on June 23, 2009, 18:24:03
If I deemed all of you untalented, would I even bother?
Title: Re: Drawing blood for sprite
Post by: ChaosWolf on July 13, 2009, 15:39:03
Ive never used gamemaker but if it is at all similar to MMF2 You should make 4-5 blood sprites which are rapidly created on death. Make them Decelerate at different speeds. This will create a cool randomized blood effect.
(http://i708.photobucket.com/albums/ww84/ChaosWolf159/bxscreen.jpg)
Title: Re: Drawing blood for sprite
Post by: minmay on July 13, 2009, 17:16:53
Again: he wants the blood to be a part of the sprite itself.  Pay attention.
Title: Re: Drawing blood for sprite
Post by: Evil on July 13, 2009, 17:21:51
Again: he wants the blood to be a part of the sprite itself.  Pay attention.

So it would be a bloody sprite?  :shocked:
Title: Re: Drawing blood for sprite
Post by: LPChip on July 13, 2009, 22:00:47
Sorta, He wants his current sprite to contain blood.
Title: Re: Drawing blood for sprite
Post by: ChaosWolf on July 14, 2009, 01:09:17
The blood would have to be exactly the same every time if it were part of the sprite. That wouldnt look very good. But then again Im still a noob at making games.
Title: Re: Drawing blood for sprite
Post by: minmay on July 14, 2009, 16:34:43
I think this is a boss character.  Not sure how necessary it is for it to look different every time.
Title: Re: Drawing blood for sprite
Post by: vdweller on July 15, 2009, 14:30:44
I edited my 1st post since there is so much confusion. Minmay, thanks for clarifying that.

I *can* do particle effects. I know how to. But heavy usage of particle effects is just not good sometimes. If you want an enemy or a box exploding, yes, create some random objects flying, OK. It's just that I would prefer this specific approach to the "death animation" of this baddie. I could use some help because I am not an expert in drawing animated stuff of this kind and I don't want to set up entire 3D fluid simulations in Poser just for this.
Title: Re: Drawing blood for sprite
Post by: LPChip on July 15, 2009, 15:56:02
What kind of blood animation do you want? As if its being shot and there's small splash damage, or if hit with an explosion, and there's blood everywhere? or as if its being killed by a virus and slowly bleeding?

If its a small splash damage, from what angle is the shot coming?
Title: Re: Drawing blood for sprite
Post by: vdweller on July 16, 2009, 09:46:11
http://www.youtube.com/watch?v=76gi5_sxOzI&feature=related
0:15

or

http://www.youtube.com/watch?v=MfDm0_m8z0Q&feature=related
0:16

I realy can't be more informative  :(
Title: Re: Drawing blood for sprite
Post by: Ostrich on August 16, 2009, 00:45:12
You could make it sort of like the death sprites in this game.                                 

http://www.kongregate.com/games/innocuousGames/amorphous