added projectile collision and some fixed

This commit is contained in:
Vlad committed 2026-01-15 15:49:32 +06:00
1 parent 90ad3392cb
commit 52a52ef960
4 files changed
+64 -15

No files matched your search

+4 -2
View File
@@ -87,14 +87,16 @@ namespace ZL {
int maxProjectiles = 32;
std::vector<Vector3f> shipLocalEmissionPoints;
bool shipAlive = true;
bool gameOver = false;
std::vector<bool> boxAlive;
float shipCollisionRadius = 3.5f;
float shipCollisionRadius = 15.0f;
float boxCollisionRadius = 2.0f;
bool uiGameOverShown = false;
bool showExplosion = false;
uint64_t lastExplosionTime = 0;
const uint64_t explosionDurationMs = 500;
};