|
@@ -485,7 +485,7 @@ class Bomb {
|
|
const light = lights[index];
|
|
const light = lights[index];
|
|
self.game.tweens.add({
|
|
self.game.tweens.add({
|
|
targets: light,
|
|
targets: light,
|
|
- alpha: { from: 0, to: 1, from: 0 },
|
|
|
|
|
|
+ alpha: { from: 0, to: 1 },
|
|
scale: { from: 1, to: 2 },
|
|
scale: { from: 1, to: 2 },
|
|
duration: 100,
|
|
duration: 100,
|
|
onComplete: () => {
|
|
onComplete: () => {
|
|
@@ -498,7 +498,7 @@ class Bomb {
|
|
function playWhiteScreenAnimation() {
|
|
function playWhiteScreenAnimation() {
|
|
self.game.tweens.add({
|
|
self.game.tweens.add({
|
|
targets: whiteScreen,
|
|
targets: whiteScreen,
|
|
- alpha: { from: 0, to: 1, to: 0 },
|
|
|
|
|
|
+ alpha: { from: 0, to: 1 },
|
|
duration: 50,
|
|
duration: 50,
|
|
onUpdate: (tween) => {
|
|
onUpdate: (tween) => {
|
|
if (tween.progress >= 0.25 && tween.progress <= 0.3) {
|
|
if (tween.progress >= 0.25 && tween.progress <= 0.3) {
|