feat: basic game structure w/ Ball physics & input handling

This commit is contained in:
Florian Sylvain
2025-05-10 23:08:57 +02:00
parent 5fcac0f157
commit 85551bf8ed
10 changed files with 253 additions and 23 deletions
+10
View File
@@ -0,0 +1,10 @@
#pragma once
namespace Constants {
constexpr unsigned WIDTH = 1280;
constexpr unsigned HEIGHT = 720;
constexpr float GRAVITY = 8000.f;
constexpr float RESTITUTION = 0.8f;
constexpr float FRICTION = 0.9f;
constexpr float BALL_RADIUS = 20.f;
} // namespace Constants