Commit 979f399d authored by LoveEevee's avatar LoveEevee

Crown fade in with easeIn

parent 59bce4d6
......@@ -404,7 +404,7 @@ class Scoresheet{
}
if(crownType !== null){
var amount = Math.min(1, (elapsed - 1200) / 450)
this.draw.alpha(amount, ctx, ctx => {
this.draw.alpha(this.draw.easeIn(amount), ctx, ctx => {
ctx.save()
ctx.scale(ratio, ratio)
ctx.translate(frameLeft, frameTop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment