Skip to main content
  • Book
  • © 2018

Java Game Development with LibGDX

From Beginner to Professional

Apress

Authors:

  • Learn to apply Java programming concepts to video game development
  • Create 12 video game prototypes across a variety of genres
  • Join the growing LibGDX user community with hundreds of GitHub contributors

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (17 chapters)

  1. Front Matter

    Pages i-xix
  2. Fundamental Concepts

    1. Front Matter

      Pages 1-2
    2. Getting Started with Java and LibGDX

      • Lee Stemkoski
      Pages 3-14
    3. The LibGDX Framework

      • Lee Stemkoski
      Pages 15-37
    4. Extending the Framework

      • Lee Stemkoski
      Pages 39-81
    5. Shoot-em-up games

      • Lee Stemkoski
      Pages 83-98
    6. Text and User Interfaces

      • Lee Stemkoski
      Pages 99-142
    7. Audio

      • Lee Stemkoski
      Pages 143-169
  3. Intermediate Examples

    1. Front Matter

      Pages 171-172
    2. Side-Scrolling Games

      • Lee Stemkoski
      Pages 173-187
    3. Bouncing and Collision Games

      • Lee Stemkoski
      Pages 189-205
    4. Drag-and-Drop Games

      • Lee Stemkoski
      Pages 207-226
    5. Tilemaps

      • Lee Stemkoski
      Pages 227-246
    6. Platform Games

      • Lee Stemkoski
      Pages 247-270
    7. Adventure Games

      • Lee Stemkoski
      Pages 271-296
  4. Advanced Topics

    1. Front Matter

      Pages 297-297
    2. Alternative Sources of User Input

      • Lee Stemkoski
      Pages 299-310
    3. Maze Games

      • Lee Stemkoski
      Pages 311-333
    4. Advanced 2D Graphics

      • Lee Stemkoski
      Pages 335-357
    5. Introduction to 3D Graphics and Games

      • Lee Stemkoski
      Pages 359-389

About this book

Learn to design and create video games using the Java programming language and the LibGDX software library. Working through the examples in this book, you will create 12 game prototypes in a variety of popular genres, from collection-based and shoot-em-up arcade games to side-scrolling platformers and sword-fighting adventure games. With the flexibility provided by LibGDX, specialized genres such as card games, rhythm games, and visual novels are also covered in this book. 


Major updates in this edition include chapters covering advanced topics such as alternative sources of user input, procedural content generation, and advanced graphics. Appendices containing examples for game design documentation and a complete JavaDoc style listing of the extension classes developed in the book have also been added.



What You Will Learn

  • Create 12 complete video game projects
  • Master advanced Javaprogramming concepts, including data structures, encapsulation, inheritance, and algorithms, in the context of game development
  • Gain practical experience with game design topics, including user interface design, gameplay balancing, and randomized content
  • Integrate third-party components into projects, such as particle effects, tilemaps, and gamepad controllers

Who This Book Is For


The target audience has a desire to make video games, and an introductory level knowledge of basic Java programming. In particular, the reader need only be familiar with: variables, conditional statements, loops, and be able to write methods to accomplish simple tasks and classes to store related data.



Reviews

“This second edition is a good introduction to game programming using LibGDX. … the book presents 12 video games for which source code can be downloaded from the publisher’s website. … this book is highly recommended for game developers who want to start using LibGDX in their projects.” (Hector Antonio Villa-Martinez, Computing Reviews, April 19, 2019)

Authors and Affiliations

  • DEPT OF MATH & CS, ADELPHI UNIVERSITY DEPT OF MATH & CS, Garden City, USA

    Lee Stemkoski

About the author

Lee Stemkoski is a professor of computer science and mathematics. He earned his Ph.D. from Dartmouth College in 2006.  He has been teaching at the college level since then, with an emphasis on Java programming, computer graphics, and video game development for the past eight years. He has refined the set of topics covered and the progression of material in this book based on years of experience helping students overcome their difficulties with these particular topics. He has authored another game development book, Game Development with Construct 2, in addition to many scholarly articles and game development tutorials.  

Bibliographic Information

  • Book Title: Java Game Development with LibGDX

  • Book Subtitle: From Beginner to Professional

  • Authors: Lee Stemkoski

  • DOI: https://doi.org/10.1007/978-1-4842-3324-5

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Lee Stemkoski 2018

  • Softcover ISBN: 978-1-4842-3323-8Published: 19 January 2018

  • eBook ISBN: 978-1-4842-3324-5Published: 17 January 2018

  • Edition Number: 2

  • Number of Pages: XIX, 433

  • Number of Illustrations: 19 b/w illustrations, 108 illustrations in colour

  • Topics: Game Development, Java

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access