make projectiles use bounding boxes too

This commit is contained in:
2025-01-19 16:11:51 +09:00
parent e75c0d2944
commit 04cc3f951e
5 changed files with 76 additions and 45 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ export default class Game {
}
if (after - before > tickBudget) {
console.warn(`Can't keep up! A tick took ${taken.toFixed(1)} ms (Budget: ${tickBudget.toFixed(1)} ms)`)
console.warn(`Can't keep up! A tick took ${taken.toFixed(1)} ms. Entity count: ${this.entities.length}`)
}
}
}