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 Alanimator · May 20, 2014 at 07:56 PM · c#standaloneconvertpc

Converting Game(Code structure and input controls) PC to Mobile

I'm ready to make my PC game a mobile game but i have hundreds of scripts . and the input are all key based.

I would just like to know is there is any documentation anywhere that states what aspects of the code structure must be revamped in order to successfully convert a PC game to Mobile.

I have never owned a smart phone so i'm lost here.

is anyone could point me in the right direction I would be grateful .

Comment
Add comment · Show 3
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 ivomarel · May 20, 2014 at 08:22 PM 1
Share

If you do not own a smartphone / tablet, then it will be hard to convert your pc to a mobile game. Although Unity supports multi-platform really well on a technical level, you will need to run tests on actual devices.

If I'd have to make a step-by-step summary of what to do..

1) Redesign all your panels, interfaces and interactions to be mobile friendly. Take into consideration your screen will be smaller, there is no keyboard (at least not during gameplay) and positioning of buttons should be based on peoples fingers (e.g. you don't want an important button in gameplay in the middle, since that way the person can't see his screen when he presses it.

2) Recode the redesign (it's important to separate these two steps, because on-the-go changing of code while you're not done with the re-design, will scramble your brain and project).

3) Redesign your models, textures to low poly / low res. Adjust/change shaders.

I'd like to add that people often underestimate the difference between PC and mobile game development. Remember that your target group, the interaction and the capabilities of the device are completely different.

avatar image Alanimator · May 20, 2014 at 08:54 PM 0
Share

my game is a space sim. there is only one level , "levels" are just skyboxes that are changed during gameplay and objects that are enabled and disabled.

I will need to change all the input controls to recognise touch input. On screen buttons will be needed .

the ship can be button controlled or controlled by the tilting of the phone itself ?.

the game is about 600 $$anonymous$$b as is .

so the immediate issues are shaders , input and GUI ?

my ships arent over 2000 verts, still too many verts for mobile ?

avatar image Xyleph · May 22, 2014 at 02:04 AM 2
Share

Converting an existing game to a mobile platform is a big project. High-res textures and high-poly models will make your cellphone/tablet lag, so they must be set to lower resolution (redesigned). You will have to do a lot of optimization in code and graphics, since cells can't handle nearly as many calls in update. You should also keep in $$anonymous$$d that a mobile game running just below the cells performance ceiling will drain the battery in no time. Unity does however lower the quality when you build for cells, but you still need to optimize. And not to demotivate you even further, 600 $$anonymous$$b is quite a lot for a mobile game. You should reduce the amount of textures maybe? Lover quality of Audio or reduce their lenght.

Sound, Video and Textures are holding most of your $$anonymous$$b! Check these if you need to reduce size.

Shaders (Unity has special material shaders for mobiles), shadows (live shadows are not recommended at all), high poly models and high res textures put the biggest load on the processor. simplifiy these to increase performance.

And finally: Good Luck! Hope I didnt demotivate you too much!

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

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to launch a Standalone Unity Application PC/Osx by clicking on a hyperlink in any browser ? 0 Answers

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

C# to Unity script question ? 4 Answers

converting javascript to c# 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