Learning Unity Android Game Development

Harness Unity for Android game development - follow this game development tutorial and learn how to build mobile games with the industry-leading game engine

Learning Unity Android Game Development

Learning
Thomas Finnegan

Harness Unity for Android game development - follow this game development tutorial and learn how to build mobile games with the industry-leading game engine
$18.00
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 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.

+ Collection
Free Sample

Book Details

ISBN 139781784394691
Paperback338 pages

Book Description

Unity 5 is a revolution in developing great games for Android that provides a great integration platform that works seamlessly with Unity 5, which means that games can be developed quicker and easier than ever before.

Packed with a lot of examples, this book starts by helping you to understand all the great features that Unity 5 and Android have to offer. You will then create great games like Tic-Tac-Toe and the Monkey Ball game and also learn to enhance them. You will then expand the game's environment with lights and a skybox and learn to create enemies in a tank battle game. You will then explore the touch and tilt controls with the creation of a Monkey Ball clone.

With the recreation of a game similar to Angry Birds, you will delve into configuring physics and options for a 2D game experience. Finally, you will get a complete experience by learning the optimization techniques needed to keep your games running smoothly.

Table of Contents

Chapter 1: Saying Hello to Unity and Android
Understanding what makes Unity great
Unity โ€“ the best among the rest
Understanding what makes Android great
Understanding how Unity and Android work together
Differences between the Pro and Basic versions of Unity
Setting up the development environment
The optional code editor
Connecting to a device
Unity Remote
Building a simple application
Summary
Chapter 2: Looking Good โ€“ The Graphical Interface
Creating a Tic-tac-toe game
Messing with fonts
Rotating devices
Menus and victory
A better way to build for a device
Summary
Chapter 3: The Backbone of Any Game โ€“ Meshes, Materials, and Animations
Setting up
Importing the meshes
Tank import settings
Creating materials
Animations in Unity
Ray tracing to shooting
Summary
Chapter 4: Setting the Stage โ€“ Camera Effects and Lighting
Camera effects
Lights
Blob shadows
Summary
Chapter 5: Getting Around โ€“ Pathfinding and AI
Understanding AI and pathfinding
The NavMesh
The NavMeshAgent component
Making the enemy chase the player
Being attacked by the enemy
Attacking the enemy
Spawning enemy tanks
Summary
Chapter 6: Specialities of the Mobile Device โ€“ Touch and Tilt
Setting up the development environment
A basic environment
Controlling with tilt
Keeping the monkey on the board
Winning and losing the game
Putting together the complex environment
Adding bananas
Summary
Chapter 7: Throwing Your Weight Around โ€“ Physics and a 2D Camera
2D games in a 3D world
Physics
Characters
Controls
Creating the parallax background
Adding more birds
Level selection
Summary
Chapter 8: Special Effects โ€“ Sound and Particles
Understanding audio
Understanding particle systems
Putting it together
Summary
Chapter 9: Optimization
Minimizing the application footprint
Tracking performance
Minimizing lag
Summary

What You Will Learn

  • Set up the development environment when working with both Unity and Android
  • Import and work with the basic blocks of a game such as meshes, materials, and animations
  • Utilize particles and sound effects to provide feedback to the player
  • Adjust camera effects and game logic to create 2D games
  • Interface with touch and tilt inputs to create custom control systems
  • Create custom graphical interfaces and control elements
  • Leverage pathfinding to get intelligently moving characters
  • Illuminate scenes dynamically using lightmaps

 

Authors

Table of Contents

Chapter 1: Saying Hello to Unity and Android
Understanding what makes Unity great
Unity โ€“ the best among the rest
Understanding what makes Android great
Understanding how Unity and Android work together
Differences between the Pro and Basic versions of Unity
Setting up the development environment
The optional code editor
Connecting to a device
Unity Remote
Building a simple application
Summary
Chapter 2: Looking Good โ€“ The Graphical Interface
Creating a Tic-tac-toe game
Messing with fonts
Rotating devices
Menus and victory
A better way to build for a device
Summary
Chapter 3: The Backbone of Any Game โ€“ Meshes, Materials, and Animations
Setting up
Importing the meshes
Tank import settings
Creating materials
Animations in Unity
Ray tracing to shooting
Summary
Chapter 4: Setting the Stage โ€“ Camera Effects and Lighting
Camera effects
Lights
Blob shadows
Summary
Chapter 5: Getting Around โ€“ Pathfinding and AI
Understanding AI and pathfinding
The NavMesh
The NavMeshAgent component
Making the enemy chase the player
Being attacked by the enemy
Attacking the enemy
Spawning enemy tanks
Summary
Chapter 6: Specialities of the Mobile Device โ€“ Touch and Tilt
Setting up the development environment
A basic environment
Controlling with tilt
Keeping the monkey on the board
Winning and losing the game
Putting together the complex environment
Adding bananas
Summary
Chapter 7: Throwing Your Weight Around โ€“ Physics and a 2D Camera
2D games in a 3D world
Physics
Characters
Controls
Creating the parallax background
Adding more birds
Level selection
Summary
Chapter 8: Special Effects โ€“ Sound and Particles
Understanding audio
Understanding particle systems
Putting it together
Summary
Chapter 9: Optimization
Minimizing the application footprint
Tracking performance
Minimizing lag
Summary

Book Details

ISBN 139781784394691
Paperback338 pages
Read More