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.

[MUSIC] Well g'day, g'working day.

It is really Tim Buchalka, the Aussie AndroidDev Man, in this article with One more video.

This time we are creating and installinglibGDX that is a recreation framework employing Android, Android Studio for Linux.

Now, in case you are jogging a Mac or maybe a Windowsmachine, click the hyperlinks about to my left and you will be taken into a videowhere I show you how to try this on your System, but once more thisvideo is about configuring and putting together LibGDX, a game framework, utilizing Android Studio for Linux.

Let us enter into it.

Alright, so let us do a research forLibGDX Then goes with the main result, and that is libgdx.

badlogicgames.

com.

And click on that.

And once we're there we're gonna go tothe download, click on Down load and select Download Set up App.

And i am gonna conserve that.

It really is rather a small file.

It is possible to see It is really now downloaded.

So we are now about to open that file.

I am gonna double click it.

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

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

I'm 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 that could open it up this way.

So In any event a type of should really actuallywork for you so I am just likely to go back and shut the terminal down nowThen return and double click it.

Alright, so, now We have got a few thingsto do below so we have to know the name, the deal, the game classdestination as well as Android SDK.

Now this is the LibGDX Venture Generator, so the idea of this is it generates the challenge, the shell, if youwill Of the code that you just have to have to be able to use libGDX, so use this toolonce to create the venture and from then on you edit it andcreate your video game working with Android Studio.

So this is the shell.

So what we must know.

We need a few factors.

We must know the destinationwhere we're gonna help you save the task.

But will also the Android SDK.

The simplest way to find the Android SDKis to go back into Android Studio And just grab that connection that we experienced.

So We'll open Android Studiocause you can expect to remember in the event you adopted alongside in your own home in the former video clip whereI arrange Android Studio, we went in and arrange and Situated the proper treewhere the Android SDK is deployed.

One more issue we are going to try to remember whilewe're Here's the home folder.

So we're storing our projectsin Android Studio Projects.

So we need to bear in mind simply because we'regoing being putting our challenge in there.

So I'll shut down the task, the current venture.

Then I will go back to below.

Then you really'll go into configure.

Project defaults, task framework.

Here is our android STK location.

So, I'll have a copy of that and I'll paste thatinto the other app.

I will cancel the display screen for now.

Go back to our generator, and then in in this article underneath android STK I'mgoing to stick that route in.

The destination, try to remember, was the house folder.

And is particularly my Android job, soclick on Browse for that one.

This is AndroidStudioProjects, so I am just gonna pick out that.

We're gonna click on Alright.

We are also gonna insert one thing to here, we are gonna increase the name with the folderwe're gonna use for this task.

I'm just gonna phone it /test To ensure that'swhere it will create the information.

And so the title I am just likely to, it's goingto be really simple: My 1st Match.

Offer, I have never genuinely bought time inthis video clip to discuss offers, it just ought to be a thing one of a kind.

I am going to tackle offers in An additional movie.

In video game lessons, the Preliminary match classthat is executed Once the job begins, when the sport starts off, sowe'll discuss that later.

So for now, also Remember that someprojects are there since libGDX is cross-platform, it workson all All those platforms.

I am gonna just go ahead and take ticks off allthose inferior platforms, I am kidding.

And just depart Android on.

So now regarding extensions, if you don't know what these are typically, you could just hover your mouse overthere and you'll get some help.

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

Free of charge Tarp is a lightweight fonts Software, so it does, form of saves the House typicallyassociated with bitmap fonts.

Equipment offers you things such as texturepackers and the opportunity to produce fonts.

Controllers is forjoysticks and video game pads.

Box2d is actually a second physics library, and Box2dlights is lights and shadows for that second physics library.

Ashley is undoubtedly an entity framework.

And final, but not at all minimum, AI would be the synthetic intelligence Framework that's now partof GDX as an extension.

It's also possible to click on demonstrate 3rd partyextensions and grab a kind of or one or more of People points dependingon what arrives up in addition.

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

I might do that now.

So I am in fact gonna deselect almost everything, but you would normally have Box2d chosen.

I am gonna leave that all like that.

So at the time we've done that, we can go into Advanced if we wish to, but we can't have to.

But simply to show you what it appears like, that is if you are employing Eclipse, or Another setup.

But we're not undertaking that.

We're employing Android Studio.

So to do this now, all we need to do is click on Generate.

Now this tends to maybe pop up on yoursystem if you've a More moderen version of Android built resources.

Potentially, inside the earlier video I downloaded the most recent version which wassort of forward of the discharge of GDX.

Typically you're okay you are able to Do this.

If you probably did have difficultyyou can return And repair that if you need to andby downloading a prior Variation.

Lock with the IPA, we are making use of IPAlevel 21 that's Android Lollipop.

They have not analyzed it completely with libGDX, but with Having said that it is going to be ok, however, if you did have a problem you couldalways go back and regenerate it and just form of downloada previous version initially.

But I will simply click onyes although to utilize both of those.

You could see within the display screen below It truly is notdownloading the appropriate files in bits and items that it requires tocreate this project.

Therefore the length of time it requires and the size of downloads might be dependenton the choices you've selected.

So that you can see I deselectedthe sub tasks and i have deselected each of the extensionsjust to save lots of a certain amount of time.

So I'll pause the movie listed here andwait until finally this finishes and we will keep on by importing thisproject into Android Studio.

Alright, are unable to very see for the reason that haven'tgot a great deal of screen housing below but it surely has really concluded if I scrollup you'll be able to see build effective.

So at this stage we're now completed withthe libGDX challenge generator, so I will shut that down.

Go back to Android Studiowhich I have remaining open.

And we go back to the key possibilities ormain menu.

You wish to choose importantnon Android Studio project.

We have got that.

We must navigate towards the folderthat just produced it and naturally which was my house folder, Android Studio assignments examination.

So I am just intending to click check, and click on Okay.

This message could ormay not appear up for you.

If it does, click on OK, as it's all right, and Android Studio [INAUDIBLE]quality will improve mechanically.

So at this stage now It truly is heading tostill do a little bit far more Evaluation on the job and obtain the relevant files it needsto build an Android Studio task.

Now Bear in mind here that what It is really doingis It truly is importing the sport framework.

You are aware of, The fundamental skeleton code thatwe've produced into Android Studio.

But it really's undertaking it in the identical folder.

So it's not building One more folder.

When you remember we developed, we created the task in that folder, Android Studio Jobs 4 slash test.

It can be building an infrastructurearound that, in that same folder.

Click Indeed the language level improvements.

And It truly is only a make any difference of leavingthis to finish and do its thing.

Now it'd get numerous minutes.

It may take a large amount of time.

The 1st time which you open up a challenge.

But once it's performed you may edit itnormally as you would probably any other android studio project.

So I'm just gonna pause the videonow until This is certainly completed.

Alright, should not be as well a lot longer now.

So once more, The very first time you dothis will take really some time only to update and obtain and do whichever else it ought to do just toget that venture into Android Studio.

That is a the moment only system.

So we'll just wait around forthis to finish off, and afterwards I am going to just quickly go through Justto teach you some bits and pieces.

Not a good deal to indicate, but essentially againthis is just the skeleton code for libgdx.

On this level forward, it is possible to startcreating your code in Android Studio.

And developing a match andrunning the sport by way of the emulator, or by way of a physical Android deviceif you've 1 linked.

Ok it is possible to see It is really concluded now sodo give it loads time.

It does acquire some time to finish, but it is a at the time only procedure.

To start with regarding some of the folders.

You are able to begin to see the standardAndroid manifest information there, Java information, means, and so on asyou would normally see within a venture.

The element I wish to explain to you is inthe Main, and you'll see, once again, This can be the deal we decide, The category that we choose, and that's the course that gets termed orexecuted on the sport get started.

In such cases It can be just set up by defaultbecause of some skeleton code to indicate the bad logic jpeg onscreen.

Making sure that's it.

And we're accomplished.

Dusted, comprehensive and completely arrange.

So libGDX is now readyto go on the device.

Remember to now subscribe to my channel.

Click on the subscribe button for the lefthand aspect, and you will be stored up to date.

With new videos as I launch them.

If you've got a moment also, am i able to talk to you to you should Check out outmy Android Growth System.

In excess of 25 hours of video clip teaching, exhibiting you the way to becomea far better Android developer.

Be happy also to peruse some ofthe videos there to my left hand side, and seriously get you a sense, so to talk, of far more Android application goodness.

Last, but in no way the very least, please touch upon this online video, allow me to know very well what you considered it, butalso make sure you give me some suggestions of Anything you'd love in the quilt during the futurevideo And that i'd to do just that, to go over as lots of as These requestsas I can Later on video clips.

This is Tim Buchalka, the Aussie Android dev man signing off andI'll see you in An additional online video.

Cheers for now.

.