mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-25 06:05:45 +00:00
repaired & improved noteEffects
This commit is contained in:
parent
f7f0a9ff7c
commit
0ff37defc1
1 changed files with 4 additions and 1 deletions
|
@ -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) ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue