O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Android Games with OpenGL ES

Video Description

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

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

  • 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.

    Table of Contents

    1. Chapter 1 : Getting Started with OpenGL ES
      1. Setting Up OpenGL ES in Eclipse 00:04:50
      2. Creating an OpenGL ES Environment 00:03:35
      3. Creating Your First Shaders 00:03:11
      4. Loading and Compiling the Shaders 00:03:19
    2. Chapter 2 : OpenGL ES Math
      1. OpenGL ES Matrix System 00:02:20
      2. Vector Math 00:02:27
      3. Projection Matrix and Camera View 00:03:49
      4. Transformation Matrix - Scale and Translate 00:02:10
      5. Transformation Matrix - Rotation and Final 00:03:01
      6. Theory - Quaternions 00:02:39
    3. Chapter 3 : Lighting
      1. Ambient Lighting 00:03:20
      2. Diffuse Lighting 00:02:51
      3. Specular Lighting 00:02:21
      4. Directional Light 00:03:25
      5. Point Light 00:02:08
      6. Spot Light 00:02:27
    4. Chpater 4 : Texturing
      1. Loading Textures 00:02:09
      2. Creating New Shaders for Texturing 00:02:53
      3. Drawing the Texture 00:01:48
      4. Texture Filtering 00:01:58
    5. Chapter 5 : Particle Systems
      1. Shaders for a Particle System 00:01:57
      2. Adding a Particle System 00:02:16
      3. Drawing the Particle System 00:01:35
      4. Customizing the Particles 00:01:50
    6. Chapter 6 : Breakout – Assets and UI
      1. Menu Screens 00:03:15
      2. Game Interface 00:02:32
      3. Creating the Bricks 00:02:03
      4. Creating the Ball and Paddle 00:03:10
      5. Sound Effects 00:01:27
    7. Chapter 7 : Breakout – Gameplay
      1. Ball Movement 00:01:45
      2. Paddle Input - Touch 00:01:42
      3. Paddle Input - Accelerometer 00:02:20
      4. Collisions - Broad Phase 00:04:52
      5. Collisions - Narrow Phase 00:01:43
      6. Scoring and Lives 00:02:27
    8. Chapter 8 : Breakout – Finishing Touches
      1. Creating a Local HighScores Table 00:02:48
      2. How to Publish Your Game 00:02:29
      3. Optimization Techniques 00:02:13
      4. How to Add In-app Purchases 00:03:52