system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
Nolvy |
When i play the project, the screen keep appear at the bottom of my computer. How to change it to the center
I have honestly no idea what you mean. A screenshot and better explanation would be advisable.
Wurzelpilz | 2021-07-29 09:01
The windows position, how do you center it at runtime?
Wakatta | 2021-07-29 09:15
system
2
|
|
|
 |
Reply From: |
clemens.tolboom |
You could use
OS.window_position = Vector2(400,400)
to manually calculate the correct position.
By combining with OS.get_screen_size()
you can to this automatic.
See also OS Test Demo or the code around here for more display property demo’
Have you used only the position or did you calculate it based on screen size. Maybe add your final code as a comment?
Please mark the answer as such if applicable 
clemens.tolboom | 2021-07-30 07:34