Tweak Pokeball release animation for fast game speed
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