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

Create and Monetize your C# Games on iOS and Android

Video Description

Deploy your games across platforms like Android and iOS and learn how to integrate analytics into your game, as well as monetization using ads and in app purchases.

About This Video

  • After developing the game engine, build your own game & learn how to release updates
  • Ensure that you not only release your own game but also know how to monetize it by integrating ads and in-app purchases
  • Learn how to implement navigation through a game, how to add competitive elements and how to keep the game up to date

In Detail

In this course, we are going to learn the fun part - creating a game! We will start by designing the game and how you want it to work, before learning about the basic game loop and an introduction to the physics system Farseer.

You will then move on to building our game by starting with the platforms that the player will jump on, and then actually create our main character, Zippy. You then need to create some enemies to make the game more interesting and add some collectibles to get as you progress.

The final part will then put all this together into a level class, as well as creating the UI and the main menu so that players can navigate to different sections of the game. When the course is complete you will have a cross platform C# engine that you can then use to create their own games, as well as a simple game that they can expand and improve upon.

Now that we have finished our game we will be adding the last finishing touches before releasing it into the wild! First, we will start by monetizing the game with in-app purchases as well as discussing the theory of rewarded video ads.

The next section will then implement achievements and leaderboards as well as implementing Google Analytics so that we can see how players will use our game.

We will then move on to releasing our game on both iOS and Android, discussing the release procedures for both as well as how to release the game.

Finally, we will discuss the future of our game and our engine, discussing how to release updates on both platforms, how we can update our game and further optimisations we can make to improve performance.

Table of Contents

  1. Chapter 1 : Laying the Foundations
    1. The Course Overview 00:04:23
    2. Designing the Game 00:08:48
    3. The Game Loop 00:03:24
    4. Introduction to Farseer Physics 00:06:57
    5. Creating the Main Scene 00:02:25
    6. Constructing the Platforms 00:05:43
  2. Chapter 2 : Creating Game Mechanics
    1. Creating a Base Character Class 00:12:34
    2. Creating Our Main Character Zippy 00:06:44
    3. Controlling Zippy 00:10:46
    4. Creating an Enemy 00:10:03
    5. Adding Collectibles 00:05:32
  3. Chapter 3 : Making a Level
    1. Loading Data from CSV 00:07:45
    2. Constructing the Level from CSV 00:19:49
    3. Moving the Camera 00:07:07
    4. Adding End Goals 00:09:24
    5. Theory – Creating a Level Editor 00:02:55
  4. Chapter 4 : Navigation through the Game
    1. Creating a UI Camera 00:06:06
    2. Creating UI Elements 00:11:58
    3. Creating a Main Menu 00:19:32
  5. Chapter 5 : Making Money
    1. Theory – In-App Purchases 00:02:43
    2. Implementing the Base for the Purchases 00:09:00
    3. Implementing the Base for the Purchases (Continued) 00:12:26
    4. Implementing the Purchases on Android 00:07:57
    5. Implementing the Purchases on iOS 00:05:41
    6. Theory – Rewarded Video Ads 00:02:46
  6. Chapter 6 : Adding Competitive Elements
    1. Creating a Base for Achievements 00:12:27
    2. Adding iOS Achievements 00:08:12
    3. Adding Android Achievements 00:11:21
    4. Creating a Base for Leaderboards 00:06:50
    5. Adding iOS Leaderboards 00:03:20
    6. Adding Android Leaderboards 00:02:52
  7. Chapter 7 : Having Fun with Analytics
    1. Theory – Analytics 00:03:02
    2. Creating a Base for Analytics 00:03:41
    3. Implementing Analytics in Our Game 00:04:14
    4. Adding iOS Analytics Calls 00:03:09
    5. Adding Android Analytics Calls 00:03:15
  8. Chapter 8 : The Future
    1. Releasing Android App Updates 00:04:08
    2. Releasing iOS App Updates 00:03:30
    3. Theory – Code Management Using Git 00:06:07
    4. Theory – Social Network Integration 00:02:40
    5. Engine Improvements – Texture Packing 00:02:33
    6. Engine Improvements – Custom Shaders 00:03:18