Questions tagged [screen-management]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
3answers
479 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
1answer
3k 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 ...
3
votes
1answer
2k views

State / Screen management in Entity Component Systems

My entity/component system is happily humming along and, despite some performance concerns I initially had, everything is working fine. However, I've realized that I missed a crucial point when ...
3
votes
2answers
278 views

What is the Basic Game Screen/Scene Life Cycle?

Question What is the standard or basic game screen/scene life cycle used in most games? What is Screen/Scene? The term screen or scene refers to the current displayed entity holder where game ...
3
votes
2answers
447 views

Formula for converting ratio of current device to target device

I am designing my (Android/OpenGL ES 2.0) app on one device and want it to run all all other devices while keeping the screen ratio of the development device (so the image doesn't stretch / squash), ...
3
votes
1answer
469 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
3answers
89 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 ...
1
vote
2answers
1k views

Keeping ratio the same across devices on fixed screen game

My game is an Android game using OpenGL ES 2.0 (But this question could apply to any platform). I have read many questions on here regarding ratio management, and also read many tutorials outside of ...
1
vote
1answer
227 views

Switching Screens without initializing them every time

I have a UI with four Screens (all extending a "main Screen") that users switch between very frequently, at the moment I am switching Screens using ...
1
vote
1answer
3k views

MonoGame - when/how to save data

I am making a simple 2d game for WP in monogame/xna and am at a point where I want to save data. I have created a method to serialize the data (index, counter and percentage counter) to an isolated ...
0
votes
1answer
827 views

Switching screens in a game

I am working on a simple 2D game in Java. I want the game to have an opening screen, instructions screen, and the screen with the game itself. From the opening screen the user presses buttons to get ...
0
votes
1answer
58 views

Is there a term of art for the collection of non-gameplay screens or pages

Is there a term of art for the collection of non-gameplay screens or pages in a game. I am thinking of screens such as: title screen options menu (key bindings, volume, graphics quality) credits ...
0
votes
1answer
3k 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 (...
0
votes
3answers
212 views

Using gametime.ElapsedGameTime to trigger an event

I have a splashscreen object that waits for a user input before loading the next screen, but I would also like the next screen to load after a certain amount of time has passed. I tried adding a check ...
0
votes
1answer
113 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 ...
0
votes
2answers
747 views

Unity3d and Windows 8 run game in frame

How do I set Unity3D to run my game on Windows 8 in a fixed size frame (with a border around it) and not in fullscreen? I tried setting this in the Unity script and in the final C# project, but ...
0
votes
2answers
207 views

Libgdx screen keeping text on screen from main Game class

In my libGDX app I have some text running on the main Game class, and when I switch to a different screen the text is still there? Can anyone explain this please. Also in my main class it is changing ...