added new hammer hit effect by SushiTee and Crises

This commit is contained in:
oy 2011-04-08 19:11:41 +02:00
parent e63683e649
commit 9643fc36ae
3 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

@ -280,6 +280,7 @@ container.sprites.Add(Sprite("part_smoke", set_particles, 0,1,1,1))
container.sprites.Add(Sprite("part_shell", set_particles, 0,2,2,2))
container.sprites.Add(Sprite("part_expl01", set_particles, 0,4,4,4))
container.sprites.Add(Sprite("part_airjump", set_particles, 2,2,2,2))
container.sprites.Add(Sprite("part_hit01", set_particles, 4,1,4,4))
container.sprites.Add(Sprite("health_full", set_game, 21,0,2,2))
container.sprites.Add(Sprite("health_empty", set_game, 23,0,2,2))

View file

@ -235,10 +235,10 @@ void CEffects::HammerHit(vec2 Pos)
// add the explosion
CParticle p;
p.SetDefault();
p.m_Spr = SPRITE_PART_EXPL01;
p.m_Spr = SPRITE_PART_HIT01;
p.m_Pos = Pos;
p.m_LifeSpan = 0.4f;
p.m_StartSize = 150.0f;
p.m_LifeSpan = 0.3f;
p.m_StartSize = 120.0f;
p.m_EndSize = 0;
p.m_Rot = frandom()*pi*2;
m_pClient->m_pParticles->Add(CParticles::GROUP_EXPLOSIONS, &p);