libGDX: Installation And Setup for Android Studio on a Linux Box

iptv 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.

[New music] Perfectly g'day, g'day.

It really is Tim Buchalka, the Aussie AndroidDev Person, here with yet another online video.

This time we're setting up and installinglibGDX which happens to be a match framework utilizing Android, Android Studio for Linux.

Now, if you're jogging a Mac or a Windowsmachine, click on the links around to my still left and you'll be taken into a videowhere I tell you about how to do this with your System, but all over again thisvideo is about configuring and putting together LibGDX, a video game framework, using Android Studio for Linux.

Let's go into it.

Alright, so let us do a search forLibGDX Then goes with the primary end result, that's libgdx.

badlogicgames.

com.

And click on on that.

And once we're there we're gonna go tothe obtain, click Obtain and select Down load Set up Application.

And i am gonna conserve that.

It's quite a small file.

You are able to see it's now downloaded.

So we are now intending to open that file.

I'm gonna double simply click it.

Now if that doesn't perform, depending onthe way your Linux equipment is configured, that might or might not work.

If double clicking it doesn'topen this for the mechanically, then what you are able to do, andremember we are inside the downloads folders.

I can go back and open a terminal.

Going to the Downloads folder and I'm able to type JA sorry Java- jar GDX- setup.

Jar and which will open it up this way.

So either way one of those should really actuallywork for you so I am just likely to go back and shut the terminal down nowThen return and double simply click it.

Okay, so, now We have got a few thingsto do in this article so we must know the title, the offer, the sport classdestination and also the Android SDK.

Now This is actually the LibGDX Job Generator, so the idea of This is often it generates the job, the shell, if youwill Of your code you need to be able to use libGDX, so use this toolonce to generate the job and from then on you edit it andcreate your video game using Android Studio.

So Here is the shell.

So what we need to know.

We'd like a couple of factors.

We need to know the destinationwhere we're gonna help you save the job.

And also the Android SDK.

The best way to find the Android SDKis to go back into Android Studio And just grab that website link that we had.

So we're going to open Android Studiocause you will remember when you followed together at home in the previous online video whereI arrange Android Studio, we went in and setup and Situated the correct treewhere the Android SDK is deployed.

A further thing we are going to remember whilewe're Here's the home folder.

So we're storing our projectsin Android Studio Tasks.

So we must keep in mind that mainly because we'regoing to generally be putting our job in there.

So I will shut down the task, The present challenge.

Then I will return to listed here.

Then you definitely'll go into configure.

Venture defaults, project construction.

Here's our android STK location.

So, I will take a copy of that and I will paste thatinto the opposite app.

I'm going to cancel the display for now.

Go back to our generator, then in below less than android STK I'mgoing to stick that route in.

The place, remember, was the home folder.

And is also my Android undertaking, soclick on Search for that 1.

Here's AndroidStudioProjects, so I'm just gonna pick that.

We are gonna click Okay.

We are also gonna insert a little something to listed here, we're gonna add the identify on the folderwe're gonna use for this project.

I'm just gonna get in touch with it /exam In order that'swhere it'll publish the information.

And so the name I am just intending to, It is really goingto be quite easy: My To start with Activity.

Offer, I have never really bought time inthis online video to talk about offers, it just really should be a little something unique.

I will address packages in One more online video.

In video game lessons, the First activity classthat is executed If the undertaking starts off, when the sport starts off, sowe'll look at that later on.

So for now, also keep in mind that someprojects are there because libGDX is cross-System, it workson all Individuals platforms.

I'm gonna just take the ticks off allthose inferior platforms, I'm kidding.

And just depart Android on.

So now when it comes to extensions, if you don't know what these are definitely, you may just hover your mouse overthere and you'll get some help.

So Bullet just to provide you with a bit ofan overview can be a physics library.

Free of charge Tarp is a light-weight fonts Instrument, so it does, type of will save the House typicallyassociated with bitmap fonts.

Tools provides such things as texturepackers and the chance to produce fonts.

Controllers is forjoysticks and recreation pads.

Box2d is usually a second physics library, and Box2dlights is lights and shadows for that 2D physics library.

Ashley can be an entity framework.

And previous, but not at all minimum, AI is the artificial intelligence Framework that is certainly now partof GDX as an extension.

You can also click display third partyextensions and seize one of those or one or more of All those matters dependingon what comes up too.

And you may see that these aren'tmaintained via the libGDX crew.

I would do this now.

So I'm essentially gonna deselect every little thing, but you'll normally have Box2d picked.

I'm gonna depart that each one like that.

So after we have performed that, we can go into Advanced if we want to, but we won't should.

But only to explain to you what it looks like, that is should you be using Eclipse, or A few other setup.

But we are not performing that.

We're making use of Android Studio.

So to do that now, all we have to do is click on Deliver.

Now this can perhaps pop up on yoursystem if you have a more recent Variation of Android constructed resources.

Potentially, during the past video clip I downloaded the most recent Model which wassort of in advance of the discharge of GDX.

Generally you are ok you are able to try this.

If you probably did have difficultyyou can go back And correct that if you must andby downloading a preceding version.

Lock With all the IPA, we're applying IPAlevel 21 which happens to be Android Lollipop.

They haven't tested it completely with libGDX, but with Having said that it'll be Okay, however, if you did have a dilemma you couldalways go back and regenerate it and just form of downloada preceding Edition to start with.

But I'll click on onyes while to implement the two.

You could see around the display screen below it's notdownloading the pertinent information in bits and parts that it desires tocreate this undertaking.

And so the length of time it's going to take and the dimensions of downloads are going to be dependenton the options you've picked.

In order to see I deselectedthe sub projects and I've deselected every one of the extensionsjust to save a certain amount of time.

So I'll pause the video clip in this article andwait until eventually this finishes and we are going to go on by importing thisproject into Android Studio.

Okay, can not very see because haven'tgot a lot of display screen housing right here however it has truly finished if I scrollup you could see Establish prosperous.

So at this point we are now done withthe libGDX challenge generator, so I will near that down.

Return to Android Studiowhich I have left open up.

And we go back to the key options ormain menu.

You should select importantnon Android Studio task.

We have that.

We have to navigate to the folderthat just established it and naturally that was my home folder, Android Studio jobs examination.

So I'm just planning to click take a look at, and click Alright.

This concept may possibly ormay not arrive up for yourself.

If it does, click Okay, because it's okay, and Android Studio [INAUDIBLE]grade will upgrade routinely.

So at this point now it's likely tostill do a bit far more analysis of the task and download the suitable documents it needsto create an Android Studio venture.

Now Take into account listed here that what It is doingis It really is importing the game framework.

You know, The essential skeleton code thatwe've made into Android Studio.

But it surely's executing it in the exact same folder.

So it's actually not generating A different folder.

When you recall we developed, we produced the project in that folder, Android Studio Initiatives 4 slash test.

It's building an infrastructurearound that, in that very same folder.

Click Sure the language stage changes.

And It is just a subject of leavingthis to complete and do its thing.

Now it might choose a number of minutes.

It could acquire a substantial amount of time.

The first time you open up a venture.

But once It is really done you are able to edit itnormally as you'd probably every other android studio job.

So I'm just about to pause the videonow till This can be accomplished.

Alright, shouldn't be way too a lot longer now.

So all over again, the first time you dothis usually takes really a while just to update and download and do no matter what else it should just do toget that challenge into Android Studio.

That may be a the moment only process.

So we will just wait forthis to finish off, and afterwards I am going to just promptly endure Justto show you some bits and pieces.

Not quite a bit to indicate, but mainly againthis is simply the skeleton code for libgdx.

On this stage ahead, you may startcreating your code in Android Studio.

And making a game andrunning the sport by using the emulator, or via a physical Android deviceif you've 1 related.

All right you may see It truly is concluded now sodo give it lots time.

It does get some time to complete, but it is a the moment only procedure.

First regarding a few of the folders.

You could see the standardAndroid manifest data files there, Java data files, means, and so on asyou would Commonly see in a challenge.

The aspect I would like to provide you with is inthe Main, and you will see, all over again, this is the package deal we choose, the class that we elect, and that is the class that receives known as orexecuted on the sport begin.

In such cases It really is just setup by defaultbecause of some skeleton code to indicate the negative logic jpeg onscreen.

Making sure that's it.

And we are performed.

Dusted, complete and entirely setup.

So libGDX is now readyto go on your device.

Please now subscribe to my channel.

Click the subscribe button to your lefthand facet, and you will be saved current.

With new videos as I launch them.

If you have a second also, can I talk to you to definitely make sure you Test outmy Android Advancement Training course.

Over twenty five several hours of video clip teaching, exhibiting you how to becomea better Android developer.

Be at liberty also to peruse some ofthe videos there to my remaining hand aspect, and seriously get you a really feel, so to speak, of far more Android application goodness.

Last, but in no way least, make sure you touch upon this movie, allow me to determine what you thought of it, butalso be sure to give me some comments of Anything you'd adore in the duvet inside the futurevideo and I'd to just do that, to cover as several as People requestsas I am able to in the future movies.

That is Tim Buchalka, the Aussie Android dev person signing off andI'll see you in An additional video clip.

Cheers for now.

.