Creating Cross Platform Games with Xamarin [Video]

Creating Cross Platform Games with Xamarin [Video]

This video is included in a Mapt subscription
Amerigo Moscaroli

Create fun cross platform mobile games easily with a unified code base
$0.00
$37.50
$29.99p/m after trial
RRP $124.99
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Video Details

ISBN 139781788297431
Course Length2 hours and 9 minutes

Video Description

This course will be using C# and Xamarin in Visual Studio to first create a simple crossplatform engine before create a 2D platforming game for iOS and Android. UsingXamarin, it is now easier than ever to have a unified code base that can be used for allof the major mobile platforms and it allows the developer to have more freedom andcontrol on how to create their game as opposed to other available engines. One of the main challenges is creating code that needs to perform the same functionalitybut differs for each different platform. This project will show the reader how to utiliseshared projects in Visual Studio to create classes that will perform this functionality.Another difficulty is the loading of assets which need to be saved in different locations foreach platform - this course will show the reader how to create code that will retrieveassets from different locations based on which platform is currently being targeted. Thecourse will also show how to create a game from start to finish and how to overcome anyobstacles that can arise during development. There will be 3 main stages to the course - creating the engine, creating the game, andthe final touches before releasing. The creating the engine stage will walk the viewerthrough creating a simple cross platform renderer for 2D games, as well as a way ofhandling audio and basic state system. The next stage will then create a 2D platformerstarting with designing the game to implementing all the character’s movements andenemy interactions as well as a simple menu system. The final stage will then show theviewer how to monetise their app and add analytics and achievements/leaderboardsbefore showing how to release the game on both app stores

Style and Approach

When the course is complete they will have a cross platform C# engine that they can then use to create their own games, as well as a simple game that they can expand and improve upon.

The course will aim to tackle many problems that can arise from creating games that function on a variety of different devices, such as how to handle different resolutions and how platform-specific functionality should be handled in games that target multiple platforms.

Creating a game and engine in this manner will give the reader a lot more freedom to create things their own way compared to an engine like Unity or Unreal, and this approach is a lot more suited to 2D games as those engines are designed more for 3D. Creating their own engine will also give readers a chance to experiment with shaders and learn more about how renderers actually function.

Table of Contents

Starting with OpenTK and Creating Our Windows
The Course Overview
Setting Up Xamarin and Visual Studio for iOS and Android
Introduction to OpenTK and OpenGL
Creating an OpenGL View for Android
Creating an OpenGL View for iOS
Handling Different Device Resolutions
Preparing to Draw Objects
Introduction to Shaders
Creating a Camera
Creating Our First Shader
Creating a Base Drawable Object
Getting Textures across Multiple Platforms
Drawing Our First Objects
Creating a Sprite
Creating an Animated Sprite
Creating a Text Displayer
Implementing Scenes
Final Engine Essentials
Creating a Base for Input
Handling iOS and Android Input
Getting Audio across Multiple Platforms
Playing Audio Files
Implementing a State System

What You Will Learn

  • The users will be taught how to create a game engine which they can then use to create their own games.
  • They will also learn how to create code that is generic so that it can be used in multiple scenarios or games.
  • They will be shown the differences between the two main mobile platforms and how they should develop their apps to accommodate this.
  • They will also be given the knowledge of how to create a game from concept to final release, which can then be released to multiple platforms.
  • They will know how to release and monetize their game as well as how to update their game to add new content or fix any issues.

Authors

Table of Contents

Starting with OpenTK and Creating Our Windows
The Course Overview
Setting Up Xamarin and Visual Studio for iOS and Android
Introduction to OpenTK and OpenGL
Creating an OpenGL View for Android
Creating an OpenGL View for iOS
Handling Different Device Resolutions
Preparing to Draw Objects
Introduction to Shaders
Creating a Camera
Creating Our First Shader
Creating a Base Drawable Object
Getting Textures across Multiple Platforms
Drawing Our First Objects
Creating a Sprite
Creating an Animated Sprite
Creating a Text Displayer
Implementing Scenes
Final Engine Essentials
Creating a Base for Input
Handling iOS and Android Input
Getting Audio across Multiple Platforms
Playing Audio Files
Implementing a State System

Video Details

ISBN 139781788297431
Course Length2 hours and 9 minutes
Read More

Read More Reviews

Recommended for You

Cross-platform UI Development with Xamarin.Forms Book Cover
Cross-platform UI Development with Xamarin.Forms
$ 35.99
$ 18.00
Building ArcGIS Cross-Platform Applications with JavaScript [Video] Book Cover
Building ArcGIS Cross-Platform Applications with JavaScript [Video]
$ 124.99
$ 37.50
Xamarin: Cross-Platform Mobile Application Development Book Cover
Xamarin: Cross-Platform Mobile Application Development
$ 69.99
$ 35.00
Xamarin 4.x Cross-Platform Application Development - Third Edition Book Cover
Xamarin 4.x Cross-Platform Application Development - Third Edition
$ 35.99
$ 18.00
Xamarin Cross-Platform Development Cookbook Book Cover
Xamarin Cross-Platform Development Cookbook
$ 35.99
$ 18.00