Multiplayer - different screen resolution
I'm creating a game similar to Pong, and I added multiplayer with Network Manager HUD. My problem is that when I start the game in two computers that have different screen resolution, game objects like...
View ArticleWhy Doesn't Unity App Fit Microsoft Surface Screen?
I have created a Unity 5.4 app for playback on a Microsoft Surface. The app is sized at 2736 x 1824 in Unity and on startup set to that size with "Windowed". When played on the surface, blue bars...
View ArticleOrientation Problem - Tablet vs Phone
My game is designed to work in 'landscape right' orientation - it involves a lot of tapping on the far right of the screen, so if it is in this orientation, the user does not accidentally press the...
View ArticleHow can I create a GameObject at the corner of screen
Unity is so difficult compared to delphi. In delphi you can just say: Rectangle1.Position.Y := 0; Rectangle1.Position.X := screen.Width - Rectangle1.Width; This will just change the position of the...
View ArticleVector move based on screen size
Hi! I have just started making a mobile game with Unity. This is my first foray into unity, so I'm very much learning as I go. Reckon I'll be here a lot. Anyway, with one of my UI elements,...
View ArticleGetting position of Game Window
Hi there, is there a way to get the location of the game window and probably the monitor resolution in game? I'm basically making a game where I want the player to sometimes drag the window around the...
View ArticleChange main camera size depending on screen size
So , when I change size of screen the main camera position size is 1 all the time and most of my gameojbects get cut of when I try to run game on smaller screen . Im making 2d game with one scene that...
View Articlescreen size
can somebody explain me how to make a box is the same size as your "monitor size". my first main menu: GUI.Box (new Rect (0, 0, Screen.width, Screen.height), "", "Main Menu Box"); the box is sized to...
View Article*SOLVED* How do I make the player jump at a fixed speed?
Hi, I am making a 2D game using the UI canvas system and I ran into a problem with the height the player jumps to, and the speed of the game overall. When I play the game in the editor on small screen,...
View ArticleHow do I edit in full screen
I can't seem to resize the screen I am working on. I have my images however I don't want to zoom I want to expand the screen and work on the details. My scale is 0.46 putting it higher will just zoom...
View Article2D snake game stop sprite from leaving screen
Hi, I've been stuck for weeks. I'm making a 2D classic snake mobile game in C#... but I can't stop the snake from leaving the screen! I've tried to create empty objects and use them as borders, but if...
View ArticleScreen Size and Brightness Settings at Runtime
Does anyone know how to achieve this kind of thing at runtime? (Runner2 ref vid): http://imgur.com/GMG8OsO I am kind of bumbling around in the dark (noob) trying to figure this out, so a nudge in the...
View ArticleView fits in landscape but not portrait ?! (Mobile)
When I test my game in landscape mode on my android phone, the camera fits perfectly on the screen, but when I switch to portrait the sides of the camera view are cut off. It seems that Unity matches...
View ArticleChange collider position depending of screen size?
Hello unity community! I have been trying to add a edge collider 2D to both borders of my camera, to prevent the player of leaving a certain area (camera is chasing the player). But when the screen...
View ArticleHow can I scale UI text per resolution?
I have text on a UI canvas and have the UI Scale mode set to scale with screen size. This scales all of the images in the UI perfectly. However, it does not scale any UI text. Why is this and how can I...
View ArticleItween working differently on different screen sizes (with text objects)
Hi When I use iTween at gameObjects, everything works fine on the PC and my phone. But when I use it at textObjects in canvas, the text is moving at different speeds depending on the screen size. How...
View ArticleSplit screen into grids
Hey guys, I'm making a mobile game, so one of my main concerns is having the game fit into any screen with the layout intact. I thought about doing so by splitting the screen into rows and columns and...
View ArticleCalculate screen top and bottom postion
I need to figure this out for two reason and put it in two separate places for my game. Right now i have object spawning in hard code, I would like to spawn between top and bottom of the screen even...
View ArticleCan I override screen.width and height to help me scale poorly coded scenes...
Hi, I'm starting to look at options to approach a bit of a bandaid fix that is avoiding a much bigger coding project. I have an application I'm working on that has maybe 35 scenes. They've been created...
View ArticleResolution Dialog no maximal screen res when window mode checked
Hey there, in my player settings all aspect ratios are checked but when i build the game and the resoultion dialog comes up and i check the "window checkbox" i'm missing the resoultion for my screen...
View Article