1 Followers
26 Following
o4wkprb246

o4wkprb246

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.

[Songs] Very well g'day, g'day.

It's Tim Buchalka, the Aussie AndroidDev Man, here with One more online video.

This time we're starting and installinglibGDX and that is a match framework utilizing Android, Android Studio for Linux.

Now, should you be operating a Mac or possibly a Windowsmachine, click on the backlinks over to my still left and you'll be taken to some videowhere I show you how to do that on your own platform, but once again thisvideo is all about configuring and establishing LibGDX, a game framework, working with Android Studio for Linux.

Let us get into it.

Ok, so let's do a research forLibGDX Then goes with the first end result, that's libgdx.

badlogicgames.

com.

And click on on that.

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

And i am gonna help save that.

It is really pretty a small file.

You'll be able to see It is now downloaded.

So we are now planning to open up that file.

I am gonna double click on it.

Now if that does not function, depending onthe way your Linux machine is configured, that may or may not operate.

If double clicking it doesn'topen this to your routinely, then what you can do, andremember we are during the downloads folders.

I can go back and open a terminal.

Visiting the Downloads folder and I'm able to kind JA sorry Java- jar GDX- set up.

Jar and which will open it up like that.

So either way one of those should really actuallywork to suit your needs so I'm just heading to return and close the terminal down nowThen go back and double click it.

Ok, so, now We have some thingsto do in this article so we need to know the title, the offer, the sport classdestination as well as the Android SDK.

Now This can be the LibGDX Venture Generator, so the concept of This is often it generates the job, the shell, if youwill Of your code which you have to have in order to use libGDX, so use this toolonce to develop the job and from then on you edit it andcreate your match working with Android Studio.

So this is the shell.

Just what exactly we must know.

We want a couple of items.

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

But additionally the Android SDK.

The easiest way to discover the Android SDKis to return into Android Studio And just seize that website link that we experienced.

So We'll open Android Studiocause you will remember for those who followed alongside at your home in the past online video whereI create Android Studio, we went in and setup and Situated the right treewhere the Android SDK is deployed.

One more detail we'll try to remember whilewe're here is the home folder.

So we're storing our projectsin Android Studio Assignments.

So we have to keep in mind that for the reason that we'regoing to be putting our venture in there.

So I will close down the job, The present task.

Then I'm going to return to right here.

Then you definately'll go into configure.

Venture defaults, task structure.

This is our android STK location.

So, I'll take a duplicate of that and I will paste thatinto the opposite application.

I'm going to terminate the display screen for now.

Return to our generator, and then in listed here underneath android STK I'mgoing to stick that route in.

The spot, remember, was the home folder.

And is my Android project, soclick on Look through for that just one.

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

We're gonna click OK.

We're also gonna increase one thing to here, we are gonna add the identify on the folderwe're gonna use for this undertaking.

I'm just gonna get in touch with it /check So that'swhere it may compose the data files.

Therefore the name I'm just about to, It truly is goingto be pretty easy: My Initial Game.

Deal, I have not definitely bought time inthis online video to look at packages, it just needs to be something special.

I am going to deal with packages in another video clip.

In game classes, the initial match classthat is executed In the event the challenge starts, when the sport begins, sowe'll discuss that later.

So for now, also Take into account that someprojects are there because libGDX is cross-platform, it workson all All those platforms.

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

And just go away Android on.

So now concerning extensions, if you do not know what these are typically, you may just hover your mouse overthere and you will get some enable.

So Bullet just to give you a bit ofan overview is a physics library.

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

Instruments offers you things like texturepackers and the opportunity to produce fonts.

Controllers is forjoysticks and sport pads.

Box2d can be a 2nd physics library, and Box2dlights is lights and shadows for that 2nd physics library.

Ashley is surely an entity framework.

And very last, but by no means least, AI is the artificial intelligence Framework that is certainly now partof GDX as an extension.

You may also click on display 3rd partyextensions and get a type of or a number of of All those points dependingon what will come up as well.

And you'll see that these aren'tmaintained because of the libGDX staff.

I'd try this now.

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

I am gonna leave that each one like that.

So once we've finished that, we could go into Highly developed if we want to, but we can't should.

But simply to explain to you what it looks like, which is if you are utilizing Eclipse, or Several other setup.

But we are not undertaking that.

We are employing Android Studio.

So to try this now, all we must do is click Make.

Now this may possibly pop up on yoursystem if you have a Newer Model of Android built resources.

Perhaps, during the prior video I downloaded the most recent Model which wassort of ahead of the discharge of GDX.

Normally you are all right you'll be able to Do this.

If you probably did have difficultyyou can return And deal with that if you need to andby downloading a past Edition.

Lock Using the IPA, we're utilizing IPAlevel 21 and that is Android Lollipop.

They have not examined it completely with libGDX, but with that said it will be Alright, but when you probably did have a problem you couldalways go back and regenerate it and just form of downloada past Variation first.

But I'm going to click onyes while to implement both equally.

You could see around the monitor beneath It is notdownloading the applicable information in bits and pieces that it demands tocreate this challenge.

Therefore the length of time it takes and the size of downloads will probably be dependenton the choices you've got picked.

So that you can see I deselectedthe sub assignments and i have deselected all of the extensionsjust to avoid wasting a little time.

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

Ok, are unable to really see due to the fact haven'tgot lots of display screen real estate property in this article however it has truly finished if I scrollup it is possible to see Establish thriving.

So at this stage we're now finished withthe libGDX undertaking generator, so I'll near that down.

Go back to Android Studiowhich I've still left open.

And we return to the leading selections ormain menu.

You want to choose importantnon Android Studio job.

We have got that.

We have to navigate on the folderthat just designed it and naturally which was my residence folder, Android Studio assignments test.

So I am just intending to click take a look at, and click on Okay.

This message might ormay not arrive up for you.

If it does, click on Okay, as it's alright, and Android Studio [INAUDIBLE]grade will up grade automatically.

So at this point now It is heading tostill do a bit additional Examination on the undertaking and obtain the appropriate files it needsto produce an Android Studio undertaking.

Now keep in mind here that what It is doingis It is importing the game framework.

You recognize, the basic skeleton code thatwe've made into Android Studio.

Nonetheless it's executing it in precisely the same folder.

So it is not producing another folder.

When you recall we created, we generated the venture in that folder, Android Studio Jobs four slash examination.

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

Click Sure the language degree adjustments.

And It is simply a make a difference of leavingthis to complete and do its thing.

Now it'd get numerous minutes.

It might consider a substantial amount of time.

The very first time which you open up a task.

But once it's carried out you'll be able to edit itnormally as you should any other android studio task.

So I am just about to pause the videonow right up until this is accomplished.

Okay, shouldn't be much too much longer now.

So again, the first time you dothis may take really a while simply to update and obtain and do what ever else it must do just toget that challenge into Android Studio.

That may be a at the time only method.

So we will just hold out forthis to complete off, after which I am going to just swiftly endure Justto tell you about some bits and items.

Not a great deal to point out, but fundamentally againthis is just the skeleton code for libgdx.

On this level ahead, you are able to startcreating your code in Android Studio.

And creating a activity andrunning the sport via the emulator, or through a Bodily Android deviceif you've got 1 related.

All right you may see it's finished now sodo give it loads time.

It does consider some time to complete, but it's a once only process.

1st with regard to several of the folders.

It is possible to see the standardAndroid manifest files there, Java documents, resources, and so on asyou would Typically see in a very challenge.

The element I choose to tell you about is inthe Main, and you can see, yet again, Here is the offer we elect, The category that we decide, and that is the course that will get identified as orexecuted on the sport get started.

In such cases It can be just setup by defaultbecause of some skeleton code to show the terrible logic jpeg onscreen.

Making sure that's it.

And we are completed.

Dusted, complete and thoroughly create.

So libGDX has become readyto go on your device.

Remember to now subscribe to my channel.

Click on the subscribe button to your lefthand aspect, and you'll be retained updated.

With new video clips as I launch them.

If you have a moment also, can I talk to you to you should Look at outmy Android Progress Training course.

Over 25 several hours of movie teaching, exhibiting you the way to becomea much better Android developer.

Be at liberty also to peruse some ofthe movies there to my left hand facet, and genuinely get you a really feel, so to talk, of much more Android app goodness.

Past, but not at all least, remember to comment on this movie, let me know very well what you considered it, butalso please give me some comments of That which you'd really like in the quilt in the futurevideo and I'd to do just that, to deal with as lots of as All those requestsas I am able to Later on videos.

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

Cheers for now.

.