Questions tagged [screen-management]
The screen-management tag has no summary.
20 questions
2 votes
1 answer
4k views
Unity build changes its resolution after going to windowed mode and then back to fullscreen
It seems to me that this behavior is incorrect (or at least illogical). Correct me if I'm wrong. Repro (Unity 2020.3.26f1 LTS / default project settings): Run the build (in fullscreen by default): Go ...
0 votes
0 answers
466 views
How to properly resize canvas according to screen size? (Javascript)
So, as the question says I need to resize the canvas according to screen size. However the thing is that that's not it. I also need to have the mouse coordinates updated proportionally. Seems like I ...
3 votes
1 answer
6k views
Setting resolution of multiple display screens
in my unity project I have multiple screens. How can I set resolution of each screen? I know Screen.SetResolution(1366,768,true); sets the resolution of a single ...
5 votes
3 answers
984 views
How do I handle Game Screens in LibGDX?
In my game the main screen is the playscreen. But because I want to draw the menu and the gameover screen on top of the playscreen, I don't create separate screens for them. But if I want to replay, I ...
3 votes
1 answer
4k views
Libgdx switching between screens without losing Information
I've been having issues with Screens, as I want to switch between the main game screen, the battle screen and the ingame menu screen (JRPG). The problem is that I have initialised all the information (...
3 votes
2 answers
627 views
How to implement user friendly screen panning on 3D HTML canvas for RTS game
How can I get RTS map panning like how it was done in C&C red alert (with the mouse at the edge of the screen moves the screen in that direction) with a Babylon.js RTS game in the html canvas? ...
2 votes
3 answers
180 views
Fullscreen transition time
I'm not sure whether this is the correct site to ask this question, but why does it sometimes (game-specific, usually) take really long to enter / exit a fullscreen game (black screen for ~1-5s)? And ...
0 votes
1 answer
154 views
Restarting a game
I'm having trouble restarting a 2D game when the user presses the "New Game" button. Structure of my game: The game has several 'screens': Opening screen, instructions screen, main game screen, and ...