Setted window "spawn point" to middle of screen

This commit is contained in:
_brxxh 2023-11-23 19:17:57 +01:00
parent 7a3afe1281
commit 6ae437ef75

View file

@ -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!