Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
169 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): ...
user avatar
  • 301
0 votes
0 answers
49 views

Unity, Universal Rendering Pipeline - Shadows are very pixelated even though shadow resolution is 4096. How to make shadows look better?

I'm using URP and I set shadow resolution to 4096, which is the max: But shadows still look very pixelated: How do I make the shadows look better?
user avatar
1 vote
2 answers
153 views

D3D11 wrong full screen resolution

I am currently writing a Directx 11 engine and have problems with the resolution when switching to exclusive fullscreen on my 1440p monitor. If i call SetFullscreenState(TRUE, NULL), the screen ...
user avatar
  • 21
1 vote
1 answer
457 views

What color format, depth buffer should I use in a RenderTexture for WebGL screen output in Unity? Is NPOT ok? MipMaps?

Today I learned about a technique for forcing uniform resolution in a Unity WebGL build, as described here in the answer by DMGregory. Yay! I'm experimenting with implementing this technique on a ...
user avatar
11 votes
3 answers
4k views

Performance degrading when resolution increases for a 4k screen

I am new to Unity. I have a problem where my game has good performance on my non-4k screen. Bur when I play it on my 4k screen, the performance gets really bad. It looks like the resolution is ...
user avatar
  • 219
0 votes
0 answers
20 views

How do i set up a virtual resolution for a videogame project using android studio?

Please bear in mind that as per xml the only time I've used the canvas element to render graphics was using an html to mess around with on the browser. Andoird of course, uses completely different ...
user avatar
0 votes
1 answer
93 views

How resource-intensive is the java.awt.Graphics2D object at different screen resolutions?

I'm currently making a 2D RPG in pure Java (yes, I know other frameworks/engines exist xD). I just created a resizing algorithm and I've noticed that different resolutions result in different FPS ...
user avatar
1 vote
1 answer
395 views

Help me Make Sense of Unity 2D Resolution Management

I am trying to set up an environment for a retro style pixel art game in Unity 2D. I aim for a vertical resolution of 240 pixels, and then, I would like the horizontal resolution to be dependent on ...
user avatar
0 votes
0 answers
43 views

How realistic are procedural textures in sandbox?

I'm working with Unreal and want to make a Minecraft-Style Block-Sandbox with HD-textures. Since at that resolution the repetitive pattern becomes too noticable, I'd like the game to generate the ...
user avatar
  • 101
0 votes
1 answer
53 views

Box2d: High screen resolution / frequency causes high friction?

I'm using Cocos Creator with (built-in) box2d for physics. Recently our game behaves weirdly on our new device Galaxy S20 Ultra 5G - which has screen size = 1440 x 3200 - frequency = 120Hz. After stop ...
user avatar
1 vote
1 answer
745 views

Get all supported resolutions for a monitor

I've been receiving complaints from users that my game doesn't support the 16:10 aspect ratio. Currently I list everything in Screen.resolutions in a dropdown and ...
user avatar
  • 2,729
0 votes
2 answers
444 views

Default Game Window Size To Take While Making Games

I am planning to make a game for mobiles and tablets, I wanted to know what would be the default resolution that I should set for my game so that it covers all or most of the devices out there. I read ...
user avatar
  • 1
0 votes
0 answers
67 views

libgdx images go out of proportion on some devices

I'm trying to develop a simple game using libgdx. The game works perfectly on emulator ( Nexus 5x API 26 x86 ). But when I generated its apk and tested on my phone(Samsung J7), the images somehow seem ...
user avatar
1 vote
1 answer
3k views

Unity - Pixels, Units, Sprites and Pixels per unit - Setting a relationship between sprites and screen size

I don't get how units and pixels work in Unity. For instance: Here I have a camera with size 5. This means that there are 5 units from the center of the camera to either the top or bottom border. ...
user avatar
1 vote
1 answer
201 views

Java - set resolution of game

Hi everybody I am making small game using pure Java 8 and rednering it by Java AWT Graphics2D method . My question is how to make that user can change the quality ...
user avatar
1 vote
0 answers
502 views

Handling zooming in for a spot-the-difference game in different screen resolutions

I am creating a 2D game for Android as a school project. The objective of the game is to find differences between the top image and the bottom image. I have 1 main camera, which views the entire ...
user avatar
  • 11
0 votes
1 answer
1k views

Different resolution for UI?

I'm developing my first game for mobile devices in Unity3D. My game uses a 720p-resolution. Currently the UI uses the same one. So far so good. I heard that professional game-developers create their ...
user avatar
  • 209
1 vote
2 answers
413 views

What is the proper way of handling resolution and size units on a 2D game?

So I started to learn SDL2 and I want to make a simple 2D game. Now when I render a texture I have to specify in pixels the size of the element I want to draw and also the position in pixels on the ...
user avatar
0 votes
0 answers
547 views

How to change application surface size without changing view size? (GMS2)

I am working on a pixel art project in GameMaker 2 with native resolution 428x240. In order to enable "subpixel" rending, I am trying to increase the resolution of my ...
user avatar
  • 1,297
1 vote
1 answer
2k views

couldn't switch to requested monitor resolution in Windows 7

Run the game,and it shows that it couldn't switch to requested monitor resolution, DX11 could not switch resolution in Windows 7(both 32 and 64 bit ) when I tried to build the game with Unity 2017.3, ...
user avatar
  • 21
0 votes
0 answers
787 views

How to make game playable in all mobile screen resolution using Unity Cinemachine with perspective mode?

I want my 2D game to be playable (auto scale) in all screen resolution. I'm using Cinemachine & under "perspective" mode. I found tutorial to change the screen in "orthographic" mode but there is ...
user avatar
  • 1
0 votes
1 answer
2k views

Unity my game starts in windowed mode, but the fullscreen box is checked

When I open my game the fullscreen box is checked, but the game is windowed. If I uncheck and check the box it will go into fullscreen. What is the fix? ...
user avatar
1 vote
2 answers
816 views

Pixel Perfect 2D tiles

I'm trying to make an 64x64 tilemap using Super Tilemap Editor & Unity but my tiles looks terrible. I did my research about pixel perfect 2D and all of the solutions were for pixel art, they didn'...
user avatar
0 votes
1 answer
230 views

How to keep consistent between image quality, device range support and final size of the game?

I am developing a game with the LibGdx framework, but I would like to discuss a more theoretical question. Criteria: I want to support as many devices as possible for my game (phones and tablets) I ...
user avatar
0 votes
0 answers
27 views

Game was resized incorrectly for no apparent reason (GameMaker)

I exported the game with the following graphics settings: OBS - Interpolate colors between pixels would be like a Antiliasing. I do not think it is the cause of the problem, but I will test without ...
user avatar
0 votes
1 answer
254 views

What resolution should I render art for a 3D game for PC?

I hope this is not too stupid a question. I'm making my first game for PC and I'm wondering what resolution I should render the artwork at. It will be a fixed-perspective game, so I'm using a 2D ...
user avatar
0 votes
1 answer
546 views

How to allow a 2D game to work with all screen resolutions without only using Unity's Canvas Scaler

I know there's plenty of questions out there already, however it seems as though there's always an update or change to either the Unity platform, the phone screen sizes, etc. I'm struggling with ...
user avatar
0 votes
1 answer
51 views

Unity game resolution lowered

I recently upgraded unity from 2018.1 to 2018.2 and also upgraded my nvidia geforce. I have seen that the letters resolution of the program itself are better now but my game tab is going lower res ...
user avatar
  • 111
0 votes
1 answer
94 views

Setting up a low res viewport to stretch in Unity

I am working on porting a low-res game over to Unity. In my previous engine, I had the option to set a native resolution (say, 160 x 144), and it would automatically stretch when the player entered ...
user avatar
  • 1,297
0 votes
1 answer
180 views

Can't scale properly to android device in Game Maker Studio 1.4

My phone is using a resolution of 360 x 640 with a 9:16 aspect ratio. I set my room in game maker to ...
user avatar
0 votes
0 answers
105 views

How do I lower the resolution scale in DX11?

I've tried a lot of things including lowering the backbuffer size but that causes terrible scaling that I can't really control. I've also tried rendering the scenes to a smaller texture then scaling ...
user avatar
  • 116
2 votes
2 answers
2k views

How to adjust objects' coordinates and scale for different device resolutions?

I have a bunch of objects which are generated in specific coordinates, let's say in a range of -5 to +5 on the X axis. I came up with these numbers because of camera size I have in Unity editor. What ...
user avatar
0 votes
1 answer
737 views

Mobile screen resolution and canvas size

I'm making a HTML5 game using the canvas. I was building it for my iPhone 6 which state a resolution of 1334x750 pixels but also a resolution of 667x375 points. I notice that my canvas need to match ...
user avatar
  • 237
0 votes
1 answer
1k views

Unity Blurry on new Windows 4k Computer

I just got a Razer 14 Inch 4k with a GTX 1060 and am having some blurry rendering in unity. Also the cursor is tiny... Here is a screen shot: As you can see, the rendering is really blurry. I came ...
user avatar
  • 137
0 votes
1 answer
343 views

Implement resolution scaling HTML5 canvas

I'm building an hmtl5 real time game using socket.IO and node.js. If you've heard of the classic game "pong", I'm going for that. When you consider the gameplay for this game, it becomes apparent that ...
user avatar
1 vote
1 answer
393 views

Viewport for pixelart (WebGL)

I'm trying to display 16x16 pixel art textures (all textures have 16x16), but they are not displayed how I expected (they are ...
user avatar
  • 118
1 vote
1 answer
2k views

Unity - get screenshots from various resolutions

To upload my app to Google Play I need to provide various screenshots. Thing is, I have only one tablet, no phone and I don't feel like virtualizing a bunch of devices. Is there a way to create ...
user avatar
  • 269
5 votes
1 answer
1k views

Making a pixel-perfect viewport in LibGDX

My game that uses LibGDX as the graphics library, should be playable with every display. Here's the problem: It have to be pixel-perfect. That means, the scale factor must be an integer value, so that ...
user avatar
  • 191
1 vote
0 answers
42 views

What is the perfect sprite size for new ipads with retina displays [closed]

The graphic designer is sending me huge sprites 3000px in width drawn by hand. And now the company is hiring a professional painter to paint huge oil paintings for the game for other levels. Nothing ...
user avatar
  • 381
7 votes
2 answers
24k views

How to force keep the aspect ratio and specific resolution without stretching the output screen view?

I'm using Screen.SetResolution() But when I run in Android device, it shows the output image is stretched to fill up the full screen which I don't want. I want it to keep the aspect ratio properly. ...
user avatar
1 vote
0 answers
2k views

Best base resolution for a pixelart project for bigger audience [closed]

I've been working on Top-down 2D pixel art project for quite some time. When I first started my project, I actually set application surface, display and game window to match 1:1 - with that said, the ...
user avatar
  • 11
0 votes
1 answer
887 views

Why is the image appearing smaller, in the scene?

I have a fresh Unity project, with just one 480x800 pixel image. It's platform is set to Android, and the aspect ratio in the game view is WVGA Portrait (480x800). However, the image doesn't occupy ...
user avatar
  • 287
12 votes
1 answer
22k views

Understanding pixel art in Unity 2d

I am struggling to understand the basics behind pixel art in Unity. I understand what a unit is, and that if I draw my sprite with 16x16 pixels, I should set PPU to 16. Take stardew valley for ...
user avatar
  • 1,863
1 vote
0 answers
40 views

Tiled: handling multiple map sizes

I have two sets of assets (lo res and hi res) that are exact replicas of each other except one set is twice the size of the other and used for larger screens. At runtime, I find the users screen size, ...
user avatar
  • 111
0 votes
1 answer
608 views

Web Game Resolution [closed]

I'm starting on a new game that I intend to release via the web (HTML + Javascript). I would like to be able to make a reasonable decision about what screen resolution sizes to support, and what ...
user avatar
  • 11.2k
1 vote
1 answer
208 views

Are these all possible mobile devices resolutions?

In Unity, there's a switch where you can set your desired resolution and check if the game looks ok: If I target the app for portait only - do I have to worry only ...
user avatar
  • 2,502
1 vote
2 answers
270 views

How to solve problem with Terrain Flashing and then disappears when flying away?

I am making flight simulator( my first Unity project) , the biggest challenge so far is terrain, so whenever I fly away from it (not that far) the terrain starts flashing and disappears which is just ...
user avatar
  • 133
0 votes
1 answer
119 views

I'm having resolution issues; does my math suck?

There are a lot of scripts involved so I'm just going to give a generalized description of the process. First, a 1x1 square tile is created. Second, that tile is placed out of the way, and 16 x 10 (...
user avatar
0 votes
1 answer
80 views

Does decreasing rendering resolution also decrease the amount of polygons in my 3d models?

When lowering my game resolution I reduce the pixel count of the final rendered output image, does the 3d model I use to render the final image also lose polygons?
user avatar
1 vote
1 answer
1k views

Unity - how to switch between ratios in a Scene View?

I'm complately new to Unity, but I know what's going on, I've made some games with LibGDX earlier. In GDX, to handle all ...
user avatar
  • 2,502