mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 19:53:25 +02:00
feat: ball spawn mechanics w/ mouse input & refac
This commit is contained in:
+3
-3
@@ -6,8 +6,8 @@ constexpr unsigned HEIGHT = 1080;
|
||||
constexpr float GRAVITY = 781.f;
|
||||
constexpr float RESTITUTION = 0.8f;
|
||||
constexpr float FRICTION = 0.9f;
|
||||
constexpr float IMPULSE = 2000.f;
|
||||
constexpr float IMPULSE = 1000.f;
|
||||
constexpr float REST_PIXEL_VELOCITY = 2.0f;
|
||||
constexpr float BALL_RADIUS = 6.f;
|
||||
constexpr unsigned BALL_QUANTITY = 1000;
|
||||
constexpr float BALL_RADIUS = 50.f;
|
||||
constexpr unsigned BALL_QUANTITY = 10;
|
||||
} // namespace Constants
|
||||
|
||||
Reference in New Issue
Block a user