• 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
1
Question by SuperWhat · Jan 12, 2017 at 05:32 PM · android2diosgamescale

Unity Scaling for Android on 5.5.

The questions I've seen tend to be outdated and not answered to my liking/needing.

PROBLEM: -I want to be able to create a game that can scale on all mobile devices with ease and with no pix-elation.

EXTRA INFO: -I'm very new to unity and tackling the the software with all my might I'm sorry for being a noob. -I already paired unity with my phone and set the build to android.(Nexus 5) -Aspect ratio is 10:16, The game is going to be portrait. -I have no scripts or anything, Its legit a blank game with a camera that has a blue background.

I have some pictures, if you need anything else for my assistance don't hesitate I'm here to learn and take, GULP, Constructive Criticism.

PC: alt text Android: alt text

trophynexus5.png (22.5 kB)
trohpypc.png (7.3 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 SuperWhat · Jan 13, 2017 at 12:11 AM 0
Share

I been thinking and guessing

float xScale = (widthOfThrophy) / Screen.Width Same for yScale but with height obviously

then to apply the scale to the throphy But Im not sure if it works because I dont know how to get dimensions from images/objects or set dimensions. If you know spread of insight, thanks

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Android heating up, performance questionable for 2d APP. 1 Answer

General mobile game developing questions 0 Answers

Things to know about 2D games! 1 Answer

Avoid touch input when pressing the "Pause" button 1 Answer

Store/Stack Items 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges