I want to write simple games for mobiles, something like a good Tetris program. I want it to work on Android and iPhone phones.
My current knowledge of programming is fairly good in web development such as PHP, MySQL, HTML, CSS, JavaScript and C/C++, and Java, all intermediate level, and basic OpenFL programming.
I have the following questions:
- If I code in XCode can I port/deploy it on Android phones?
- What are the languages/packages I need to learn?
- Can I get some helpful tutorial links to the same for a new bee?
Most of the people I know that port between iphone and android using the native tools use C++ / OpenGL ES / OpenAL and small amounts of objective-c / android NDK to handle the OS specific stuff. You want to reduce the OS specific code as much as possible as that is the code you have to rewrite for new platforms.
This can be a lot to handle if you have never done it before.
If it’s your first time doing game development you may like to go down another path like Unity3d or Corona SDK. Since you want to do 2d game development Corona may be a better fit.
Both Corona and Unity3d have great forums that will help you out.
If you want to learn Objective-C, then I would suggest the Cocos2D engine for 2d game development. Again they have a great forum for asking questions.