This book is intended for those who wish to learn the concepts of game development using libGDX. An understanding of Java and other programming languages would definitely be helpful, although it is not a must.What You Will LearnCreate and configure a libGDX project to get started with making gamesGet to grips with a simple game loop that will drive your gamesManage game assets to reduce code duplication and speed up developmentPack game assets together into single assets to increase your game's performanceDisplay textures on the screen and manipulate them with play inputPlay various types of sounds that a game can generateDesign and modify a game user interface with libGDX's built-in toolsDevelop a game that will run across various platformsIn Detail
LibGDX is a cross-platform game development framework in Java that makes game programming easier and fun to do. It currently supports Windows, Linux, Mac OS X, Android, and HTML5.
With a vast feature set on offer, there isn't a game that can't be made using libGDX. It allows you to write your code once and deploy it to multiple platforms without modification. With cross-platform delivery at its heart, a game can be made to target the major markets quickly and cost effectively.
This book starts with a simple game through which the game update cycle is explained, including loading textures onto your screen, moving them around, and responding to input. From there you'll move on to more advanced concepts such as creating a formal game structure with a menu screen, adding a game screen and loading screen, sprite sheets, and animations. You'll explore how to introduce a font to optimize text, and with the help of a game that you'll create, you'll familiarise yourself with the 2D tile map API to create worlds that scroll as the characters move.
In the final sample game of the book, you'll implement a basic version of an Angry Birds clone, which will allow you to use the physic library box2D that libGDX provides access to. An overview of exporting games to different platforms is then provided.
Finally, you will discover how to integrate third-party services into games and take a sneak peak at the Social Media API to get a basic understanding of how it fits into the libGDX ecosystem.Style and approach
With this book you'll learn game development with libGDX through example game projects. You'll finish the book with a thorough understanding of libGDX game development, along with completed games that you'll have built yourself.
I sailed from Deptford, April 9th, 1772, but got no farther than Woolwich, where I was detained by easterly winds till the 23d, when the ship fell down to Long Reach, and the next day was joined by the Adventure. Here both ships received on board their powder, guns, gunners' stores, and marines.
On the 10th of May we left Long Reach, with orders to touch at Plymouth; but in plying down the river, the Resolution was found to be very crank, which made it necessary to put into Sheerness in order to remove this evil, by making some alteration in her upper works. These the officers of the yard were ordered to take in hand immediately; and Lord Sandwich and Sir Hugh Palliser came down to see them executed in such a manner as might effectually answer the purpose intended.
On the 22d of June the ship was again completed for sea, when I sailed from Sheerness; and on the 3d of July joined the Adventure in Plymouth Sound. The evening before, we met, off the Sound, Lord Sandwich, in the Augusta yacht, (who was on his return from visiting the several dock-yards,) with the Glory frigate and Hazard sloop. We saluted his lordship with seventeen guns; and soon after he and Sir Hugh Palliser gave us the last mark of the very great attention they had paid to this equipment, by coming on board, to satisfy themselves that every thing was done to my wish, and that the ship was found to answer to my satisfaction.
At Plymouth I received my instructions, dated the 25th of June, directing me to take under my command the Adventure; to make the best of my way to the island of Madeira, there to take in a supply of wine, and then proceed to the Cape of Good Hope, where I was to refresh the ships' companies, and to take on board such provisions and necessaries as I might stand in need of. After leaving the Cape of Good Hope, I was to proceed to the southward, and endeavour to fall in with Cape Circumcision, which was said by Monsieur Bouvet to lie in the latitude of 54° S. and in about 11° 20' E. longitude from Greenwich. If I discovered this cape, I was to satisfy myself whether it was a part of the continent which had so much engaged the attention of geographers and former navigators, or a part of an island. If it proved to be the former, I was to employ myself diligently in exploring as great an extent of it as I could, and to make such notations thereon, and observations of every kind, as might be useful either to navigation or commerce, or tend to the promotion of natural knowledge. I was also directed to observe the genius, temper, disposition, and number of the inhabitants, if there were any, and endeavour, by all proper means, to cultivate a friendship and alliance with them; making them presents of such things as they might value; inviting them to traffic, and shewing them every kind of civility and regard. I was to continue to employ myself on this service, and making discoveries either to the eastward or westward, as my situation might render most eligible; keeping in as high a latitude as I could, and prosecuting my discoveries as near to the South Pole as possible, so long as the condition of the ships, the health of their crews, and the state of their provisions, would admit of; taking care to reserve as much of the latter as would enable me to reach some known port, where I was to procure a sufficiency to bring me home to England. But if Cape Circumcision should prove to be part of an island only, or if I should not be able to find the said Cape, I was in the first case to make the necessary survey of the island, and then to stand on to the southward, so long as I judged there was a likelihood of falling in with the continent, which I was also to do in the latter case, and then to proceed to the eastward in further search of the said continent, as well as to make discoveries of such islands as might be situated in that unexplored part of the southern hemisphere; keeping in high latitudes, and prosecuting my discoveries, as above mentioned, as near the pole as possible until I had circumnavigated the globe; after which I was to proceed to the Cape of Good Hope, and from thence to Spithead.
To put an end to all diversity of opinion about a matter so curious and important, was his majesty's principal motive in directing this voyage to be undertaken, the history of which is now submitted to the public.
But, in order to give the reader a clear idea of what has been done in it, and to enable him to judge more accurately, how far the great object that was proposed, has been obtained, it will be necessary to prefix a short account of the several voyages which have been made on discoveries to the Southern Hemisphere, prior to that which I had lately the honour to conduct, and which I am now going to relate.