so the trick to Android development is to choose the right tools for the job and to learn only the skills you really need to build the kind of app
online to help you through that said unity is still very powerful very flexible and C used by a lot of professional developers in fact many of your favorite games
from the Play Store were probably built using unity way to try and make a game in Android studio you need to learn Java you need to understand classes and
libraries you need to create the physics engine yourself so you're handling things like gravity and collision whereas unity does all that for you makes it so much easier while
still being as powerful as you could need even as a professional developer if you're someone would like to create an android game but you think maybe it's too difficult
it involves too much code then I hope this videos gonna demonstrate just how quick and simple and easy the whole process can be I'm gonna really run through it
though so if you want to slow things down and understand what each step does then follow the link in the description down below as you'll see though the process
really is very simple you don't need any prior knowledge and as long as you've got unity and the Android SDK installed on your computer already then you'll be good
to go okay so seven minutes let's go so the first thing you want in any game is probably play a character so you're gonna open up paint or whatever
I mean obviously there's better tools to use for this foot this is all about the morality and the easiest and quickest player character to make is a square with
handles things like the physics and controls it provides certain assets for you ready-made it basically makes the whole process of creating a game much simpler so you can focus
a face full of attitude this guy you're gonna take squarey and you're gonna drop him into your game like that so he's a sprite we also need some platforms
for him to walk on so drag your platform into your game in the exact same way cool thing is look you can drag and reshape this so if you
copy that and then paste it you can make as many as you want to select your player character squarey and then you're gonna open up up here on the
right the inspector and in the inspector you're gonna say add component physics 2d rigidbody 2d so this is basically 2d physics for your character and what we're gonna do
is we're going to drag the camera onto square e like so in the hierarchy these along the top here are controls that you can use to decide what you
want to do with your game objects and that one's used for moving stuff around if we place it right on top of square e then it kind of makes
more sense cuz you can click play and now he's in the center of the screen so anything that's a child of anything else will follow that thing around anyways
enough talk work okay so select square e the problem you can obviously see here is he's falling through the ground so we want to add another component and this
time we're going to add physics 2d box Collider 2d I'm gonna do the same thing with the platform here add component physics 2d box Collider 2d once more and
if we copy these now then we'll also be copying over that new Collider and the new physics okay so now click Play and hey that's starting to look more
promising okay now the next thing we're going to do is create our first script so that we can actually start controlling what happens in this game but don't worry
it's very easy so first of all go down to your assets folder in the project window here and you're gonna right-click anywhere and say create folder script now with
that open right click and say create c-sharp script and we're going to call this player controls - double-click on that and it should open up the visual studio for
you here alright and this is your first script you'll see there's already some code here I'm going to reference here because I'm not no mister remember however I did
write the reference so it doesn't feel like cheating alright so what we're doing up here is we're going to create a new object of the type rigidbody 2d like
android game development tutorials
game development in android tutorial
android game development tutorial
android 2d game development
android game development tutorial for beginners
android game development tutorial android studio
android 3d game development tutorial
unity 3d android game development tutorial
android basic game development tutorial
unity 2d android game development tutorial