Drawing blood for sprite

  • 17 Replies
  • 8156 Views
*

Offline vdweller

  • 139
  • 8
  • JapanStache!
    • View Profile
    • vdweller's freeware games
Drawing blood for sprite
« 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".
« Last Edit: July 15, 2009, 14:26:21 by vdweller »

*

Offline Pick Yer Poison

  • 782
  • 3
  • One cool cat.
    • View Profile
Re: Drawing blood for sprite
« Reply #1 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.

*

Offline minmay

  • 654
  • 8
    • View Profile
    • Cow Muffins
Re: Drawing blood for sprite
« Reply #2 on: June 15, 2009, 19:15:51 »
I think he wanted them to be part of the sprite itself, rather than particles.

*

Offline vdweller

  • 139
  • 8
  • JapanStache!
    • View Profile
    • vdweller's freeware games
Re: Drawing blood for sprite
« Reply #3 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.

*

Offline Pick Yer Poison

  • 782
  • 3
  • One cool cat.
    • View Profile
Re: Drawing blood for sprite
« Reply #4 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!

*

Offline vdweller

  • 139
  • 8
  • JapanStache!
    • View Profile
    • vdweller's freeware games
Re: Drawing blood for sprite
« Reply #5 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  :)

*

Offline minmay

  • 654
  • 8
    • View Profile
    • Cow Muffins
Re: Drawing blood for sprite
« Reply #6 on: June 23, 2009, 14:47:57 »
Sorry.  It appears that everyone here is a thoroughly talentless nutball except you.

*

Offline vdweller

  • 139
  • 8
  • JapanStache!
    • View Profile
    • vdweller's freeware games
Re: Drawing blood for sprite
« Reply #7 on: June 23, 2009, 18:24:03 »
If I deemed all of you untalented, would I even bother?

*

Offline ChaosWolf

  • 67
  • 0
  • Do NOT look behind you...
    • View Profile
    • Youtube page
Re: Drawing blood for sprite
« Reply #8 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.

*

Offline minmay

  • 654
  • 8
    • View Profile
    • Cow Muffins
Re: Drawing blood for sprite
« Reply #9 on: July 13, 2009, 17:16:53 »
Again: he wants the blood to be a part of the sprite itself.  Pay attention.

*

Offline Evil

  • 1112
  • 1
  • 1723
    • View Profile
Re: Drawing blood for sprite
« Reply #10 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:

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Drawing blood for sprite
« Reply #11 on: July 13, 2009, 22:00:47 »
Sorta, He wants his current sprite to contain blood.
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

*

Offline ChaosWolf

  • 67
  • 0
  • Do NOT look behind you...
    • View Profile
    • Youtube page
Re: Drawing blood for sprite
« Reply #12 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.

*

Offline minmay

  • 654
  • 8
    • View Profile
    • Cow Muffins
Re: Drawing blood for sprite
« Reply #13 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.

*

Offline vdweller

  • 139
  • 8
  • JapanStache!
    • View Profile
    • vdweller's freeware games
Re: Drawing blood for sprite
« Reply #14 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.