Skip to main content
Game Development

Questions tagged [resolution]

The pixel resolution that the game displays in, or can be displayed in if there are multiple.

Filter by
Sorted by
Tagged with
1 vote
0 answers
92 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
45 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
220 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
156 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
122 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
268 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
104 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
468 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. ...
RGthehuman's user avatar
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:...
Cei's user avatar
Cei
  • 873
0 votes
1 answer
220 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 ...
lancen's user avatar
  • 33
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
219 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
1k 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 ...
1 vote
1 answer
1k views

How to fit game to screen size?

I create a WebGL game. After building project I discovered that the game doesn't fit the screen size How you can see the canvas is perfectly scaled but the game didn't I don't know what I changed but ...
0 votes
1 answer
237 views

Android Specifications : What are the integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document: https://developer....

15 30 50 per page
1
2 3 4 5
...
13

AltStyle によって変換されたページ (->オリジナル) /