Powerful Unity JavaScript Everything You Need To Know

Learn how to Design & Develop Games in Unity GameEngine using Simple and Powerful Unity JavaScript(Build 4 Games)
4.4 (9 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,795 students enrolled
$80
Take This Course
  • Lectures 190
  • Contents Video: 27.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 10/2015 English

Course Description

If You have strong desire to create videogames but you dont know anything about programming and doesn't know where to start

then this course will help you and for anyone who wants to build beautiful and attractive videogames

and become an independent videogame developer and also earn some extra income.

In this course we cover Unity GameEngine which is Powerful and easy to use compeletly Free Environment

for design and developing 2D and 3D Games for windows/Mac/iOs/Android and many more platforms

First we cover introduction to the basics of Unity Javascript programming concepts using Animated video and 2D Graphics

i use animated video and 2d graphics because " A picture is worth a thousand words ",and most of people understand quickly from

animated videos instead of plain words and this techniques will really help you if you are new to programming world.

Next, i explain in detail about unity GameComponents and gameobjects what they are & how exactly they work

After that we jump on

1st game project "Rock-Paper-Scissor" or "Ro-Sham-bo"

in which we cover lots of basic concepts of Unity Javascript game programming

*take player input using different function

*create win logic and many more

2nd we create 3D Game "Kick Ball In Ring"

its a beautiful 3D game in which you need to shoot Football in Rings,in this project we cover lots of concepts like

*what is Invoke function & how it work in Unity Javascript?

*what is Coroutine and how it work in Unity Javascript?

*save player score using player prefs

*Basics working of serialization and deserialization in Unity Javascript through Graphics

*Xml technique to save player scores

*learn how to create Blast effect using Particle system through scratch

and many many more

3rd we create 2D side scrolling game

*understand 2d game programming

*what is 2D raycasting?

*2d projectile fire concepts

*and many more

4th we create 2D Top-Down "Space-Shooter-Game"

in which we learn

*what is screen wrap effect

*how asteroids waves are generated using Invoke function

*and many many more

What are the requirements?

  • No pre-knowledge required of any programming languages
  • Any computer with Windows or Mac Operating system with Free Unity 4.6 or above version Install
  • know little bit about Unity Interface
  • and most important " Never give up will "

What am I going to get from this course?

  • Over 189 Lectures and 27 hours of content
  • Understand basics of computer programming languages through 2D graphics
  • know about Unity Javascript Scripting Language from scratch
  • Understand few tough concepts of game programming through Animated video and Graphics
  • Master Game development pipeline
  • Learn how to make beautiful,interactive Pc or Mobile Games
  • Earn money from your new Game Development skills

What is the target audience?

  • Anyone who ever wish to build Games
  • Non-programmers or Programmers
  • Students
  • Hobbyist
  • Professionals
  • Artists
  • No Age Limit

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

02:55

In this Lesson:

  • I introduce the pipeline of course and 4 Game Projects which we are going to build together.
Section 1: Fundamentals of Unity Scripting
04:40

In this Lesson:

  • we crystal clear some misconception realted to Unity Javascript

C# vs Javascript in Unity - Which is faster?
  • https://www.youtube.com/watch?v=J7n_yxGKoI4


06:22

In this Lesson:

  • we break down Definition of Computer Programming and explain in detail
  • use Animation to explain How exactly computer Program work
  • understand why program show error and basic workflow to write error-free program
09:58

In this Lesson:

  • Hello World is used in most of the programming languages to teach Basic Syntax and also to cross-check whether IDE is properly working or not.
  • we understand basic syntax which is used to display/print messages in console tab
  • "Hello World" appeared in 1972 in "Tutorial Introduction to the Language B" by Kernighan

07:41

In this Lesson:

  • we cover importance of #pragma strict in unity javascript and also what is Start function? & how it work?
04:47

In this Lesson:

  • we understand what is Update function & how it work
  • i create simple after effects(animated video) document to explain how exactly Update function and start function work when you hit play key Inside Unity
06:26

In this Lesson:

  • understand what are comments & why they are so useful
03:59

In this Lesson:

  • explain variable concept using Graphics(Photoshop Document) which help you to quickly understand
What is Variable? and How they work?
03:23

In this Lesson:

  • we cover variable syntax & BreakDown of each term in detail like what is var ,why we use colon (:) & many more
04:54

In this Lesson:

  • we cover variable types i.e private,public and static.
04:31

In this Lesson:

  • cover important concept called variable scope which include Global and Local scope
  • to explain this concept i use 3DsMax software which help you to quickly understand how exactly this variable scope work
Unity Javascript Basics (A)
22 questions
05:21

In this Lesson:

  • we cover important concept called operators & mainly in this video we try to understand how Arithmetic & Assignment Operators works
  • operator is an object that is capable of manipulating a value for ex:

4 + 16

where 4 & 16 are operands

and " + "sign is Operator

10:07

In this Lesson:

  • we understand how Comparison & Logical Operators work
08:37

In this Lesson:

  • learn How exactly Conditional statements work
  • Conditional statements are used to perform different actions based on different conditions i.e in simple words run specific code if certain condition is true
  • cover If and If-else statement in script
06:46

In this Lesson:

  • we cover working of Nested If-else conditional statement
05:30

In this Lesson:

  • cover working of switch conditional statements
  • in General Switch statements work the same as if statements.However the difference is that they can check for multiple values
08:20

In this Lesson:

  • explain basic working of loops using Graphics(Photoshop Document) so you can quickly understand how exactly loops work
04:34

In this Lesson:

  • learn how we can performs several types of repetitive operations using Loops
  • create simple script to explain for loops working
04:46

In this Lesson:

  • The while statement repeats a loop (run part of code inside while curly brackets) as long as a specified condition evaluates to true and stop executing part of code when condition get false
  • we create script to understand while loop working
02:27

In this Lesson:

  • do..while loop will execute the code block once , then it check condition whether it is true or false
  • create script to explain do-While loop working
07:18

In this Lesson:

  • understand working of function & why functions are so useful in programming
  • using Graphics (Photoshop Document) to explain function working
07:14

In this Lesson:

  • create script for functions to explain its detail working
09:52

In this Lesson:

  • we cover important concept called function overloading in which you can use the same name for different functions
  • create script for Overloading function and explain its working step-by-step
Unity Javascript Basics (B)
10 questions
08:50

In this Lesson:

  • we understand array concept through Graphics(Photoshop Document)
  • create simple script to understand array concept
05:45

In this Lesson:

  • we understand different technique which is used to create and access array data
06:38

In this Lesson:

  • understand what is class and how it work through Graphics(Photoshop Document)
06:54

In this Lesson:

  • we understand how we can implement class concept inside script
  • how we can create Objects using class template
06:08

In this Lesson:

  • we cover what is contructor function ,how it works & why we use c.f inside Class
  • create script to explain contructor function
05:10

In this Lesson:

  • we understand technique to add normal functions inside class template and call them on need
05:24

In this Lesson:

  • we understand inheritance concpet inside class using Graphics(Photoshop Document)
15:49

In this Lesson:

  • we understand how we can implement inheritance concept inside script
Section 2: Unity GameComponents and Object Basics
14:01

In this Lesson:

  • We Understand what is Rigidbody ? and how it Works?
11:42

In this Lesson:

  • We Understand What is Collider its Different Types ? and How it work? also cover different property in Detail
09:13

In this Lesson:

  • we cover importance of isTrigger Property
09:33

In this Lesson:

  • we cover importance of Physic Material Property and how it help us to simulate different bounce/surface friction effect
06:14

In this Lesson:

  • we understand what is Character Controller and when is it's used?
11:15

In this Lesson:

  • we understand what is Terrain GameObject ? and How we can create Terrain using Unity Terrain Editor
12:12

In this Lesson:

  • We cover Introduction of New Canvas UI System
08:45

In this Lesson:

  • we cover concept of Anchor Point
05:02

In this Lesson:

  • we cover Button UI Element
05:02

In this Lesson:

  • we cover Text UI Element
Section 3: "Rock-Paper-Scissor" Game project
02:42

In this Lesson:

  • understand and write down basic gameplay steps which
are supporting pillars for this RPS GameDevelopment and most important to create simple and flexible scripts
08:23

In this Lesson:

  • understand basic logic which is used to collect player input
  • create script to take player input, understand program logic step-by-step
  • cover importance of GetKey function
03:32

In this Lesson:

  • understand working of GetKeyUp and GetKeyDown functions
  • learn Counter technique inside unity to cross check exactly how long functions run
  • create script to collect Player Input using GetKey,GetKeyDown,GetKeyUp functions
10:28

In this Lesson:

  • understand logic to take Computer input
  • what is Random.Range function ? & How it Work ?
  • create script to generate Random number using Random.Range function
  • add small part of code to generate random number only on Player input
  • cover how to take input using Mouse
  • understand working of GetMouseButton,GetMouseButtonDown,GetMouseButtonUp functions
06:16

In this Lesson:

  • understand Script logic to take computer input
  • create advance script which simulate computer input & explain script working step-by-step
  • cover importance of random.range function with if-else statement to simulate computer selection
06:14

In this Lesson:

  • create script which take both player & computer input
  • cover some good habits which is generally used to write systematic and clean script
12:24

In this Lesson:

  • cover important technique to send value/argument from one function to another function within script
  • this technique is very important to create Find Winner system for game Rock-Paper-Scissor
  • create script to pass value from one function to another function and break down its working
11:37

In this Lesson:

  • create simple script to find winner(FindWinner system) between Computer and player input & explain script logic step-by-step
  • implement technique to pass value from one function to another which we learn in previous video
03:51

In this Lesson:

  • we understand complete logic of FindWinner system using Graphics(Photoshop Document)
  • you also learn how to breakDown complex logic in simple graphical form to explain its working to other Developer and also to yourself
07:33

In this Lesson:

  • create full advance script for FindWinner system of RPS game & understand its complete script logic step-by-step
  • cover importance of Nested If-else statement
05:00

In this Lesson:

  • 1st we understand what kind of bug we got inside our main script which take i/p from playe & computer
  • next we understand technique which is used to refine logic of script(i.e which help to remove this bug)
  • modify script and explain its refine logic step-by-step
13:10

In this Lesson:

  • we understand technique to display result in GameView instead of display result in Console Tab,for that we will use Canvas GameObject Text UI Element
  • create script to display result in gameview through UI element & understand code logic step-by-step
  • understand & implement most important technique to access data of One Script from another script
  • cover importance of UnityEngine.UI line of code
  • understand why we got NullReferenceException Error in program
13:32

In this Lesson:

  • upto this part we take player i/p using keyboard keys,but in this video we will add buttons UI element in GameView to collect player input
  • import button UI element & learn how to adjust its position + anchor point
  • create new script for buttons element to take player i/p
  • understand script logic how to link buttons script with main i/p script and also use technique to access value of one script from another script
  • learn technique how script is connected on Buttons element using OnClick Events
14:00

In this Lesson:

  • we understand working of static variable inside 3D Software and also cross check its working by creating Script inside Unity
10:10

In this Lesson:

  • create timer script understand its full working step-by-step
  • cover importance of Time.deltaTime command and also learn technique to convert decimalTime into integer
  • understand technique how to Lock Timer time at specific value
08:42

In this Lesson:

  • upto this point we check result using keys after taking player & computer input, but in this video we will create Timer functionality to display result
  • in the previous video we create timer,which start as soon as you hit playKey,but in this part we add some advance functionality for Timer which Turn ON only after taking both player and computer input
  • learn technique to send value from one script to another script
12:28

In this Lesson:

  • in this video we add Button element inside GameView to collect computer input instead of pressing Keyboard keys
  • add code to take computer i/p through button and explain code logic step-by-step
  • learn important technique to stop passing i/p intentionally or accidentally more than one time to avoid mess related to final result
  • learn important function to turn off button visibility
18:24

In this Lesson:

  • we learn how to create simple user Interface for RPS game,which include Background sprite,Display sprite,Timer sprite and many more
  • understand different technique to connect sprites/texture over canvas gameobject element and also how to adjust its anchor point + position so that each UI element can scale properly for different screen size and resolution
  • cover importance of Texture-Type --> sprite(2D and UI) for UI Element
14:44

In this Lesson:

  • we add image UI element to display computer selection inside gameview
  • create script which display computer selection dynamically inside image element & understand code logic step-by-step
  • understand technique to send computer selection from main script to monitor display script and many more
10:19

In this Lesson:

  • create start screen user interface using different UI element and sprites/texture files
  • understand technique to add StartScene canvas without deleting PlayScene canvas
09:12

In this Lesson:

  • we create switch level functionality so when we click on start button we jump inside playmode
  • understand some important steps which is generally used before creating switch functionality
  • create script to switch scenes and explain code logic
14:34

In this Lesson:

  • we add game exit functionality and restart functionality to playmode scene to restart current scene & jump back to home window
  • fix bug related to Timer when we restart scene
06:23

In this Lesson:

  • we add sound effects for rock,paper,scissor and computer input buttons
  • add code inside button_i/p script to run sound functionality and explain full code logic step-by-step
  • cover importance of AudioSource game component
04:29

In this Lesson:

  • we add sound effects for Timer
  • add code inside timer script and explain simple logic
  • fix bug related to Timer Sound
07:03

In this Lesson:

  • we add audio effects for player Win,computer win,TIE messages of Display
  • add lines of code inside findwinner script to run audio functionality for display messages
  • fix bug related display messages Audio
  • understand most important concept to run functions inside Update only one time using locking technique
08:09

In this Lesson:

  • we add background music which play across game
  • for this Bg Music we use advance technique called Singleton pattern design which help us to play music continuously across different levels
  • create script for Bg Music & explain full code logic step-by-step
  • cover importance of DontDestroyOnLoad function
05:35

In this Lesson:

  • understand most important setting inside canvas gameobject,which help you to change scale of All GameUI element for different Devices screen sizes
06:25

In this Lesson:

  • we understand workflow which is used to publish/build game to specific platform
Section 4: Unity 3D Move-Jump-n-Run scripts
07:08

In this Lesson:

  • we will create simple 3D movement script
04:31

In this Lesson:

  • we refine 3D Movement script with adding Additonal variable to control movement
06:20

In this Lesson:

  • we create advance movement script
05:38

In this Lesson:

  • we create simple jump script
10:14

In this Lesson:

  • we Fixed problem of Jump script in terms of Mid-Air jump
06:22

In this Lesson:

  • we combine move + jump script
07:25

In this Lesson:

  • we understand how to creat Double-Jump script
03:27

In this Lesson:

  • we create simple code to apply gravity on GameObject
15:37

In this Lesson:

  • we create advance move script using Character Controller
13:57

In this Lesson:

  • we create Double Jump script for character controller
08:26

In this Lesson:

  • we refine CC(character controller) Move and mouseRotate Script
Section 5: Unity 3D Raycasting
10:59

In this Lesson:

  • we learn Basic of Raycasting and also cover syntax and definition.
11:05

In this Lesson:

  • we cover hitinfo and layerMask parameter in Detail
12:25

In this Lesson:

  • we cover importance of Tag and create simple timer
Section 6: Kick-Ball-In-Ring 3D Game Project
01:13

In this Lesson:

  • we cover basic Gameplay Steps for KBR game.
09:15

In this Lesson:

  • we will create Basic scene with dummy game Objects for Testing purpose
  • import Unity inbuild Character Controller package
  • cover importance of Project Organisation and management
13:59

In this Lesson:

  • we cover simple steps to Import 3D Package from Asset Store
  • understand process of parenting 3D object over FPC
  • understand code Logic for projectile firing
  • cover importance of Instantiate function and Prefab gameobject
04:10

In this Lesson:

  • importance of Program code Refine
  • cover Time.time code syntax to add specific amount of delay for firing
06:50

In this Lesson:

  • understand Technique to Add GameComponent On The Fly using Scripting
  • cover importance of IgnoreLayerCollision function
11:22

In this Lesson:

  • understand basic working of Raycasting and DrawRay function to fire projectile only when Detect any GameObject
  • cover effect called Trail Renderer
08:16

In this Lesson:

  • understand basic working of ConstantForce GameComponent
  • use AddComponent function to connect GameComponent on GameObject
  • cover simple technique to tweak specific property of GameComponent through scripting
06:54

In this Lesson:

  • understand importance of Destroy function
  • cover basic scripting technique to use Destroy function
  • cover Collider technique to implement Destroy function
  • basics of OnTriggerExit function
10:02

In this Lesson:

  • cover basic syntax of Invoke and InvokeRepeating function
  • understand how we can add function Run delay using Invoke function.
  • cover technique to Repeat specific function from Start function using InvokeRepeating
  • learn technique to Stop All or Specific Invoke function inside gamecode
For more information on Invoke click on below link:-
  • http://docs.unity3d.com/ScriptReference/MonoBehaviour.Invoke.html

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Mrunal Dhurwe, Game Developer + 3D Artist + Teacher at Udemy

Hi my name is Mrunal Dhurwe

I work as an Independent Unity Game Developer and Freelance 3D Artist in India

I Complete my Engineering in V.L.S.I Electronics stream from V.I.T Institute

I am Electronic engineer by Degree - 3D Artist through my passion - and Programmer by Addiction

So I leave my Technical Job and jump in Game Development and designs World

I always ready to learn new Software and Programming languages

and give my best to learn tough concepts so I can explain those to others through animation and 2D Art

Few Most important points that Every Student must Follow

1)Take 2 to 4 lessons per day depends on Complexity of Lessons If Lesson is simple you can increase your count per Day

2)Pause video or Repeat it number of times if you don't Understand any Particular Concept

3)Always remember after each video lesson Do Your Practical

don't just watch..

Martial Art Legend Bruce Lee say

" Knowing is not Enough You Must Apply.

Willing is not Enough We must DO "

Don't just Copy my path always implement that knowledge through your unique creativity in ur own Project

Make Notes inside Diary on Every Concept so in ur spare time or when power is off just read that notes it will make your theoretical knowledge strong always try to read Game development Article or Blogs and Join Community so u can learn new things, share your games and make new Friends

Ready to start learning?
Take This Course