Renamed the dist directory to apply the gitignore to it

This commit is contained in:
Renan LE CARO 2025-03-19 18:13:41 +01:00
parent 1839977fed
commit afd0ccd5fc
13 changed files with 3782 additions and 60 deletions

View file

@ -1,5 +1,5 @@
// The version of the cache.
const VERSION = "29040063";
const VERSION = "29040073";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29040063"
"29040073"

View file

@ -514,7 +514,7 @@ export function repulse(
) {
const distance = distanceBetween(a, b);
// Ensure we don't get soft locked
const max = gameState.gameZoneWidth / 2;
const max = gameState.gameZoneWidth / 4;
if (distance > max) return;
// Unit vector
const dx = (a.x - b.x) / distance;
@ -569,7 +569,7 @@ export function repulse(
export function attract(gameState: GameState, a: Ball, b: Ball, power: number) {
const distance = distanceBetween(a, b);
// Ensure we don't get soft locked
const min = gameState.gameZoneWidth * 0.5;
const min = (gameState.gameZoneWidth * 3) / 4;
if (distance < min) return;
// Unit vector
const dx = (a.x - b.x) / distance;