Building Android Games with OpenGL ES [Video]

A comprehensive course exploring the creation of beautiful games with OpenGL ES

$34.00

RRP $39.99

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781783286133

Course Length1 hour 42 mins

About This Video

Create captivating games through creating simple and effective codes in Java

Develop a version of the classic game Breakout and see how to monetize it

Step-by-step instructions and theoretical concepts describe each activity before you implement them

Who This Video Is For

If you are looking for a course that will show you how to build Android games using OpenGL ES, you have found it! This video course is just what you need to build your own game for Android devices. All you need to do is sharpen your basic Java skills and you are ready to go.

Table of Contents

Getting Started with OpenGL ES

Setting Up OpenGL ES in Eclipse

Creating an OpenGL ES Environment

Creating Your First Shaders

Loading and Compiling the Shaders

OpenGL ES Math

OpenGL ES Matrix System

Vector Math

Projection Matrix and Camera View

Transformation Matrix - Scale and Translate

Transformation Matrix - Rotation and Final

Theory - Quaternions

Lighting

Ambient Lighting

Diffuse Lighting

Specular Lighting

Directional Light

Point Light

Spot Light

Texturing

Loading Textures

Creating New Shaders for Texturing

Drawing the Texture

Texture Filtering

Particle Systems

Shaders for a Particle System

Adding a Particle System

Drawing the Particle System

Customizing the Particles

Breakout – Assets and UI

Menu Screens

Game Interface

Creating the Bricks

Creating the Ball and Paddle

Sound Effects

Breakout – Gameplay

Ball Movement

Paddle Input - Touch

Paddle Input - Accelerometer

Collisions - Broad Phase

Collisions - Narrow Phase

Scoring and Lives

Breakout – Finishing Touches

Creating a Local HighScores Table

How to Publish Your Game

Optimization Techniques

How to Add In-app Purchases

What You Will Learn

Utilise shaders to render the objects in your game

Discover how to encode the math functions necessary for games, from matrices to vectors

Bring life to the scene through different types of lighting

Add textures to objects and spice up the environment with finer details

Make the bricks explode using the key functionalities of the particle systems

Link different activities together to navigate through the app and create other assets

Create the gameplay for Breakout through different input methodsand collision detection

Include a high scores table in your game and monetise your product on the Playstore

In Detail

OpenGL Embedding Systems (ES) is an open source, cross-platform API that provides a strong and viable interface for the stimulation of software and graphics for Android games. It paves the way to make a complete game for Android devices solely using the Android SDK. Being an open source API, OpenGL ES is completely free as opposed to other expensive game engine options.

This video course brings to you a great way to learn the use of OpenGL ES and create brilliant games while creating a framework for any future games that you would like to develop. It is enriched with the theoretical foundations of OpenGL ES along with ways to monetize your game so that you can potentially make money through the Play Store.

You will be introduced to the fundamentals of shaders and how they work in OpenGL, gradually moving into the intricacies of rendering a single cube and developing it to add different types of lighting and texturing. You will also see the implementation of particle effects to explode the cube. Finally, after playing with the key technicalities of building a game and developing the engine, you will put it all together to create the classic game from the 1970s, Breakout, and present it with an edge.

This video course is all about learning the ropes of making a fun game with your own engine, and then being able to create it yourself.

Authors

Amerigo Moscaroli

Amerigo Moscaroli is a junior game developer at Race Yourself, a game development company based in London, that deals with creating augmented reality fitness games for Google Glass. He has been an avid gamer since an early age, leading him to pursue a career developing video games. He has a first class Bachelor’s degree in Computer Games Programming from De Montfort University.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.