C
Conannet
Guest
Hi guys!
So i'm making this game and stuff and since I'm making pretty big rooms like 10000x10000 or something the use of views and the GUI layer is inevitable.
The problem comes when the player is resizing the window of the game. The draw GUI layer just kinda stays in the same place, which is really strange. All other objects scale along with the game window, but not the GUI layer. This is bad, because today I wanted to show this game on my friend's laptop, but the screen of the laptop is much smaller than the original dimensions of the game. I scaled down the window and most of the GUI was gone and the game was practically unplayable.
Any ideas how to fix it? I searched around the manual, but no luck with everything I've tried The GUI just wont scale with the application screen.
So i'm making this game and stuff and since I'm making pretty big rooms like 10000x10000 or something the use of views and the GUI layer is inevitable.
The problem comes when the player is resizing the window of the game. The draw GUI layer just kinda stays in the same place, which is really strange. All other objects scale along with the game window, but not the GUI layer. This is bad, because today I wanted to show this game on my friend's laptop, but the screen of the laptop is much smaller than the original dimensions of the game. I scaled down the window and most of the GUI was gone and the game was practically unplayable.
Any ideas how to fix it? I searched around the manual, but no luck with everything I've tried The GUI just wont scale with the application screen.