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 Mz3D · Jul 14, 2012 at 01:56 AM · androidcontrolsuser

android version of a pc game

I'm working on a game. Right now i've set user controls for a pc version but i wouldlike, when it will be finished, to make an android version. I'll have only to reset user controls (for a mobile device) or i'll have to change something else (scripts, objects behaviours..)? I'm already developing this game in a 4/3 resolution since i want it to run on cheap/small devices like samsung galaxy mini.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by henry96 · Jul 14, 2012 at 07:32 AM

When you move it to Android version, the first thing that is different is control. As pc use arrow and WASD, Android use Touch. So you need to change the script for the touch. Other script like OnCollsionEnter or Raycast won't be affected when you switch.

The second thing will be screen resolution. Lots and lots of android device out there have different resolution. You need to do a couple of scripting to make things fit into every screen size.

Last but not least, performance. Nice graphic might be run well on PC. But when it comes to Android, this is a serious problem. It requires lots of tweaking.

So yeah, you need to change and tweak quite a lot of things.

Comment
Add comment · Show 3 · Share
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 Mz3D · Jul 14, 2012 at 08:56 AM 0
Share

I'm drawing models in lowpoly :) This game has been thought as an android game since the beginning. Do you know how many polygons can a (low-end) android device handle (like a samsung galaxy $$anonymous$$i)? I think that there will be less than 1000 or 1200 polygons at a time, is it too much?

The samsung galaxy $$anonymous$$i has a 600 mhz processor and 384 mb RA$$anonymous$$

avatar image Mz3D · Jul 14, 2012 at 09:09 AM 0
Share

where can i learn about scripting to make a game fit into different devices resolutions?

avatar image henry96 · Jul 14, 2012 at 03:16 PM 0
Share

It's more than processor and ram. It is also related to GPU, screen pixel and so on. So just keep everything to be average. Too little might not look great. Too much becomes laggy.

The screen resolution solution, usually for me, it involves with Screen.width and Screen.height. So just get those value and multiply with some exact value to make your UI look good. (3D objects in scene will automatically set to fit the screen res)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Control the camera with a half of the touch screen 0 Answers

On screen button forward for a car (Android) 1 Answer

How do I make Android Button in-game controls? 1 Answer

How do you map touch to one of the input axes? 1 Answer

How to transform PC controls to Touchscreen controls 1 Answer


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