Quantcast
Channel: Questions in topic: "screen size"
Browsing latest articles
Browse All 225 View Live

Screen Dimensions Changing on Input and Breaking UI

I am making a turn based strategy game and creating a UI that follows the units. I do this by obtaining the world position of each of the units, calculating the screen position using...

View Article



Aspect ratio and resolution problem,,About resolution and aspect ratio

Hi every one: I have screen ratio problem. After I click build and run. Sometimes the screen of game get expanded to fit the monitor screen, but some other computers don't. I also set UI scale mode to...

View Article

Custom aspect ratio in build

I have made a game that was supposed to be for mobile but now I need to build it for PC. I want the aspect-ratio to be 2:3 but as you can see on the image that doesn't exist. How do I add a custom...

View Article

Mobile Game Different Screen Size Issue

I am making a Unity2D card game. But It cannot fit to all different mobile devices screen size. Is anyone can give me some hits, how to fix the problem? ![alt text][1] [1]:...

View Article

Fitting Into Different Screens

My Project is 3D which is using a Orthogonal camera. I have set a Specific Resolution of 1080X1920 (Portrait) Screen.height Screen.width These two give output as 1080 and 1920 (Pretty Obvious). Next,...

View Article


There is always a blue border on game in mobile phones

when I made a scene. I set the aspect ratio to 16: 9. There is no blue border in play mode, but there is a blue border on the mobile phone. my phone resolution is 2160 * 1080 in landscape mode. I have...

View Article

Resizable Virtual Screen in Unity

All the virtual screen technologies I've seen in Unity so far have limited the screen to the size and resolution of the desktop that the remote computer is duplicating. I am looking to create a...

View Article

When compiling the game and testing it on any smartphone, the screen narrows.

Hi! I have a problem that is driving me a little crazy. I've been compiling the game for several days and when I go to test it on any smartphone at home the reduced scene width appears. _ ![alt...

View Article


VR mirror view custom size and FoV

Im using VR (Oculus with URP, 2019.04 LTS) with a second screen that overlays some UI info. Are there any options to offset the mirrored VR view so i dont have to render the vr view with a second...

View Article


Scale/Stretch game scene to fit any device screen? Not referring to UI

Hi, I have been looking online and can't seem to find a definitive answer on this. Everything regarding the UI is fine, I just want to have my game scene fill the whole screen. Even if it loses graphic...

View Article

How do I make my label fit its text?

I am working on the credits for my mobile game and I have a license attribution thing at the end that is relatively long. On normal phone screen sizes it fits properly, but on notched phones, a big...

View Article

Screen size on WebGl

How can I get screen size when running on WebGl? I have 1200x800 canvas. Screen.width returns 300 in browser and 1200 in editor. Screen.currentResolution is also wrong. This happens in WebGl on desktop...

View Article

Character speed changes with screen

Hey I'm working on game at the moment and just made my first build for fun. but the moment i started moving i noticed that my charakter moved a million times faster than in unity. i dont know why that...

View Article


Pixel Perfect Camera - Change PPU by script depending on screen width/height

Hello. I am having some issues with Pixel Perfect camera and handling different mobile resolutions. The problem is that when I set the games PPU to 32, the camera view looks fine on some screen sizes...

View Article

How to keep the size of the screen fixed when playing in a bigger monitor

Hello, guys!!! I'm having a problem with a game for PC and Mac. If the player opens my game on a wider screen, you can see sections of the scene that shouldn't be presented. This is the error. My game...

View Article


Android screen resolution by Export bug

Hello Unity developer community I have a problem with the screen customization of my game and hope someone can help me. I would like to have the screen fit on 16:9 portrait. The problem is this I have...

View Article

panels dont fit in screen size

So im trying to add panels, buttons, images etc. for my phone app. it all looks fine in editor mode (with the phone remote) but when i build and run it, the UI gets either small or gets missive. I`ve...

View Article


Jump height affected editor window size

It's come to my attention recently that my main character's jump height is drastically changed based on the screen size. What's strange to me is that no other components, like movement or dash...

View Article

Making player move based on mouse position universal for all screens

I current have the player moving based on the mouse position and it adds force. The issue with this is if you're playing on a bigger screen you will move faster, if you play on a smaller screen, you...

View Article

Canvas elements don't change position with screen size

I have to instantiate the darts only inside the bigger square (refer image). Here is the code I used to try to add the boundaries. `outerSquare` and the `darts` are both Canvas UI elements (images...

View Article

Fit screen size

I'm developing a simple game and reached the building stage. The camera works well when I use 9:16 aspect (Image 1). However, when I change it to another screen size (1920x1080), it displays everything...

View Article


Settings display aspect ratio through code

Hello, I want to change the screen ratio for my mobile game through code(like you can change before running game in the resolution tab as shown in the picture) like this: void Start(){ var res =...

View Article


UNFIT SCREEN SIZE FOR MOBILE

HELLO FRIENDS I AM DEVELOPING A GAME FOR MOBILE BUT AND I TEST IT ON MOBILE I GOT UNFIT SCREEN SIZE IT MISPLACE THE HEALTH BAR WHICH IS THE DOWNSIDE HOW CAN I SOLVE IT I ALSO TRY [ **SCALE WITH SCREEN...

View Article

How to Detect mobile device performance?

I would like to pre-determine performance settings for iOS and Android at startup, for example, for Screen upscaling, LOD, animation and rendering quality etc... The best thing I've found seems to be...

View Article

How to select scene based on device screen size?

Hey everyone, I have created multiple scenes of my game for different screen sizes. Maybe this is not the smartest solution but I found this way easier than playing with anchors. Anyway... is there a...

View Article


How to I make it so that my Game's Window can be resized in window mode?

I want it so that the Maximize and Minimize buttons work and you should also be able to Resize the window as well ![alt text][1] [1]: /storage/temp/193860-image-2022-03-13-163647.png

View Article

How To Spawn GameObject In Top-Left Corner In 3D Space?

Hey, I'm new to 3D development in Unity and I want to spawn a Game Object in the top left corner of the screen no matter the size and aspect ratio. I tried looking it up on youtube but nothing seemed...

View Article

How to layout elements with set percentages

Hey there, I'm extremely new to the unity platform, so I do apologize if I am not using the correct terminology or if I am asking for something that's quite obvious. I am trying to make a...

View Article

How to make the platform be in the same location for different screen sizes

I want to make the platform in these screenshots appear in the same location for different screen resolutions. But as you can see on the second screenshot the platform is shifted to the left which is...

View Article



Incorrect shader Effect On Changing Render Scale

I was Trying To Create A force field Effect (https://youtu.be/NiOGWZXBg4Y) but it works incorrectly on changing the render scale. Would Appreciate Any Solutions...

View Article
Browsing latest articles
Browse All 225 View Live




Latest Images

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