Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Creating a Concentration Game Using Unity and C#
Rating: 4.1 out of 5(3 ratings)
39 students

Creating a Concentration Game Using Unity and C#

Learn Unity C# from 40 year programming veteran creating a Concentration card game in this beginner level course
Created byBrian Covault
Last updated 2/2023
English

What you'll learn

  • Learn to download, install and configure Unity and Visual Studio
  • Learn to build a scene using a canvas, panels and objects
  • Learn to code in C# to control how objects behave
  • Learn about raycasting and collison detection, one of the most fundamental elements of video game development
  • Learn to create elements of game UI including game timer, buttons and message display
  • Learn how to swap graphics for a game object to display playing cards with differnt ranks and suits
  • Learn how to publish a complete system that can be run outside of Unity and shared with others
  • Create your very own Concentration card game

Course content

5 sections32 lectures5h 49m total length
  • Introduction4:21

    This introduction will give you an understanding of what you will be doing in this course.

  • Installing Unity2:58

    You will learn how to install Unity and Visual Studio C# on your computer.

  • Creating a Project4:59

    You will learn how to create a project in Unity.

  • Unity Editor Configuration7:50

    Learn how to configure the Unity editor for a project.

Requirements

  • No Unity or programming experience needed. You just follow what the instructor does.

Description

All software and resources used in this course are free.


In this course, you will learn from an instructor with 40 years application development experience how to create a single scene application in the Unity game engine.  You will build the scene starting with a canvas and adding to it panels and objects.  You will learn to write C# code in Visual Studio to control how the objects you create in Unity behave.  When done, you will have your very own, fully featured Concentration card game.  No unity or programming experience needed.  All you need to do is follow what the instructor does.  This is what you will learn in the course.

- How to download, install and configure Unity and Visual Studio for C#

- How to use the different panes in the Unity editor

- How to use the controls in the Scene pane

- How to create a canvas

- How to create a panel

- How to create objects

  - Game Objects

  - Text Mesh Pro objects

  - Image objects

  - Button objects

- How to import asset packages

- How to create and use prefabs

- How to assign objects to public variables

- How to create and assign scripts to objects

- How to set script functions to be called when buttons are clicked

- How to investigate and resolve errors

- How to test the application throughout the development process

- How to build the application into a stand alone, executable program

- How to write C# scripts in Visual Studio

  - Directives

  - Variables

  - Statements

  - Conditional logic (IF...ELSE blocks)

  - Loops (For,  While)

  - Standard functions

  - IEnumerator functions (wait for something to happen)

  - Functions that accept and return values as parameters

  - The Start, Awake and Update functions

  - Nested logic

  - Sharing data between scripts

  - Using raycasting to determine when a user left clicks on an object

  - Swapping game object graphics to present playing cards with different ranks and suits

Who this course is for:

  • Anyone curious about the Unity game development engine and how to write programs using C#
  • Anyone wanting to learn how to create computer games using Unity and C#