mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 09:46:15 +08:00
Crown fade in with easeIn
This commit is contained in:
parent
59bce4d6ed
commit
979f399d88
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user