libgdx-installation-and-setup-for-android-studio-on-a-linux-box
e9zornj971iptv billiga Gratis 2. Upplev den bästa ... IPTVBilliga IPTV-servern är stabil, jag gillar din kanallista. ... Jag köper en IPTV IPTVBilliga prenumeration för en månad.
[Audio] Well g'day, g'day.
It is Tim Buchalka, the Aussie AndroidDev Person, here with Yet one more movie.
This time we are putting together and installinglibGDX which can be a sport framework utilizing Android, Android Studio for Linux.
Now, should you be working a Mac or possibly a Windowsmachine, click the hyperlinks over to my left and you will be taken to a videowhere I provide you with how to try this with your platform, but once again thisvideo is all about configuring and putting together LibGDX, a recreation framework, working with Android Studio for Linux.
Let us go into it.
Ok, so let us do a look for forLibGDX Then goes with the initial consequence, which is libgdx.
badlogicgames.
com.
And click on that.
And after we are there we are gonna go tothe down load, click on Download and choose Obtain Setup App.
And i am gonna conserve that.
It can be fairly a small file.
You can see It truly is now downloaded.
So we are now about to open up that file.
I am gonna double simply click it.
Now if that does not function, relying onthe way your Linux device is configured, that may or may not operate.
If double clicking it doesn'topen this in your routinely, then what you can do, andremember we're in the downloads folders.
I am able to go back and open up a terminal.
Going to the Downloads folder and I am able to variety JA sorry Java- jar GDX- setup.
Jar and which will open it up this way.
So In any event a kind of must actuallywork for you so I am just heading to return and close the terminal down nowThen return and double simply click it.
Okay, so, now We have some thingsto do here so we have to know the identify, the deal, the sport classdestination and also the Android SDK.
Now Here is the LibGDX Task Generator, so the thought of That is it generates the venture, the shell, if youwill With the code that you choose to want to be able to use libGDX, so use this toolonce to develop the challenge and from then on you edit it andcreate your match employing Android Studio.
So This is actually the shell.
Just what exactly we need to know.
We'd like a number of items.
We must know the destinationwhere we're gonna help you save the undertaking.
But additionally the Android SDK.
The simplest way to locate the Android SDKis to go back into Android Studio And just get that url that we had.
So we're going to open up Android Studiocause you are going to remember in the event you followed together at home in the earlier movie whereI set up Android Studio, we went in and build and located the proper treewhere the Android SDK is deployed.
Yet another issue we'll try to remember whilewe're Here's the home folder.
So we're storing our projectsin Android Studio Tasks.
So we need to remember that for the reason that we'regoing to be Placing our undertaking in there.
So I'm going to near down the venture, The existing task.
Then I'll go back to here.
Then you certainly'll go into configure.
Venture defaults, undertaking construction.
Here is our android STK spot.
So, I'll take a duplicate of that and I'm going to paste thatinto the other app.
I'll cancel the display for now.
Return to our generator, and afterwards in right here less than android STK I'mgoing to stick that path in.
The place, keep in mind, was the home folder.
And is my Android job, soclick on Look through for that one.
Here is AndroidStudioProjects, so I'm just gonna choose that.
We're gonna click OK.
We are also gonna insert anything to listed here, we are gonna incorporate the title of the folderwe're gonna use for this venture.
I am just gonna connect with it /test In order that'swhere it should generate the documents.
So the name I am just gonna, It is really goingto be really simple: My First Recreation.
Deal, I have never definitely obtained time inthis movie to take a look at offers, it just ought to be a thing exclusive.
I will address packages in A different movie.
In game classes, the First recreation classthat is executed If the challenge begins, when the sport starts, sowe'll take a look at that later.
So for now, also keep in mind that someprojects are there since libGDX is cross-platform, it workson all These platforms.
I'm gonna just go ahead and take ticks off allthose inferior platforms, I am kidding.
And just leave Android on.
So now concerning extensions, if you do not know what they're, you'll be able to just hover your mouse overthere and you will get some assistance.
So Bullet just to provide you with somewhat ofan overview is often a physics library.
Free of charge Tarp is a lightweight fonts Device, so it does, form of will save the Room typicallyassociated with bitmap fonts.
Equipment will give you things like texturepackers and the opportunity to make fonts.
Controllers is forjoysticks and recreation pads.
Box2d is actually a second physics library, and Box2dlights is lights and shadows for that second physics library.
Ashley is really an entity framework.
And final, but not at all minimum, AI may be the artificial intelligence Framework which is now partof GDX being an extension.
You can even click on exhibit 3rd partyextensions and seize a kind of or a number of of Individuals factors dependingon what arrives up at the same time.
And you'll see that these aren'tmaintained because of the libGDX group.
I would do this now.
So I am essentially gonna deselect almost everything, but you would probably normally have Box2d picked.
I am gonna depart that every one like that.
So after we have carried out that, we can go into Innovative if we want to, but we won't really need to.
But simply to show you what it seems like, which is for anyone who is working with Eclipse, or A few other setup.
But we're not doing that.
We're working with Android Studio.
So to do that now, all we need to do is click on Deliver.
Now this can perhaps pop up on yoursystem if you've a Newer Model of Android designed equipment.
Probably, within the past video I downloaded the latest Model which wassort of forward of the release of GDX.
Typically you are ok you'll be able to try this.
If you probably did have difficultyyou can return And repair that if you need to andby downloading a past Model.
Lock While using the IPA, we are employing IPAlevel 21 and that is Android Lollipop.
They have not examined it fully with libGDX, but with that said it'll be ok, but if you did have an issue you couldalways return and regenerate it and just kind of downloada preceding Edition to start with.
But I will simply click onyes however to implement both of those.
You may see within the display screen underneath It is notdownloading the related documents in bits and pieces that it demands tocreate this venture.
So the length of time it will require and the scale of downloads is going to be dependenton the choices you have selected.
So that you can see I deselectedthe sub jobs and I've deselected all the extensionsjust to save a little bit of time.
So I'll pause the movie here andwait till this finishes and we will proceed by importing thisproject into Android Studio.
All right, are not able to quite see for the reason that haven'tgot loads of display real estate below but it really has actually concluded if I scrollup you could see Make successful.
So at this point we are now performed withthe libGDX job generator, so I'll shut that down.
Go back to Android Studiowhich I have left open up.
And we return to the leading choices ormain menu.
You would like to select importantnon Android Studio task.
We've got that.
We have to navigate to your folderthat just created it and of course that was my household folder, Android Studio initiatives exam.
So I'm just intending to click check, and click Alright.
This message might ormay not come up for you personally.
If it does, simply click Alright, since it's alright, and Android Studio [INAUDIBLE]grade will update instantly.
So at this stage now It is likely tostill do a little bit more Assessment with the venture and down load the appropriate files it needsto generate an Android Studio challenge.
Now Have in mind here that what it's doingis It is really importing the sport framework.
You know, the basic skeleton code thatwe've developed into Android Studio.
But it's doing it in a similar folder.
So it is not making another folder.
If you remember we established, we created the undertaking in that folder, Android Studio Initiatives 4 slash examination.
It truly is developing an infrastructurearound that, in that very same folder.
Click on yes the language level variations.
And It is only a matter of leavingthis to complete and do its thing.
Now it might choose various minutes.
It might choose quite a bit of time.
The first time that you open up a venture.
But once It can be performed you may edit itnormally as you would probably almost every other android studio challenge.
So I am just gonna pause the videonow right until this is accomplished.
Alright, shouldn't be as well much longer now.
So again, the first time you dothis might take pretty a while in order to update and down load and do whatever else it ought to do just toget that challenge into Android Studio.
That could be a once only procedure.
So we will just hold out forthis to complete off, and after that I am going to just immediately endure Justto explain to you some bits and items.
Not a whole lot to show, but in essence againthis is just the skeleton code for libgdx.
On this place forward, you may startcreating your code in Android Studio.
And making a recreation andrunning the game by means of the emulator, or by way of a physical Android deviceif you have just one linked.
Alright you can see It truly is concluded now sodo give it loads time.
It does acquire a while to complete, but it's a after only procedure.
Initially when it comes to several of the folders.
You'll be able to begin to see the standardAndroid manifest documents there, Java documents, resources, and so on asyou would Ordinarily see within a challenge.
The part I want to demonstrate is inthe core, and you may see, once more, Here is the package deal we choose, the class that we elect, and that's the course that gets referred to as orexecuted on the sport start off.
In such a case It is just setup by defaultbecause of some skeleton code to show the lousy logic jpeg onscreen.
To make sure that's it.
And we're performed.
Dusted, finish and fully create.
So libGDX is currently readyto go on your own machine.
You should now subscribe to my channel.
Click the subscribe button to the lefthand aspect, and you will be saved updated.
With new films as I release them.
If you have a second also, can I question you to make sure you Check out outmy Android Growth Training course.
Around 25 several hours of movie coaching, demonstrating you how to becomea much better Android developer.
Be at liberty also to peruse some ofthe video clips there to my remaining hand side, and actually get you a sense, so to speak, of more Android app goodness.
Final, but on no account minimum, remember to touch upon this video clip, allow me to know very well what you considered it, butalso be sure to give me some responses of Everything you'd like in the duvet within the futurevideo and I'd to do just that, to go over as numerous as These requestsas I can Sooner or later movies.
This can be Tim Buchalka, the Aussie Android dev male signing off andI'll see you in One more online video.
Cheers for now.
.