mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 16:56:11 +00:00
Tweak Pokeball release animation for fast game speed
This commit is contained in:
parent
9037562c5c
commit
678753aaaf
@ -41,7 +41,8 @@ function doDefaultPbOpenParticles(scene: BattleScene, x: number, y: number, radi
|
|||||||
});
|
});
|
||||||
particle.play({
|
particle.play({
|
||||||
key: 'pb_open_particle',
|
key: 'pb_open_particle',
|
||||||
startFrame: (index + 3) % 4
|
startFrame: (index + 3) % 4,
|
||||||
|
frameRate: Math.floor(16 * scene.gameSpeed)
|
||||||
});
|
});
|
||||||
scene.tweens.add({
|
scene.tweens.add({
|
||||||
targets: particle,
|
targets: particle,
|
||||||
|
Loading…
Reference in New Issue
Block a user