Quantcast
Channel: Questions in topic: "screen size"
Browsing index pages (225 articles)
↧

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


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


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 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 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 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 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

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


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


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

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

UI changes wrong when Screen changes

Hello! A few months ago I asked a question about Sprites that change its scale when the Screen changes its scale. The correct answer was: Use Camere.aspect = ... But now I realized that this only works...

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


Responsive 3d assets from unity test screen to mobile (Mobile Game)

When i test my project in Unity Editor in 16:9 Portrait (9:16) it looks fine but when I try the game on my phone the assets are huge for the phone screen. Is there any way to make the assets spawn in a...

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


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

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


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

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

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
Browsing index pages (225 articles)


Latest Images