mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 19:53:25 +02:00
feat: basic game structure w/ Ball physics & input handling
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user