Learning LibGDX Game Development - Second Edition

Packt Publishing Ltd
6
Free sample

This book is aimed at indie and existing game developers as well as those who want to get started with game development using LibGDX. Basic knowledge of Java programming and game development is required.
Read more

About the author

Suryakumar Balakrishnan Nair is an engineering graduate from Cochin University of Science and Technology, Cochin, India with a specialization in computer science. He just loves programming and likes to keep on experimenting. He has designed a dozen games on the Android platform using LibGDX. He loves traveling and visiting various places. He reads articles and books on a range of issues from politics to environment. He is currently working as a full-time Android game developer for an Indian game company, Csharks (http://csharks.com/site/).; Andreas Oehlke is a professional software engineer and computer scientist who feels very much at home on any Linux/UNIX machine. He holds a bachelor's degree in Computer Science and loves to assemble and disassemble software and hardware alike. The exorbitant affinity for electronics and computers has always been his trademark. His hobbies include game and web development, programming in general (software design and new languages), programming embedded systems with microcontrollers, playing sports, and making music. He currently works full time as a software engineer for a German financial institution. Furthermore, he has worked as a consultant and game developer in San Francisco, CA. In his spare time, he provides his expertise to a German start-up called Gamerald (http://www.gamerald.com/).
Read more
3.8
6 total
Loading...

Additional Information

Publisher
Packt Publishing Ltd
Read more
Published on
Jan 28, 2015
Read more
Pages
478
Read more
ISBN
9781783554782
Read more
Language
English
Read more
Genres
Computers / Intelligence (AI) & Semantics
Computers / Programming / Games
Computers / Programming Languages / Java
Read more
Content Protection
This content is DRM free.
Read more
Read Aloud
Available on Android devices
Read more

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
Learn how to create your very own game using the libGDX cross-platform frameworkAbout This BookLearn the core features of libGDX to develop your own exciting gamesExplore game development concepts through example projectsTarget games for major app stores quickly and easily with libGDX's cross-platform functionalityWho This Book Is For

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.

Design and create video games using Java, with the LibGDX software library. By reading Beginning Java Game Development with LibGDX, you will learn how to design video game programs and how to build them in Java. You will be able to create your own 2D games, using various hardware for input (keyboard/mouse, gamepad controllers, or touchscreen), and create executable versions of your games. The LibGDX library facilitates the game development process by providing pre-built functionality for common tasks. It is a free, open source library that includes full cross-platform compatibility, so programs written using this library can be compiled to run on desktop computers (Windows/MacOS), web browsers, and smartphones/tablets (both Android and iOS).
Beginning Java Game Development with LibGDX teaches by example with many game case study projects that you will build throughout the book. This ensures that you will see all of the APIs that are encountered in the book in action and learn to incorporate them into your own projects. The book also focuses on teaching core Java programming concepts and applying them to game development.

What You Will LearnHow to use the LibGDX framework to create a host of 2D arcade game case studies
How to compile your game to run on multiple platforms, such as iOS, Android, Windows, and MacOS
How to incorporate different control schemes, such as touchscreen, gamepad, and keyboard

Who This Book Is ForReaders should have an introductory level knowledge of basic Java programming. In particular, you should be familiar with: variables, conditional statements, loops, and be able to write methods and classes to accomplish simple tasks. This background is equivalent to having taken a first-semester college course in Java programming.
©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.