Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm working on my character menu for an RPG in Unity. I have my menu set up with different buttons for different categories. All is well, except when I re-size my screen, my layout is sized incorrectly. I need my GUI to respond to my screen size. Is there any information or a tutorial I can read?

share|improve this question
1  
@JohnMcDonald I'm not sure I agree with your edit. Responsive is the term used to describe web layouts that react to screen size changes, and I think it's appropriate for a game GUI too. I don't agree that there could be confusion about how quickly a GUI reacts to input (for any non-terrible GUI, anyway). I would recommend a rollback. –  Seth Battin Jun 24 '13 at 5:29
1  
Welcome to the site. Although you don't know where to begin searching, you are essentially asking for a tutorial on this subject. That's outside the guidelines of what should be asked on this site, which is why I voted to close it. But, here is a question that ought to get you pointed in the right direction. Good luck in your research! –  Seth Battin Jun 24 '13 at 5:34
    
Quite a lot to read... Thanks @SethBattin. Also, responsive is exactly what I meant. My GUI system is actually based on a pseudomorphic Tablet Application. What I mean is, my GUI is created as my player plays an animation of taking a tablet out and turning it on. The GUI is just an app. –  vulgarknight Jun 24 '13 at 7:00
    
@SethBattin, rolled back. I did not recognize it as a common term in the web world. –  John McDonald Jun 24 '13 at 15:38
3  
What are you currently doing? Are you using UnityGUI or some other middleware? –  Tetrad Jun 24 '13 at 17:02
show 1 more comment

1 Answer

I resolved my issue. I accomplished this by creating a ratio based on target screen sizes and actual screen sizes. This ratio is then applied to static value coordinates.

share|improve this answer
2  
Please accept your own answer. –  sm4 Jun 25 '13 at 3:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.