Unity Android — Build Eight Mobile Games with Unity and C#

Video description

For game developers, the Android Play Store is no longer an evolving market but an established one. With the rise in competition, the climb to the top of the charts continues to get steeper. Hence, it is important to build high-quality games that are backed by a powerful gaming engine. One of the best cross-platform gaming engines that facilitates the creation of such high-quality games is Unity. Unity is free, easy to learn, and has excellent documentation. Moreover, it is battle-tested as some of the most popular Android games have been built using Unity. This is designed to teach you how to build Android games using this engine.

Suitable for beginning programmers, this course starts by walking you through the installation steps of Unity and Android SDK. You will then build your first Android game followed by a walkthrough of the fundamentals of C# scripting with Unity. Throughout the course, you will build eight example games with Unity, thus learning the process of creating mobile Android games using a hands-on practical approach. Once you have built these games, you will also learn how to monetize games with various types of in-game ads.

Completing the course will give you the skills to create fully functional, ready-to-publish Android games that leverage the power of Unity.

What You Will Learn

  • Build and run your first Android game in an hour
  • Understand the fundamentals of mobile game development
  • Learn the necessary C# basics that will help you build games with Unity
  • Create eight Android games with Unity
  • Monetize your games by learning how to implement video ads in it
  • Discover how you can reward your players for watching ads

Audience

If you are passionate about learning how to build Android games from scratch using a powerful game engine, this course is for you. In order to learn from this course, a basic understanding of C# and the Unity gaming engine is necessary.

About The Author

Raja Biswas: Raja Biswas has taught game development and computer programming to thousands of people through his YouTube channel—Charger Games. He has helped many viewers publish their first game through his videos and has encouraged them to learn computer programming as well. He has a passion for learning new things and teaching those to anyone looking to learn.

Every day, Raja gets emails from all over the world, thanking him for all that he teaches through his tutorial videos. He is from India and has a diploma in engineering in computer science and technology and a bachelor’s degree in engineering in IT. He has learned and developed most of his skills from books and online tutorials and believes that anyone can learn anything today with the power of the Internet.

Table of contents

  1. Chapter 1 : Introduction and Installation
    1. Introduction
    2. Installing and Setting Up Unity 2022
  2. Chapter 2 : Game 1 - Simple 3D Endless Runner Game with Unity
    1. Create a 3D Runner Game
  3. Chapter 3 : C# Scripting Basics for Unity Game Development
    1. Getting Started with C# Scripting in Unity
    2. Understanding Structure of a C# Script
    3. Event Functions in Unity C#
    4. Variables in C#
    5. Public Variables in Unity C#
    6. The Update Function in Detail
    7. Function Basics in C#
    8. Functions with Parameters and Return Types in C#
    9. If Else Statements in C#
    10. More Conditions and Equality Checking
    11. Boolean Variables in C#
    12. Introduction to Arrays in Unity C#
    13. More about Arrays in C#
    14. Understanding For-Loops in C#
    15. While Loops in C#
    16. Learning For-Each Loops in C#
    17. Switch Case Statements in C#
  4. Chapter 4 : Game 2 - Dodging Dog Mobile Game
    1. Adding Background and Boundaries
    2. Adding the Player
    3. Creating the Player Controller
    4. Flipping the Player Direction
    5. Creating Obstacles
    6. Spawning Obstacles
    7. Spawning Obstacles Repeatedly
    8. Creating the Game Manager
    9. Creating the Score System
    10. Creating Score UI
    11. Creating Game Over Menu
    12. Adding Functionalities to the Buttons
    13. Creating the Main Menu
    14. Building the Game for Android
  5. Chapter 5 : Game 3 - Food Eater Android Game in 15 Minutes
    1. Creating an Android Game in 15 Minutes
  6. Chapter 6 : Game 4 - Line Runner Hyper-Casual Game
    1. Setting Up the Project
    2. Creating the Player Controller
    3. Creating Obstacles
    4. Creating More Obstacles
    5. Spawning Obstacles
    6. Spawning Obstacles at the Bottom
    7. Detecting Collision and Restarting
    8. Creating Game Manager
    9. Creating Lives Counter
    10. Adding Score
    11. Designing Gameplay UI
    12. Creating the Main Menu
    13. Managing Everything When the Game Starts
    14. Creating Tap to Start Animation
    15. Creating Player Trail Particle Effect
    16. Adding Background Particle Effect
    17. Camera Shake Effect
  7. Chapter 7 : Monetize Your Game with Unity Ads
    1. Setting Up Unity Ads for Unity 2021
    2. Displaying Interstitial Video Ads
    3. Showing Rewarded Video Ads
    4. Rewarding the Player for Watching the Complete Ad
    5. Showing Rewarded Ads with a Practical Example
  8. Chapter 8 : Game 5 - Ball Smash Android Game
    1. Build a Simple Ball Smash Android Game in 40 Minutes
  9. Chapter 9 : Game 6 - Build a 3D Endless Runner Hyper-Casual Game
    1. Setting Up the Game
    2. Adding the Player
    3. Creating Player Controller Script
    4. Limiting Player Position
    5. Creating Enemies
    6. Spawning Enemies from Random Positions
    7. Restarting the Game on Collision with Enemies
    8. Creating the Score System
    9. Press Any Key to Start the Game
    10. Creating Animated Blinking Text
    11. Creating the Main Menu
    12. Saving Score and Creating High Score
    13. Adding Fog Effect
    14. Adding Touch Input Controls the Simplest Way
    15. Creating Screen Independent UI that Scales Automatically
    16. Converting to Android and Running on Mobile Device
  10. Chapter 10 : Game 7 - Build a Simple Android Game in 1 Hour
    1. Build Your First Android Game
  11. Chapter 11 : Game 8 - 3D Tappy Ball Game
    1. Setting Up the Player
    2. Creating the Obstacle
    3. Moving the Obstacle
    4. Creating More Obstacles
    5. Spawning the Obstacles
  12. Chapter 12 : Implement Video Ads in Your Games
    1. Setting Up Unity Ads
    2. Implementing Video Ads in Your Project
    3. Show Rewarded Video Ads in Your Games
    4. Rewarding the Player for Watching an Ad
    5. Implementing Banner Ads
  13. Chapter 13 : Unity Android Game Development Basics
    1. Unity Touch Input Basics
    2. Touch and Destroy Objects with RayCasting in Unity
    3. Unity Accelerometer Input for Android
    4. Design Screen Resolution Independent UI
    5. Unity Touch Swipe Input
    6. Unity Touch Joystick Input

Product information

  • Title: Unity Android — Build Eight Mobile Games with Unity and C#
  • Author(s): Raja Biswas
  • Release date: February 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801074490