3 options
LibGDX game development by example : learn how to create your very own game using the LibGDX cross-platform framework / James Cook.
- Format:
- Book
- Author/Creator:
- Cook, James, 1983- author.
- Series:
- Community experience distilled.
- Community Experience Distilled
- Language:
- English
- Subjects (All):
- Video games--Design.
- Video games.
- Video games--Programming.
- Physical Description:
- 1 online resource (280 p.)
- Edition:
- 1st edition
- Other Title:
- Learn how to create your very own game using the LibGDX cross-platform network
- Place of Publication:
- Birmingham, England ; Mumbai, India : Packt Publishing, 2015.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Learn how to create your very own game using the libGDX cross-platform framework About This Book Learn the core features of libGDX to develop your own exciting games Explore game development concepts through example projects Target games for major app stores quickly and easily with libGDX's cross-platform functionality Who 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 Learn Create and configure a libGDX project to get started with making games Get to grips with a simple game loop that will drive your games Manage game assets to reduce code duplication and speed up development Pack game assets together into single assets to increase your game's performance Display textures on the screen and manipulate them with play input Play various types of sounds that a game can generate Design and modify a game user interface with libGDX's built-in tools Develop a game that will run across various platforms In 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 in...
- Contents:
- ""Cover""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Getting to Know LibGDX""; ""Introducing LibGDX""; ""Setting up LibGDX""; ""Creating a project""; ""What is Gradle?""; ""Importing a project""; ""Summary""; ""Chapter 2: Let's Get These Snakes Out of This Book!""; ""Why Snake?""; ""Game update cycle""; ""Texture rendering""; ""The batch class""; ""The texture class""; ""The dispose() method""; ""Introducing Sammy the snake""; ""Giving the snake a face""; ""Moving Sammy the snake""
- ""Controlling Sammy with event polling""""Adding the apple""; ""Increasing the length of the snake""; ""Summary""; ""Chapter 3: Making That Snake Slick""; ""Introducing the ShapeRenderer class""; ""Adding the ShapeRenderer class""; ""Drawing with the ShapeRenderer class""; ""Final thoughts on the ShapeRenderer class""; ""More on collisions""; ""Stopping the doubleback""; ""Colliding with the body""; ""The state of the game""; ""Adding a state""; ""Player feedback""; ""Restart your engines!""; ""High scores""; ""Handling different screen sizes""; ""Introducing the Viewport""
- ""Using the Viewport""""Summary""; ""Chapter 4: What the Flap Is the Hype About?""; ""Why Flappy Bird?""; ""The project setup""; ""Setting up the GameScreen class""; ""Creating Flappee Bee""; ""Flappee Bee""; ""Flapping Flappee""; ""Flower power obstacles""; ""Collisions""; ""Scoring""; ""Adding textures and animations""; ""GUI creation with Scene2D""; ""The Stage class""; ""The Actor class""; ""The Start screen and disposal""; ""The dispose() method""; ""Summary""; ""Chapter 5: Making Your Bird More Flightworthy""; ""Let's load up them assets!""; ""Implementing the AssetManager parameter""
- ""Loading the loading screen!""""Packing textures""; ""Measuring the impact""; ""The GDX-tools TexturePacker""; ""Using the texture atlas""; ""I need a Hiero!""; ""What is Hiero?""; ""Summary""; ""Chapter 6: Onto the Next Platform...Game""; ""Why and what is a platformer?""; ""Introducing Pete the platformer""; ""Game reuse""; ""Tile maps - mapping all over the world!""; ""Introducing Tiled""; ""Creating a new map""; ""The LibGDX Tile Map API""; ""Introducing Pete""; ""Adding our character""; ""Making Pete jump!""; ""Adding our artwork""; ""Collision detection""; ""Adding a collectable""
- ""Summary""""Chapter 7: Extending the Platform""; ""Increasing the level""; ""Resizing the Map""; ""Allowing Pete to leave the screen""; ""The camera sees it all""; ""Let's make some noise""; ""Sound effects""; ""Music""; ""If Pete jumps in the game, does anyone hear him?""; ""Summary""; ""Chapter 8: Why Are All the Birds Angry?""; ""The what, why, and how of Angry Birds""; ""Why?""; ""How?""; ""Setting up LibGDX with Box2D""; ""Code reuse""; ""Box2D with LibGDX""; ""Box2D concepts""; ""Creating a world!""; ""Nutty Birds""; ""Let's get tiling!""; ""The groundwork""; ""Adding objects""
- ""Importing the tile map""
- Notes:
- Includes index.
- Includes bibliographical references and index.
- Description based on online resource; title from PDF title page (ebrary, viewed September 18, 2015).
- ISBN:
- 9781785288845
- 1785288849
- OCLC:
- 922580647
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.