-Поиск по дневнику

Поиск сообщений в z2tnzpp071

 -Подписка по e-mail

 

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 30.03.2020
Записей: 16
Комментариев: 0
Написано: 16


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

Вторник, 19 Мая 2020 г. 22:45 + в цитатник

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.

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

It is Tim Buchalka, the Aussie AndroidDev Guy, here with yet another video.

This time we are starting and installinglibGDX which is a game framework applying Android, Android Studio for Linux.

Now, for anyone who is working a Mac or possibly a Windowsmachine, click the inbound links around to my left and you'll be taken into a videowhere I demonstrate how to do that on your own System, but once again thisvideo is all about configuring and establishing LibGDX, a video game framework, applying Android Studio for Linux.

Let's get into it.

Ok, so let us do a research forLibGDX Then goes with the initial end result, which can be libgdx.

badlogicgames.

com.

And click on that.

And at the time we're there we're gonna go tothe download, click on Down load and choose Obtain Set up App.

And I'm gonna save that.

It is really quite a small file.

You are able to see It can be now downloaded.

So we're now gonna open that file.

I am gonna double click it.

Now if that does not work, depending onthe way your Linux equipment is configured, that might or might not function.

If double clicking it doesn'topen this for your personal mechanically, then what you can do, andremember we're within the downloads folders.

I'm able to go back and open up a terminal.

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

Jar and that could open it up like that.

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

Okay, so, now We have got some thingsto do below so we need to know the name, the bundle, the game classdestination plus the Android SDK.

Now This is actually the LibGDX Job Generator, so the thought of this is it generates the job, the shell, if youwill In the code that you choose to want to have the ability to use libGDX, so use this toolonce to produce the undertaking and from then on you edit it andcreate your activity employing Android Studio.

So This can be the shell.

What exactly we must know.

We want a couple of issues.

We must know the destinationwhere we are gonna conserve the challenge.

But will also the Android SDK.

The easiest method to find the Android SDKis to return into Android Studio And just get that hyperlink that we had.

So we're going to open Android Studiocause you may remember in case you adopted along at your home during the former video whereI arrange Android Studio, we went in and put in place and Positioned the proper treewhere the Android SDK is deployed.

A different point we'll remember whilewe're Here's the home folder.

So we are storing our projectsin Android Studio Tasks.

So we need to take into account that simply because we'regoing to generally be Placing our job in there.

So I will shut down the undertaking, the current job.

Then I'm going to return to right here.

Then you certainly'll go into configure.

Project defaults, job framework.

Here is our android STK area.

So, I'm going to have a duplicate of that and I'll paste thatinto the other app.

I will terminate the display screen for now.

Go back to our generator, and after that in below below android STK I'mgoing to paste that route in.

The destination, bear in mind, was the house folder.

And is my Android task, soclick on Browse for that 1.

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

We're gonna click Okay.

We are also gonna increase one thing to listed here, we are gonna incorporate the identify in the folderwe're gonna use for this project.

I'm just gonna simply call it /exam So that'swhere it should write the files.

And so the name I am just about to, It can be goingto be rather uncomplicated: My To start with Sport.

Offer, I haven't really bought time inthis video to take a look at offers, it just must be something one of a kind.

I am going to handle offers in A further online video.

In game classes, the initial activity classthat is executed When the undertaking commences, when the game starts, sowe'll look at that afterwards.

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

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

And just leave Android on.

So now in terms of extensions, if you don't know what these are definitely, you'll be able to just hover your mouse overthere and you will get some support.

So Bullet just to provide you with a tad ofan overview is usually a physics library.

Free Tarp is a lightweight fonts tool, so it does, sort of saves the space typicallyassociated with bitmap fonts.

Instruments will give you things such as texturepackers and a chance to crank out fonts.

Controllers is forjoysticks and activity pads.

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

Ashley is an entity framework.

And final, but in no way least, AI is the artificial intelligence Framework that is certainly now partof GDX as an extension.

You can even click exhibit third partyextensions and grab a kind of or one or more of Individuals issues dependingon what will come up at the same time.

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

I would do this now.

So I'm truly gonna deselect everything, but you would probably Typically have Box2d picked.

I'm gonna go away that each one like that.

So at the time we've performed that, we are able to go into State-of-the-art if we want to, but we cannot must.

But in order to demonstrate what it appears like, that is should you be making use of Eclipse, or A few other set up.

But we're not carrying out that.

We're working with Android Studio.

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

Now this could quite possibly pop up on yoursystem if you've a More moderen Variation of Android built instruments.

Potentially, in the previous video clip I downloaded the most recent Edition which wassort of in advance of the discharge of GDX.

Typically you're all right you could try this.

If you did have difficultyyou can go back And take care of that if you need to andby downloading a prior version.

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

They have not examined it thoroughly with libGDX, but with that said it may be Alright, however, if you did have a difficulty you couldalways return and regenerate it and just form of downloada former Edition 1st.

But I'm going to click on onyes although to work with both equally.

You may see about the monitor under It really is notdownloading the pertinent documents in bits and parts that it demands tocreate this project.

And so the amount of time it will take and the dimensions of downloads will probably be dependenton the options you have chosen.

So that you can see I deselectedthe sub tasks and i have deselected the many extensionsjust to save a little bit of time.

So I'm going to pause the video right here andwait until eventually this finishes and we'll continue by importing thisproject into Android Studio.

All right, are not able to really see mainly because haven'tgot lots of display housing right here nevertheless it has in fact finished if I scrollup you can see build thriving.

So at this time we are now performed withthe libGDX venture generator, so I'm going to near that down.

Go back to Android Studiowhich I have remaining open.

And we go back to the most crucial possibilities ormain menu.

You wish to pick importantnon Android Studio venture.

We've got that.

We must navigate on the folderthat just designed it and naturally which was my household folder, Android Studio assignments check.

So I am just planning to click on test, and click on OK.

This concept may possibly ormay not come up in your case.

If it does, click on Okay, because it's ok, and Android Studio [INAUDIBLE]quality will up grade quickly.

So at this point now it's heading tostill do a little bit far more Evaluation of your project and obtain the related information it needsto generate an Android Studio task.

Now Consider in this article that what It is doingis It is really importing the game framework.

You are aware of, The essential skeleton code thatwe've designed into Android Studio.

But it's doing it in precisely the same folder.

So it isn't generating A further folder.

For those who remember we created, we generated the job in that folder, Android Studio Jobs four slash take a look at.

It truly is building an infrastructurearound that, in that same folder.

Click on yes the language stage changes.

And It really is simply a matter of leavingthis to finish and do its issue.

Now it'd just take several minutes.

It may just take a substantial amount of time.

The very first time that you simply open a project.

But at the time It is really done you'll be able to edit itnormally as you should any other android studio undertaking.

So I'm just gonna pause the videonow right up until this is completed.

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

So yet again, The very first time you dothis will take rather some time only to update and obtain and do whichever else it really should do just toget that job into Android Studio.

That may be a after only system.

So we'll just wait forthis to complete off, then I am going to just rapidly go through Justto teach you some bits and items.

Not lots to show, but in essence againthis is just the skeleton code for libgdx.

On this level forward, you could startcreating your code in Android Studio.

And making a activity andrunning the game by means of the emulator, or via a physical Android deviceif you've a single related.

Alright it is possible to see It is completed now sodo give it a great deal time.

It does get a while to complete, but it is a when only system.

Very first with regard to a number of the folders.

It is possible to begin to see the standardAndroid manifest files there, Java data files, methods, and so on asyou would Generally see inside a challenge.

The portion I choose to teach you is inthe Main, and you'll see, yet again, Here is the package we decide, the class that we decide, and that is the course that receives known as orexecuted on the sport commence.

In such cases It is really just set up by defaultbecause of some skeleton code to show the undesirable logic jpeg onscreen.

In order that's it.

And we are accomplished.

Dusted, comprehensive and fully set up.

So libGDX is now readyto go on the equipment.

Remember to now subscribe to my channel.

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

With new films as I launch them.

If you've a moment also, can I ask you to you should Look at outmy Android Progress Class.

Over 25 hours of movie education, demonstrating you ways to becomea greater Android developer.

Feel free also to peruse some ofthe movies there to my left hand facet, and seriously get you a experience, so to talk, of far more Android app goodness.

Final, but by no means least, you should touch upon this online video, allow me to know what you thought of it, butalso you should give me some feedback of Everything you'd appreciate in the quilt while in the futurevideo and I'd to do just that, to cover as quite a few as All those requestsas I am able to Sooner or later video clips.

This is certainly Tim Buchalka, the Aussie Android dev guy signing off andI'll see you in A further video.

Cheers for now.

.


 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку