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

GUI Aspect Ratio?

Hiya guys, I was just wondering something. I have several GUI Textures in my scene and I noticed that whenever I run my build in different aspect ratios they disappear due to being cut off the side....

View Article


camera and screen is much farther out on android build?

I am having some issues with the screen size/ camera view in an actual build (for android). Currently I have the resolution set to android wide 16:10 and the default orientation set to landscape left...

View Article


The infuriating Orthographic camera Vs Android Resolution.

I still haven't been able to find the settings for my game to fit the width of an Android screen. I keep reading about orthographic sizes being half of the window dimension of the screen height, but in...

View Article

Lock aspect ratio for iOS device

I've created my game at 1024x600. I use Screen.SetResolution(1024,600,true) to make it work properly on an Android device. When I try to put it on an iPad it seems to ignore the Screen.SetResolution...

View Article

How to know whether it is android tab or android phone or kindle tab?

is there any way in unity to know whether it is android tab or android phone or kindle tab? i know the ` DisplayMetrics metrics = new DisplayMetrics();...

View Article


Hi, Do we need to code 3d game for every aspect ratio

Hi all, am currently making a 3D Mobile game(in landscape) for android using unity3d. I want to know whether i need to code the camera viewport to scale to all aspect ratio or will Unity take care...

View Article

How to make the game resolution a square

I'm getting really frustrated as I can't seem to make my game resolution a square. Ideally the list of resolutions would all be a square ratio, and fullscreen would be disabled. But unfortunately,...

View Article

Is possible to have a fix screen size/view in camera? so our games plays in...

i want my game viewed in all screen resolution..please help. thank you in andvance

View Article


Wierd Sprite Error Keyboard taking sprite area

I have a screen, that needs keyboard input, but when I call the keyboard, the screen redefines its height ( based on the screen space not covered by the keyboard) and adjusts all sprites accordingly....

View Article


Why Is My Orthographic Camera Not Rendering at the Full Resolution?

I am working on a game that uses a pixel-perfect camera setup. I am using: void Awake() { camera.orthographicSize = ((Screen.height / 2.0f)/ 100f); } First of all, my native resolution is 1920x1080....

View Article

setting up orthographic camera for 2d iPhone game

If I want to set up my orthographic camera so the background fits perfectly to fit an iPhone 5c what would I do? I've been searching and I can't figure it out, I'm not sure how to change the screen and...

View Article

Scale camera to fit screen size

I am programming a game in unity using 2D and C# The problem is how do I make it so that my game will be supported on all iOS devices? The camera cuts off some of the scene depending on the iOS device,...

View Article

Scaling Health bar to different screen sizes

I have a health bar made up of ten hearts, what would be the best way to scale it to different screen sizes? Any help would be great! Thanks health bar script using UnityEngine; using...

View Article


How to make a GUI fit any screen sizes?

Hello, guys I'm having some problem with a script. I have this javascript code: var GameName : String = "Game Name"; var GameType : int = 0; var selStrings : String[] = ["Fighting", "Race", "MOBA",...

View Article

Unity3d How to support different screen size in Portrait orientation

So, I know in Landscape orientation game, I can create an background which is wide enough to accommodate the widest possible screen(like 16:9). The extra background for wide screens is simply ignored...

View Article


How to Force small Screen size on (x)large Android screen ?

How to force 320x480 screen size on higher screen size [eg: 480x800] ? i have been looking forums and other sites. All Talk about GUI, adjust Aspect Ratio. What If i want to show the the small screen...

View Article

Correct resolution/screen size for an A4 piece of paper

I posted this question some time ago: http://answers.unity3d.com/questions/775149/is-it-possible-to-generate-a-printable-image.html asking if it was possible to generate an image to print, and I...

View Article


Having a plane fit the size of the screen relative to the camera

Hi, I'm currently trying to create a battle transition like in most turn based rpgs when your on the field and then a random encounter starts. I'm approaching this by taking a screenshot of the screen,...

View Article

Unity 2D targeting multiple screen sizes

Apologies to ask about this old chestnut again but I cant find a clear answer.I've set my unity editor to show the game based on aspect ratio. I've done a rough draft of the game on the 9:16 ratio. I...

View Article

Scale gameobject to the width of screen

Here is my image in which the red box (Cube GameObject from unity - no sprite ) needs to have a width and height of 1/9 of screen width. For different screen width the cube's dimension will change...

View Article
Browsing all 225 articles
Browse latest View live


Latest Images