- Home /
Is this the correct walkthrough to get a game from pc to android/iphone?
Okay I am a little confused on how developing to multi platforms works (I have tried reading online, and that made me even more confused) I will try to explain how I think it works, and if someone could correct me that would be very helpful. (or if there is a good site that I haven't found let me know)
So I will start building my game from my PC in free unity. Once I have my game, I will buy the android plugin and get the android developer SDK. With the plugin I will re-compile my game somehow?(how do I move a game on unity to unity with android?). I would create the controls for my android (like direction pad on the screen) in unity in its own section #if UNITY_ANDROID
and I can run a test simulation in unity as well. After this I would deploy the unity project to the android sdk, and run it and deploy it to my personal android phone from there. If all is working, send to marketplace.
And I am guessing for Iphone it would be the same, but I would have to bring my project over to my mac mini(that I will eventually get) and use the apple phone development instead of android sdk.
Does that sound right, do I even need to open the phone development tools? am I way off? edit: Also wondering about tablets, can we develop for them (iPad, Xoom, Galaxy?)if so how do you know what resolution to use
Answer by Joshua · Apr 28, 2011 at 01:57 PM
The buying of the licence will not require you to recompile anything, it just unlocks some features inside Unity. In your case, the ability to, under build settings select Android as the targeted platform.
The #if UNITY_ANDROID sounds right, but I'd just change up the Input.GetAxis setup once you have the licence. (for instance, change Horizontal to tilting left/right).
For tests you'd use Android Remote, a nice little tool that'll save you heaps of time.
That's basically it.
"Also wondering about tablets, can we develop for them (iPad, Xoom, Galaxy?)"
Yes, that's why the name of the licence was changed from Iphone to IOS. Any mobile device using IOS can be developed for. Same goes for every mobile device using Android.
"if so how do you know what resolution to use"
Look it up, there's a lot of documentation on that.
@Joshua Thank you very much! So once I have a finished project(working on Android Remote) Do I open the project in Android SD$$anonymous$$? and launch it to their marketplace? or can i do this right from unity?
Unity works for everything up to the build. For publishing to andoid market - you're on your own. For publishing it on other platforms check out http://unity3d.com/union/
@Joshua I mean after my build is it just submitting it to the droid store?
I assume so. I have no experience with that, but after build you have a working Android app.
I would exa$$anonymous$$e the AppStores and check what their rules and requierments are. One thing is to make a game, another one is to pass Apple's Judgement-board. 6 month of gamedevelopment is not the same as getting on Apple's AppStore.