RythmGame/SimpleGame/src/Include/GameData.hpp
2025-06-15 01:53:06 +02:00

18 lines
577 B
C++

#pragma once
static constexpr unsigned int SCREEN_WIDTH = 1280;
static constexpr unsigned int SCREEN_HEIGHT = 720;
static constexpr unsigned int NOTE_PRESS_HEIGHT = SCREEN_HEIGHT * 0.8;
static constexpr unsigned int MIDDLE_WIDTH = SCREEN_WIDTH / 2;
static constexpr unsigned int MIDDLE_HEIGHT = SCREEN_HEIGHT / 2;
static constexpr unsigned int NOTE_PLACE_X_POS[3] = {
SCREEN_WIDTH * 6 / 10, SCREEN_WIDTH * 7 / 10, SCREEN_WIDTH * 8 / 10};
static constexpr unsigned int FLOWER_SIZE = SCREEN_WIDTH * 0.05;
namespace sf {
class Texture;
};
extern sf::Texture placeHolder;