Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
If I follow a guide i.e on YouTube, lets say they are creating a 2d platformer on for the PC, will it work for an Android aswell?

Was thinking of writing the game in C#

New to game development!

What I have tried:

I've tried looking at youtube videos and looking over the comments about this
Posted
Updated 5-Mar-16 11:02am
Comments
Richard MacCutchan 5-Mar-16 7:06am    
It all depends on what the youtuber is doing.
devonJones 5-Mar-16 7:21am    
Dw, it works, just need to compile it for a different platform, done & done.
Afzaal Ahmad Zeeshan 5-Mar-16 12:16pm    
Ask that YouTuber to publish the source code and steps to compile it. Because we have no idea how he did that.
[no name] 5-Mar-16 15:09pm    
Simply, no it won't. This is initiated by user decision. When you are building a Unity game from the Unity app, you have the options from the build menu to build in whatever platforms you wish to distribute the application in. Hope this helps.

Secondly, you can only write the game in C# anyway.
devonJones 5-Mar-16 21:11pm    
Thanks for the reply! I thought you could write in C++ aswell, that might be UE (unreal Engine)

1 solution

Yes it will work on android as well.
You can read about it at their website.
Unity - Multiplatform - Publish your game to over 10 platforms

But I think you have to do manual coding for touch.
Not sure if there are presets in the editor, like mouse and gamepads (sensitivity,gravity etc..).

If you are new to coding and game creation, Unity and 2D is a good choice.
 
Share this answer
 
Comments
devonJones 5-Mar-16 21:09pm    
Thank you for the response! Tack för ditt svar! :-)
Per Söderlund 6-Mar-16 5:15am    
Np, inga problem.
devonJones 6-Mar-16 5:19am    
Are you good with HTML & CSS?
Per Söderlund 7-Mar-16 4:52am    
The more I learn, less I know. I never get the feeling of knowing or being good. But yes, at work I am writing html and css (bootstrap), I also write backend code and design database. Why are you asking?
devonJones 7-Mar-16 5:29am    
I needed help with a project yesterday, but I solved the issue :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900