Quantcast
Channel: Questions in topic: "screen size"
Browsing all 225 articles
Browse latest View live
↧

Android Relative Screen Size / Aspect?

I almost finished my game for android and while developing it I always tested it on my phone that has a 1920x1080 pixels screen and it worked perfectly. Now that it is almost done I tested it on...

View Article


2d game for different screen resolutions

I want to develop a 2d game for mobiles. The concept will be like, the bubbles will be created at a random position and moves till top of the screen. Below are my questions. 1. How to get a...

View Article


Setting screen ratio not work correctly

Hi. I want to fix screen aspect ratio 16:9. I used to Display.SetRenderingResolution in older version of Unity, but it is not work now(2017.4.6f1). It shows horizontally stretched screen in 2960 x...

View Article

Fog particles in mobile android - screen.setResolution gives 60 fps and...

Hi, Unity 2017.4.3f1. With code line > Screen.setResolution ( 480,800,true) gives 60 solid fps on all android machines with fog particles and looks great with screens up to 5.2 inches , but I want...

View Article

Why scene view is fine resolution but Game view low resolution in pixels

![alt text][1] [1]: /storage/temp/122431-scene-view-good-but-game-view-low-resultion.jpg

View Article


GameObject or Screen Size Shrink?

The screen is fine until I press play and then this happens. It okay in landscape orientation but it doesn't work in portrait... I've use Auto letterbox plug-in but it's the same even if I don't use...

View Article

Please help me understand this code

I am new to Unity and coding but since I am learning and highly interested, I am trying to understand things as much as possible. I am following a tutorial I have purchased which used this code but I...

View Article

UI - How can I get a fixed width panel to shrink when it hits the edge of the...

How can I force a fixed width panel anchored to the left of the screen shrink when it hits the edge of its parent container? I understand most of the canvas scaling to screen, but I'm having issues...

View Article


Accidentally made my game the wrong screen resolution

Hi, I've just finished making my game for iOS but I've accidentally made it at a 320x480 screen size and this won't work with all the other phones. Is there a way to resize the whole game's size? Or...

View Article


Alignment of sprite

Hi, everybody. I have made several levels for the mobile phone. But after I have decided to try to start a game on the tablet... TA-DA! All game objects have fallen into that state in which I have...

View Article

Resize Gameobjects based on screen size

Good day, i am having an issue with game objects, i use to make use of an old phone for my testing, but when i got a new phone i noticed that the screen size was affecting the view of some of my game...

View Article

UWP Making the screen size to stay in forced resolution

Is there a way I can make the screen size to stay 1920x1080? I have searched google for a long time and cannot seem to find the right answer. I just get a blue or black box around the edges when you...

View Article

How to make a grid fill the screen flexibly regardless of device size

Hi everyone, I'm new to Unity and am working on a board game with a grid very much like that of Sudoku. My question is, how would I make the grid fill the screen (with some space left on the edges)...

View Article


how can i divide screen to x & y axes for different resolutions

When I set a touch position for different phones it works differently.I want to divide the screen.So when player touches the left side of the screen do something,and when touches the right side do...

View Article

How to make game objects in the game scene proportionally adjust position for...

Basically objects in the canvas, pause menu, main menu etc go out of position and become a mess when changing screen sizes. My question is how do you anchor everything so that it stays in its native...

View Article


Screen.width/Screen.height not working with multiple resolutions

I've been using Screen.width/Screen.height to scale UI elements (in this case a GridLayoutGroup) for a while and all of a sudden it doesn't seem to be setting the correct sizes. This is driving me...

View Article

Screen.safeArea in Unity 5.6?

We are currently developing Unity version 5.6. The current version does not have a 'Screen.safeArea'. We want to use it in the current version as well. I want to know if there is another way. Thank you.

View Article


Canvas Pivot in Screen Space Overlay

Hey all, I'm finally biting the bullet and moving my older projects to the new Unity UI (about time!), and I'm having a hard time with the pivot and anchor system. Here's what I want: . A UI element,...

View Article

How To Change GameObject Position Base On Screen Size?

Hello everyone, i'm trying to change my game object's position base on screen size, but i still cannot figure out how to do that, here is an example: ![alt text][1] as you can see i have some circles...

View Article

Android resolution/aspect ration issue

I'm doing the classic Aranoid 2D. I have 2 walls (Sprite Renderer) set at -7x and 7x. I have a method that calculates the distance between them, scales the bricks to adjust exactly in this range, and...

View Article
Browsing all 225 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>