Classes (Exercise) – Learn C#

Yes, believe it or not, we’re already on the 8th part of this tutorial series. We’ve gone through the absolute basics like variables and loops and now we’re going to enter a brave new world: object oriented programming (OOP). In this tutorial, you will learn why there’s even a need for classes, how to create … Read moreClasses (Exercise) – Learn C#

LINEAR LAYOUT – Quick Tutorial (Xamarin Android) (Code)

LinearLayout is one of the most basic layouts in Android. It’s used to easily group individual views together in either vertical or horizontal direction. Linear layout is also very practical because it supports weight. This makes the child views “stretch” to fill out the space in the layout.   This post contains all the code … Read moreLINEAR LAYOUT – Quick Tutorial (Xamarin Android) (Code)

#7 Make an Air Hockey Game in Unity – WIN / LOSE (Code)

In this part of the air hockey tutorial series, we will add a win and loose situation (game over screen) when we hit a certain amount of goals. This means that we will be working a lot with the Unity UI, so stop wasting time and let’s go straight to the video! 😉   This … Read more#7 Make an Air Hockey Game in Unity – WIN / LOSE (Code)

Make a Simple Android App – Xamarin Android Tutorial

This post contains all the code that’s been written in this YouTube video. Main.axml

  MainActivity.cs

 

#6 Make an Air Hockey Game in Unity – SOUND & FIXES (Code)

This post contains all the code that’s been written in this YouTube video. PuckScript.cs

  AudioManager.cs

 

Methods (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!     Assignment: Write a method which will add two integers together.     Click to see the answer

      Assignment: Create a method which will be able to either add or subtract two numbers.     Click to see the … Read moreMethods (Exercise) – Learn C#

#5 Make an Air Hockey Game in Unity – UI & SCORE (Code)

This post contains all the code that’s been written in this YouTube video. ScoreScript.cs

  PuckScript.cs

  PlayerMovement.cs

  AiScript.cs

 

GPG Tutorial – Save JSON to the Cloud (Code)

This post contains all the code that’s been written in the YouTube video. You can read it at your own pace, although watching the video prior to looking at this code example is recommended. JsonUtil.cs

PlayGamesScript.cs

  UIScript.cs

 

#4 Make an Air Hockey Game in Unity – ARTIFICIAL INTELLIGENCE (AI) (Code)

This post contains all the code that’s been written in this YouTube video. AiScript.cs

  Boundary.cs

 

Multidimensional & Jagged Arrays (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!   Assignment: Make a 2D jagged array and a 2D multidimensional array with the exact same content using a collection initializer.   Click to see the answer

    Assignment: Print out the contents of both of the arrays from the previous assignment. … Read moreMultidimensional & Jagged Arrays (Exercise) – Learn C#