Files
2025-03-24 12:48:32 +01:00

17 lines
358 B
C++

#pragma once
constexpr char WINDOW_CAPTION[] = "demo5_sprites_bouncing";
constexpr int SCREEN_WIDTH = 320;
constexpr int SCREEN_HEIGHT = 240;
constexpr int WINDOW_SIZE = 3;
constexpr int BALL_SIZE = 8;
constexpr float GRAVITY_FORCE = 0.2f;
constexpr Uint64 DEMO_SPEED = 1000 / 60;
constexpr Uint64 TEXT_DURATION = 2000;
struct Color
{
int r, g, b;
};