Setted window "spawn point" to middle of screen
This commit is contained in:
parent
7a3afe1281
commit
6ae437ef75
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ auto main() -> int {
|
|||
*/
|
||||
window
|
||||
.set_size(size) // ... Grösse
|
||||
.set_position(paradiso::Point{.x = 100, .y = 100}) // ... Position
|
||||
.set_position(paradiso::Point{.x = 1920 / 2 - 500 / 2, .y = 1080 / 2 - 700 / 2}) // ... Position
|
||||
.set_title("PardiSO.FlappyBird") // ... Titel
|
||||
.set_visible(true); // ... und jetzt anzeigen!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue