working game (but bad)
This commit is contained in:
parent
dbb296ff5d
commit
5c65b99604
6 changed files with 89 additions and 12 deletions
12
SimpleGame/src/Include/GameData.hpp
Normal file
12
SimpleGame/src/Include/GameData.hpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
static constexpr unsigned int SCREEN_WIDTH = 1080;
|
||||
static constexpr unsigned int SCREEN_HEIGHT = 720;
|
||||
static constexpr unsigned int NOTE_PRESS_HEIGHT = SCREEN_HEIGHT * 0.9;
|
||||
|
||||
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 * 3 / 10, SCREEN_WIDTH * 5 / 10, SCREEN_WIDTH * 7 / 10};
|
Loading…
Add table
Add a link
Reference in a new issue