diff --git a/src/game/Game.ts b/src/game/Game.ts index 0c7b5d7..934edf3 100644 --- a/src/game/Game.ts +++ b/src/game/Game.ts @@ -259,6 +259,9 @@ export class Game { const x = (clientX - rect.left) * (this.canvas.width / rect.width / dpr); const y = (clientY - rect.top) * (this.canvas.height / rect.height / dpr); + // Add ripple effect at touch/click point + this.renderer.addRipple(x, y); + // Find tile at coordinates const { size, gap } = CONFIG.tile; const col = Math.floor((x - gap) / (size + gap));