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
0 votes
1 answer
2k 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 ...
Adocad's user avatar
  • 287
12 votes
1 answer
26k 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 ...
Green_qaue's user avatar
  • 1,903
1 vote
0 answers
46 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, ...
Eric's user avatar
  • 111
0 votes
1 answer
823 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 ...
ashes999's user avatar
  • 11.3k
1 vote
1 answer
272 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 ...
Jacob's user avatar
  • 2,532
1 vote
2 answers
310 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 ...
aero's user avatar
  • 133
0 votes
1 answer
127 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 (...
Jones Crimson's user avatar
0 votes
1 answer
109 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
2k 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 ...
Jacob's user avatar
  • 2,532
4 votes
2 answers
8k views

Is there a way to get native resolution of device window/display on android?

When change the framebuffer resolution by calling Screen.setResolution(1920,1080) ...
Melon Therapy's user avatar
1 vote
3 answers
23k views

How to change Unity's display settings/resolution?

Unity displays in poor quality on my computer (the software itself), I was wondering how to change resolution/display settings?
Kitty's user avatar
  • 11
1 vote
0 answers
51 views

Should a Game include Multi-Monitor Support? [closed]

I'm coding a 2D platformer in SDL2 and c++ and was wondering if there's an expectation for videogame's to support Multi-Monitor setups and if so, if it applies to 2D platformers. As a bonus question ...
JustGameDev's user avatar
0 votes
1 answer
339 views

how to correctly scale box2d in libgdx

I'm currently using 800x480 resolution and FitViewPort and I divided that by PixelPerMeter variable which is equal to 10 and that helped to move my box2d body faster. But when I tried to use fonts I ...
Damian Matkowski's user avatar
18 votes
3 answers
15k views

Scaling my pixel art platformer from 720p to 1080p

I'm developing a pixel art 2D platformer for PC and smartphone, but I'm stuck on a technical issue. I chose to have a 32x32 tile resolution, and a 64x64 character sprite resolution. The levels are ...
Xargon Wan's user avatar
1 vote
0 answers
371 views

Libgdx handle screen resolutions

I know there are some questions to this topic, but i didnt find a satisfying answer for my problem yet. I'm learning to use libgdx right now, and I'm not sure about handling different screen ...
T_01's user avatar
  • 121
0 votes
1 answer
235 views

What image resoluiton for sprites in 2D mobile game? [closed]

I am an experienced iOS developer, however I have never worked on games before. We are planning to make a mobile game using Unity 3D. Our graphics designer needs to know what resolution should he ...
Balázs Vincze's user avatar
3 votes
1 answer
3k views

Unity Remote screen resolution

I just made a game using Unity. However, when I tested the game on unity remote, the resolution or graphic of the game was really low compared to the actual game. Would this change when I deploy the ...
AJ123's user avatar
  • 169
6 votes
1 answer
9k views

How to handle different resolutions in SDL2?

What is the easiest way to set different resolutions with SDL2? I was trying to use the SDL_RenderSetScale() function first, but for some reason it alters the ...
Letokteren's user avatar
2 votes
1 answer
1k views

Per-Texel lighting? (not per-vertex or per-pixel)

In my game, I have a 3D shader that does lighting using color ramps on models with very low resolution textures. Basically, the vertex shader calculates color values for direct light and ambient ...
mklingen's user avatar
  • 3,627
1 vote
3 answers
7k views

How to set widget size that is independent of screen resolution/density in kivy

I had coded a simple click game with Python-kivy to android. You should click dots which are popping out randomly at screen. I set their size 20px to 60px as your level. But it seems when I try on ...
ihsancemil's user avatar
2 votes
1 answer
2k views

XNA/MonoGame screen scale and keeping aspect

My aim is to make a simple 2D platformer, the idea is that it will be a base resolution of 480x270 (16:9) which can scale x2, x4(1920x1080) or go full screen. I basically do: graphics....
lozzajp's user avatar
  • 780
2 votes
0 answers
192 views

DirectX 11 - Problem with low resolution decals

I'm trying to add a decal system in my DirectX engine but i'm facing some problems with the quality of the textures projected. Every other no decal texture look fine, but these ones look really bad. ...
Guille's user avatar
  • 21
16 votes
4 answers
4k views

Is it a bad idea to "map" the mouse position on the screen so that collision detection works regardless of resolution?

Consider a game who's default resolution is 800x600. Objects with collision masks are placed in a game world of size 800x600. The collision masks can detect when the mouse collides with them. Now ...
user3002473's user avatar
2 votes
1 answer
2k views

Creating a DPI and Resolution Independant GUI

How would one best go about it? Assuming I'm using OpenGL to do all the drawing. It seems like the best approach is to have the GUI elements maintain the same physical size regardless of the screen ...
OnePie's user avatar
  • 121
0 votes
1 answer
138 views

How to limit resolutions display in monogame

I can Add resolutions to the list. Here is part of code. ...
user3768433's user avatar
2 votes
2 answers
8k views

Resolution scaling

I'm currently working on a project and I'm happy with the UI design: Being the fool that I am, I decided to only design my UI for one resolution, and now that I want to have the user be able to ...
genfy's user avatar
  • 43
0 votes
1 answer
685 views

Unity Editor Scene View does not match built executable

I'm trying to make my game resolution independent. I'm using Unity's 4.6 UI, and I've got custom resolutions defined at 1280 x 720, 1600 x 900, and 1920 x 1080. In-editor, if I swap between any of ...
Raven Dreamer's user avatar
1 vote
0 answers
646 views

Image Buttons Have Low Resolution Quality

I'm using Synfig Animator to draw my animations for my android game I'm also using Android Studio to write the code for it, However. On testing, the images that i'm using looks very bad and unfocused ...
Zack Tombson's user avatar
1 vote
1 answer
444 views

scaling problem with some resolutions

So I made a scaling system for different resolutions, and I got very weird results. I have an old "scaling" system where you can choose which scaleSize you want (...
Jelle's user avatar
  • 331
1 vote
2 answers
2k views

Monogame resolution problem (without scaling sprites)

So I'm working on a project and started working on a scaling system for different resolutions. I know if you change the monogame resolutions, that the texture won't scale but I noticed deformed ...
Jelle's user avatar
  • 331
0 votes
3 answers
761 views

Text independent of screen resolution in Unity? [closed]

I have the following code that depends on the resolution of the user's display: void OnGUI() { GUI.Label(new Rect(432, 525, 9000, 9000), ("Hello!")); } And ...
user avatar
4 votes
3 answers
9k views

In what size should i design sprites for unity iOS? [closed]

I am developing a 2D platform game in unity.I have conceptualised the game and have to design the art assets/sprites, but the problem is at what resolution or size do i design them? If I target the ...
user75648's user avatar
  • 181
0 votes
1 answer
393 views

SDL2 and density-independent pixel

I'm currently using SDL2 on Android and that's my first experience with that library (to be honest, mainly chosen because I'd like to learn it). What is puzzling me is how to deal with different ...
skypjack's user avatar
  • 107
4 votes
1 answer
794 views

LibGdx 2d Free-Form Terrain

I have a query about how to create a 2d landscape level using libgdx/ box2d (Or possibly with Unity) for Android and iOs. Let me describe the goal and then the specific points I need help with. What I'...
AndyM's user avatar
  • 143
0 votes
5 answers
1k views

How do you create images that work for multiple resolutions?

I'm currently doing some game development and I've been curious about this situation for many years. Let's say your game has two resolutions: 640x480 and 800x600 (using small numbers just for ...
SaviorXTanren's user avatar
1 vote
2 answers
900 views

How to stretch screen image to fit higher res monitors set to lower resolutions with Unity?

Using Screen.SetResolution(width, height, windowMode); , how might I stretch the image to match the monitor size? I've noticed this problem occurs both with this ...
Euthyphro's user avatar
  • 237
4 votes
1 answer
7k views

Pygame Fullsreen Display Issue

Code: ...
Flutterguy135's user avatar
2 votes
1 answer
318 views

Unity Engine: How to change mointor/desktop resolution in 4.5.3 and higher

As of unity 4.5.3, Screen.SetResolution and the Unity Resolution Display Dialog, by default, no longer change the monitor/desktop resolution. Instead, it only changes the render target resolution for ...
Allen Pestaluky's user avatar
1 vote
1 answer
465 views

Aspect ratios for sprites in Unity3d

I'm using Unity3D version 5.0. I'm wondering what the best way to deal with changing resolutions in Unity is. In Swift I can just use the @x2/@x3 in order for it to pick the correct sprite for it ...
Faraday's user avatar
  • 111
0 votes
1 answer
6k views

What screen resolution do I make an android game in? [duplicate]

Is it safe to assume that most mobile phones and tablets today have moved to 1280x720 resolution and above and make the games in that resolution, scale down for smaller screens or is a smaller ...
fuzzyBatman's user avatar
0 votes
1 answer
790 views

Handling Multiple Resolutions

Recently, I was going to implement and options menu into my game, but I haven't been able to figure out how changing resolution, conceptually, would work. Do I have multiple versions of the same ...
Charsmud's user avatar
1 vote
1 answer
235 views

Vector2.Distance on different resolutions

...
ZenVentzi's user avatar
  • 367
0 votes
1 answer
37 views

How to put labels at a specific point on any resolution

I am working on a project in Unity 4.6.1 and I put the label at the top: But when I put the Scene in full view this happened: I made a Development Build and when I select my resolution (1366x768) ...
kprovost7314's user avatar
2 votes
1 answer
3k views

Problem, why the mouse cursor position is totally wrong, after resizing the window?

I come here, because i'm trying to add some "menu" interface in my small XNA Game . I found on internet a nice library adviced by many devellopers. Till now everythink is ok, the problem is my C# code ...
Mehdi Bugnard's user avatar
1 vote
1 answer
231 views

How to make TMXTiledMap responsive?

I've been struggling with Cocos2d-x (C++) and finally I got to the point I feel more or less comfortable with that. My game is a 2D car-based one, with a straight infinite map where I've finally been ...
jjimenezg93's user avatar
0 votes
1 answer
981 views

Relationship between Camera's view size, screen resolution and objects scale

I've had this question since a long time ago and wanted to know the relationship between how an object is viewed through the camera depending on the resolution of the device, the camera's view size ...
Dylan Velez's user avatar
2 votes
1 answer
8k views

Stretch the game to fit the game window, in Unity 5

(Desktop) I want to make it so that when the user re-sizes the game window, the game is stretched to fill the window. (Similarly, for Android) I want it to be stretched to fit the screen as well. ...
dimitris93's user avatar
  • 1,317
1 vote
2 answers
2k views

How can I run a Unity game in a window larger than the desktop resolution?

I am exploring a research problem using Unity. I require a game resolution of at least 4096 x 786. There seems to be no option under build settings for setting a fixed screen size window. (The default ...
Aspiring Game Dev's user avatar
1 vote
1 answer
367 views

Weird windowed resolution - can't seem to change without changing the name

My game is windowed, and when I set the resolution in the build settings (960x540 - 16:9 - Windows standalone), and build it, it works as intended, but from then on, I can no longer change the ...
8176135's user avatar
  • 244
0 votes
1 answer
3k views

How to deal with different resolutions in a 2D game? [duplicate]

For example, you have a sprite of mario with a size of 20px x 20px. This sprite however was made for a game resolution of 1000px x 1000px. What if you want to provide a different game resolution as ...
ClassicEndingMusic's user avatar