Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by MaleficVision · Dec 06, 2012 at 01:21 AM · android2dgame development

How to adjust UI and game board for different android screen sizes?

Before anything else I've already searched about this before posting this question. This is more of a confirmation of what I've understood by what I've already read.

About my game...I'm going to create a simple 2D Board Game.

It's a 2 player turn-based game. Each player will have 3 "coins" on their side.

[x] [x] [x]

[ ] [ ] [ ]

[o] [o] [o]

Each player will then have 1 move per turn. They can move their coin diagonally,vertically and horizontally, given that they have a space to move to.

The goal is to have a Straight/Diagonal line of coins for you to win the game like this:

[x] [ ] [ ]

[o] [x] [ ]

[o] [o] [x]

You cannot win if you form a straight line on your own side, you can win that way if you are on the other side of the board(opponent's starting position).

I don't know if I've explained it very well but that's the summary(I guess) of my game.

Now about the adjustment of UI for different android screen sizes... Here's my UI design: alt text

From my understanding I could use an ortographic camera and use it's methods or I could use the methods of the Screen class to get the resolution/size of the device's screen size and then do some calculations to adjust my UI(buttons,text etc).

How about my board? How will I be able to adjust it to different android screen sizes? My target devices would be 7 inch tablets and some android phones that has around 3"+ screen size.

Should I just do a small scale version first and then just build it again using a bigger screen resolution?

Oh and by the way this is only for a school project. Anyway I would appreciate some insights about my dillema. I haven't quite grasp the concept of screen resolutions and aspect ratios yet,I mean not that extensively.

untitled.png (19.4 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image akashif · Jun 05, 2018 at 12:52 PM 0
Share

it is a very old thread, but i am facing exact same problem, do you have any solution for this?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Scroll Rect Content Disappearing (Video) 1 Answer

Can I run Unity on a laptop with only 2GB ram? 1 Answer

Unity 2D autoScale the sprite objects in worldspace according to resolution? 0 Answers

2D Animation does not start 1 Answer

Duplication Problem. Please help. 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges