1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 14:09:06 +00:00

repaired & improved noteEffects

This commit is contained in:
fgenesis 2011-10-31 18:17:48 +01:00
parent f7f0a9ff7c
commit 0ff37defc1

View file

@ -517,7 +517,10 @@ void SongIcon::onUpdate(float dt)
rippleTimer = 0.5f - (note/7.0f)*0.4f;
if (core->afterEffectManager)
core->afterEffectManager->addEffect(new ShockEffect(position,core->screenCenter,0.02,0.015,22,0.2f, 1.2));
{
core->afterEffectManager->addEffect(new ShockEffect(position - Vector(400, 300) + Vector(core->width/2, core->height/2),
core->screenCenter,0.009f,0.015f,18,0.2f, 0.9f + (note*0.08f) ));
}
}
}
}