chore: update combat engine formatting and battle scene animations

- Normalize whitespace and alignment in `src/combat/CombatEngine.js` (variable assignments and filter calls).
- Extend projectile tween duration in `src/scenes/BattleScene.js` from 350ms to 2000ms for smoother visual effect.
- Adjust sprite pulse animation scale range from 0.8–1.5 to 0.5–1.0 for a more subtle effect.
- Update binary assets: new `smite2.mp3`, modified `fortify.mp3` and `smite-cast.mp3`, updated `attacks.png` and `attacks.psd`, removed duplicate `attacks (1).png`.
This commit is contained in:
Brian Fertig 2026-03-22 08:29:22 -06:00
parent 1c99dc233d
commit b2981cd389
8 changed files with 21 additions and 21 deletions

Binary file not shown.

Binary file not shown.

BIN
assets/audio/fx/smite2.mp3 Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

After

Width:  |  Height:  |  Size: 7.9 MiB

View File

@ -3932,7 +3932,7 @@ export class BattleScene extends Phaser.Scene {
this.tweens.add({ this.tweens.add({
targets: projectile, targets: projectile,
x: targetObj.x, y: targetObj.y, x: targetObj.x, y: targetObj.y,
duration: 350, duration: 2000,
ease: 'Quad.In', ease: 'Quad.In',
onComplete: () => { onComplete: () => {
if (projectile.scene) projectile.destroy(); if (projectile.scene) projectile.destroy();
@ -4302,8 +4302,8 @@ export class BattleScene extends Phaser.Scene {
// Pulse: grow and shrink twice (yoyo × 2) // Pulse: grow and shrink twice (yoyo × 2)
this.tweens.add({ this.tweens.add({
targets: sprite, targets: sprite,
scaleX: { from: 0.8, to: 1.5 }, scaleX: { from: 0.5, to: 1 },
scaleY: { from: 0.8, to: 1.5 }, scaleY: { from: 0.5, to: 1 },
duration: 220, duration: 220,
yoyo: true, yoyo: true,
repeat: 1, repeat: 1,