libgdx installation and setup for android studio on a linux box |
Posted: May 19, 2020 |
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] Nicely g'day, g'day. It's Tim Buchalka, the Aussie AndroidDev Person, listed here with Yet one more video. This time we are establishing and installinglibGDX which is a video game framework employing Android, Android Studio for Linux. Now, should you be managing a Mac or possibly a Windowsmachine, click on the one-way links above to my remaining and you will be taken to the videowhere I explain to you how to do this with your System, but again thisvideo is about configuring and organising LibGDX, a game framework, using Android Studio for Linux. Let us enter into it. Alright, so let us do a lookup forLibGDX Then goes with the 1st final result, that's libgdx. badlogicgames. com. And click on on that. And at the time we are there we're gonna go tothe down load, click on Download and choose Download Set up Application. And I'm gonna help you save that. It is quite a little file. You'll be able to see it's now downloaded. So we are now gonna open that file. I'm gonna double click on it. Now if that does not get the job done, depending onthe way your Linux machine is configured, that may or may not work. If double clicking it doesn'topen this for your personal instantly, then what you are able to do, andremember we're within the downloads folders. I am able to go back and open a terminal. Going to the Downloads folder and I can type JA sorry Java- jar GDX- setup. Jar and that will open up it up like that. So In any case a kind of should actuallywork in your case so I'm just heading to go back and close the terminal down nowThen go back and double click it. Alright, so, now we've got several thingsto do right here so we must know the identify, the package deal, the game classdestination as well as the Android SDK. Now This is actually the LibGDX Undertaking Generator, so the thought of This is often it generates the task, the shell, if youwill On the code that you choose to will need to be able to use libGDX, so use this toolonce to develop the undertaking and from then on you edit it andcreate your recreation utilizing Android Studio. So This is actually the shell. Just what exactly we have to know. We want a few items. We must know the destinationwhere we are gonna preserve the project. And also the Android SDK. The best way to locate the Android SDKis to return into Android Studio And just get that link that we experienced. So We will open up Android Studiocause you will remember in case you followed along in your house inside the prior movie whereI build Android Studio, we went in and setup and Situated the proper treewhere the Android SDK is deployed. A different thing we are going to don't forget whilewe're Here's the house folder. So we are storing our projectsin Android Studio Jobs. So we need to bear in mind for the reason that we'regoing to become Placing our challenge in there. So I'll shut down the undertaking, The existing undertaking. Then I will return to right here. Then you certainly'll go into configure. Challenge defaults, task construction. This is our android STK spot. So, I'm going to take a duplicate of that and I'm going to paste thatinto one other app. I'm going to terminate the monitor for now. Return to our generator, after which in below underneath android STK I'mgoing to stick that route in. The destination, don't forget, was the home folder. And it is my Android project, soclick on Look through for that 1. Here's AndroidStudioProjects, so I'm just gonna find that. We are gonna click Okay. We are also gonna insert something to here, we're gonna add the title of the folderwe're gonna use for this job. I am just gonna get in touch with it /exam Making sure that'swhere it may generate the information. Therefore the identify I am just intending to, It really is goingto be rather easy: My 1st Sport. Offer, I have never definitely got time inthis online video to discuss offers, it just needs to be anything distinctive. I'll handle packages in A different online video. In sport lessons, the initial activity classthat is executed If the undertaking starts, when the sport begins, sowe'll mention that afterwards. So for now, also Remember that someprojects are there simply because 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 go away Android on. So now in terms of extensions, if you don't know what these are typically, you could just hover your mouse overthere and you will get some support. So Bullet just to provide you with a tad ofan overview is really a physics library. Cost-free Tarp is a light-weight fonts Resource, so it does, sort of will save the House typicallyassociated with bitmap fonts. Instruments provides you with things like texturepackers and the chance to deliver fonts. Controllers is forjoysticks and video game pads. Box2d can be a second physics library, and Box2dlights is lights and shadows for that 2nd physics library. Ashley is undoubtedly an entity framework. And final, but not at all minimum, AI is the artificial intelligence Framework that's now partof GDX being an extension. You may also click on demonstrate 3rd partyextensions and get a kind of or one or more of These things dependingon what will come up as well. And you may see that these aren'tmaintained with the libGDX workforce. I would do that now. So I'm truly gonna deselect anything, but you would probably normally have Box2d picked. I'm gonna depart that all like that. So once we've performed that, we will go into Advanced if we wish to, but we can't have to. But just to provide you with what it appears like, that is if you are utilizing Eclipse, or Several other set up. But we're not accomplishing that. We are employing Android Studio. So to do this now, all we must do is click Make. Now this could possibly pop up on yoursystem if you've a More moderen Model of Android created equipment. Probably, in the earlier video clip I downloaded the newest Model which wassort of in advance of the discharge of GDX. Generally you are okay it is possible to Do this. If you did have difficultyyou can return And fix that if you have to andby downloading a previous Variation. Lock with the IPA, we are using IPAlevel 21 which happens to be Android Lollipop. They have not tested it thoroughly with libGDX, but with that said it should be ok, however, if you did have a challenge you couldalways return and regenerate it and just form of downloada earlier version to start with. But I'll click onyes although to make use of both of those. You may see around the display under It is really notdownloading the appropriate data files in bits and parts that it demands tocreate this task. And so the period of time it will require and the size of downloads will probably be dependenton the choices you've picked. So you're able to see I deselectedthe sub jobs and i have deselected all of the extensionsjust to save a little time. So I'll pause the online video below andwait until eventually this finishes and we'll carry on by importing thisproject into Android Studio. All right, can not rather see for the reason that haven'tgot plenty of display screen real-estate below but it really has in fact finished if I scrollup you are able to see Construct profitable. So at this stage we're now done withthe libGDX venture generator, so I'll close that down. Return to Android Studiowhich I've remaining open. And we go back to the key choices ormain menu. You should decide on importantnon Android Studio project. We have got that. We need to navigate on the folderthat just produced it and naturally that was my property folder, Android Studio jobs take a look at. So I am just likely to click on exam, and click on Alright. This information may perhaps ormay not appear up for yourself. If it does, simply click Alright, since it's all right, and Android Studio [INAUDIBLE]grade will update routinely. So at this stage now It really is likely tostill do a bit a lot more Investigation from the job and obtain the relevant documents it needsto create an Android Studio challenge. Now Remember below that what it's doingis It really is importing the game framework. You are aware of, the basic skeleton code thatwe've designed into Android Studio. But it surely's undertaking it in the identical folder. So it is not developing A further folder. When you recall we developed, we generated the task in that folder, Android Studio Initiatives four slash take a look at. It is creating an infrastructurearound that, in that very same folder. Click on Indeed the language degree changes. And It really is merely a matter of leavingthis to complete and do its issue. Now it would take various minutes. It may well just take quite a bit of time. The first time that you choose to open up a job. But when It really is performed you could edit itnormally as you'd probably some other android studio project. So I am just intending to pause the videonow until finally This is often concluded. Alright, shouldn't be far too a lot longer now. So once again, the first time you dothis will take really a while simply to update and down load and do whatever else it has to just do toget that task into Android Studio. That could be a after only approach. So we will just wait forthis to complete off, after which I am going to just rapidly endure Justto demonstrate some bits and parts. Not a good deal to show, but in essence againthis is just the skeleton code for libgdx. On this level ahead, it is possible to startcreating your code in Android Studio. And making a match andrunning the game through the emulator, or through a physical Android deviceif you have one particular related. Okay you may see It truly is completed now sodo give it a great deal time. It does choose some time to finish, but it's a the moment only course of action. To start with concerning a number of the folders. You'll be able to see the standardAndroid manifest data files there, Java files, means, and so forth asyou would normally see in a undertaking. The component I would like to show you is inthe Main, and you can see, again, this is the bundle we decide, the class that we elect, and that is the course that gets called orexecuted on the game start off. In cases like this It truly is just set up by defaultbecause of some skeleton code to indicate the bad logic jpeg onscreen. Making sure that's it. And we are carried out. Dusted, entire and totally put in place. So libGDX has become readyto go with your machine. You should now subscribe to my channel. Click on the subscribe button for the lefthand side, and you will be retained up-to-date. With new video clips as I release them. If you've got a second also, can I check with you to you should Test outmy Android Improvement Study course. Over 25 several hours of video clip coaching, demonstrating you how to becomea better Android developer. Be at liberty also to peruse some ofthe video clips there to my left hand facet, and genuinely get you a truly feel, so to speak, of extra Android app goodness. Previous, but by no means the very least, remember to comment on this movie, let me really know what you considered it, butalso please give me some feed-back of Anything you'd really like in the duvet in the futurevideo And that i'd to just do that, to address as many as People requestsas I can Down the road video clips. This is often Tim Buchalka, the Aussie Android dev male signing off andI'll see you in Yet another video. Cheers for now. .
|
||||||||||||||||
|