Questions tagged [resolution]
The pixel resolution that the game displays in, or can be displayed in if there are multiple.
188 questions
0
votes
1
answer
141
views
How to make enemies spawn off-screen in Godot 4.5?
I am trying to make a game using Godot 4.5 where enemies spawn off-screen, but I faced this bug where they spawn on-screen instead:
The white squares are the spawned enemies and the red is the player....
1
vote
1
answer
175
views
How to properly change resolution dynamically in SFML?
I am working on creating an options menu through which I can change resolution and toggle full screen mode. I am allowing only those resolutions that have aspect ratio 16:9, as my game was originally ...
1
vote
0
answers
187
views
Resolution-independent rendering of crisp 2D graphics (non-pixel-art)
I’m a beginner developing a 2D game in SDL2 using C with a visual style that uses crisp high resolution graphics (like geometry dash and Hollow Knight -- not pixel art). I want the game to scale ...
-1
votes
1
answer
76
views
How to match UI text size and position between editor and build?
In the editor, it does not matter if I set the resolution in the game view to my pc resolution (1920x1080) or to "Free Aspect".
The only thing that changes is that in "Free Aspect",...
1
vote
1
answer
283
views
How should I go about handling multiple phone resolutions from a reference resolution?
I built my entire game in Unity based on my Android phone resolution, both for UI and object sizes. Now, everything looks good for a 1080 x 2400 resolution, but I know that's not the aspect ratio of ...
0
votes
1
answer
173
views
Ugly output with openGL
I just started to study openGL and I wrote this "Hello World" program to draw a triangle.
...
0
votes
1
answer
148
views
Why does my object change its visible size when I rotate the simulator screen?
I have a very simple scene in Unity, with a single object (with a SpriteRenderer). When I view it in the Unity simulator, it looks like this:
When I click "rotate", to rotate the simulator ...
1
vote
2
answers
318
views
2d map of the world resolution (resolution problem and its effect on image quality when zooming.)
I'm developing a 2D grand strategy game in the style of Age of History and Paradox games using Godot v4. My current map creation method involves creating a background PNG image of the world map with ...
0
votes
0
answers
119
views
How to adjust resolution to display only in portrait mode for both phones and tablet devices?
I am facing an issue where I'm able to adjust the resolution for different phones like Android and iOS but not for tablet devices.
Is there any way to set it, for all kinds of devices, to display only ...
1
vote
0
answers
489
views
How to use SDL_RenderSetLogicalSize() properly in SDL2?
I want to handle different resolutions without altering any game objects. I tried using SDL_RenderSetLogicalSize() but I don't know how to implement it properly. ...
1
vote
2
answers
1k
views
How to make sure my UI remains the same across multiple screens?
How to make sure my UI remains the same across multiple screens? I've looked at some tutorials, but they didn't seem to apply to my situation.
I tried the following, but they didn't resolve my problem:...
0
votes
1
answer
239
views
How to handle UI when logical and screen sizes are different?
I am programming a game in SDL2 and I am looking for advice on how to handle interactivity of UI components when the screen resolution and logical resolutions are different. Up to now I have been ...
1
vote
1
answer
2k
views
Game Displaying In Different Resolution When Built
When I build and run my game, the resolution is different than in editor.
Note: My monitor's display settings are 2560 x 1440.
My editor's game display is set to Full HD (1920 x 1080).
I have UI ...
0
votes
0
answers
240
views
Downscaling from 1080 to 768 in Unity 2D
I have an orthographic camera of size = 10.8 and I use it as base and have developed the game for a 1080 display. On a ...
0
votes
3
answers
2k
views
Why do my svg sprites (vector images) appear to have very low resolution in the game view and how can I fix this issue?
I recently drew a game sprite for my game using Adobe Illustrator 2021. I exported the sprite using the Export for Screens menu to export the entire artboard. The problem I have in Unity 2021+ is that ...