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
Collapse

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
Collapse
3.8
6 total
Loading...

Additional Information

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

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.
Master the development of 2D games by learning to use the powerful GameMaker Language and tools provided by the GameMaker: Studio workspace and engine!About This BookRapidly develop games using the powerful yet easy easy-to to-use GameMaker: Studio engineComprehensive: This is a comprehensive guide to help you learn and implement GameMaker's features.Go through step-by-step tutorials to design and develop unique gamesWho This Book Is For

If you have at least some basic programming experience of JavaScript or any other C-like languages, then this book will be great for you. No experience beyond that is assumed. If you have no game development experience and are looking for a hobby, are an experienced game developer looking to master some advanced features, or fit anywhere in that spectrum, then you will find GameMaker: Studio and this book to be very useful in helping you create exciting games.

What You Will LearnUnderstand the GameMaker: Studio interface and tools to quickly create the various assets used in your gamesTranslate some of the GameMaker: Studio drag and drop functions to the GameMaker languageCreate games with random elements for exciting gameplayUse the basic GameMaker file I/O and encryption systemsUtilize the GameMaker networking functions to create multiplayer gamesGive AI routines to your enemies to make challenging gameplayCreate particle systems to give your game exciting graphicsUnderstand the various debugging techniques available in GameMaker: StudioIn Detail

This book is excellent resource for developers with any level of experience of GameMaker. At the start, we'll provide an overview of the basic use of GameMaker: Studio, and show you how to set up a basic game where you handle input and collisions in a top-down perspective game.

We continue on to showcase its more advanced features via six different example projects. The first example game demonstrates platforming with file I/O, followed by animation, views, and multiplayer networking. The next game illustrates AI and particle systems, while the final one will get you started with the built-in Box2D physics engine. By the end of this book, you have mastered lots of powerful techniques that can be utilized in various 2D games.

Style and approach

A This step-by-step guide that follows and with details ons different topics throughout the creation of various examples.

This is a Java textbook for beginning programmers that uses game programming as a central pedagogical tool to improve student engagement, learning outcomes, and retention. Game programming is incorporated into the text in a way that does not compromise the amount of material traditionally covered in a basic or advanced programming course and permits instructors who are not familiar with game programming and computer graphics concept to realize their advantages. The material presented in the book is in full compliance with the 2013 ACM/IEEE computer science curriculum guidelines and provides an in-depth discussion of graphical user interfaces (GUIs). It has been used to teach programming to student whose majors are within an outside of the computing fields. The companion DVD includes a game environment that is easily integrated into projects created with the popular Java Development Environments (Eclipse, NetBeans, and JCreator) and includes a set of executable student games to pique students’ interest by giving them a glimpse into their future capabilities. The material in this book can be covered within one or two courses such as a basic programming course followed by an advanced programming course.

Features: Uses an objects-early approach to learning Java. Follows the 2013 ACM/IEEE computer science curriculum guidelines Integrates game programming as central pedagogical tool to improve student engagement, learning outcomes, and retention Includes a companion DVD with projects created with the popular Java Development Environments; also includes a set of executable games, source code, and figures Uses working programs to illustrate concepts under discussion Complete instructor’s resource package available upon adoption
Develop four exciting, cross-platform games using LibGDX with increasing complexity and understand its key conceptsAbout This BookLearn how to make a complete game from scratch using the LibGDX frameworkDiscover different aspects of game development, optimize them, and implement them in your gamesThis is a comprehensive guide packed with concepts that are covered in an incremental mannerWho This Book Is For

If you have a good grip of Java and want to explore its capabilities in game development, this book is for you. Basic knowledge of LibGDX is preferred, but is not mandatory.

What You Will LearnSet up the development environment and implement a very simple game typeImplement new features such as motion, sounds, and randomness by implementing a new gameAdd music, physics, and menus to your gamesStart the creation of a platformer game and apply optimisation techniquesPerform collision detection and manage the game assetsRender game levels designed in the tool and add enemiesCreate multiple levels, enemy motion, and level transitions in the gameIn Detail

LibGDX is a very popular open source game framework for the Java programming language. It features deployment to multiple platforms with the same code base and it is very fast. Its vast amount of features makes it very easy to learn and master game development without knowing the low-level details.

LibGDX Cross-platform Development Blueprints teaches you the concepts of game development using the LibGDX framework as you make four complete games.

You'll start with setting up the environment, then move on to advanced concepts such as collision detection, memory optimization, and more. The first game is Monty Hall, where you'll learn how to set up LibGDX and use simple graphics. Then, you'll get to know more about concepts such as animation, game sounds, and scoring by developing a Whack a Mole game. This will set up the base for a Bounce the Ball game, where you'll get to grips with advanced concepts such as movements and collisions based on physics. Finally, the Dungeon Bob game will help you understand player motion.

This guide gives you everything you need to master game development with LibGDX.

Style and approach

This is an easy-to-understand guide, packed with examples and illustrations along the way. Complex areas are broken down into bite-size chunks and are explained in detail. The difficulty levels of games are built throughout the chapters.

Game designers spend their lives solving extraordinary problems and facing mind-bending paradoxes. It’s their job to make a meticulous plan for “spontaneous fun” players will want to experience over and over again. Pressure is heaped on with demands for innovation and blockbuster status. So designers find themselves facing an abyss of problems, pressure, and possibilities, armed only with their brains and an assortment of design principles they picked up over years of experience.

For the first time, 100 Principles of Game Design gathers some of the best of these big ideas into one toolkit. Seasoned designers will be glad they don’t have to hold it all in their heads anymore, and beginning design students can use the book to learn the tools of the trade. When the going gets tough, everyone can turn to this book for guidance, inspiration, or just to remind them of what works. Collected from every popular school of thought in game design, these core principles are organized by theme: innovation, creation, balancing, and troubleshooting.

• Includes advances from the world’s leading authorities on game design, some explained by the creators themselves
• A reference book of finite, individual principles for easy access, providing a jumping off point for further research
• Principles originating in fields as diverse as architecture, psychiatry, and economics, but shown here as they apply to game design
• Richly designed with illustrations and photos, making each principle easy to understand and memorable
• Timeless approach includes feedback loops, game mechanics, prototyping, economies of scale, user-centered design, and much more

Professional designers and instructors at one of the world’s leading game design institutions lay out the building blocks of diverse knowledge
required to design even the simplest of games.
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.
©2019 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.