In this Video tutorial series we are going to learn about the basics of unity scripting. we will cover the basic concepts of unity scripting and do a practical work. Watch this whole series carefully and . After this course you will be able to develop and debug code easily. ................................ Watch All video in A Sequence https://www.youtube.com/playlist?list=PLgAF6rpCsTCiZpCCXMdnErw2VcCOFYSQv ................................ Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Tuesday, 31 October 2017
Unity Basics ( Rotate and Translate function ) [07]
Unity3d Vectors Explained (Vector3 and Vector2) [05]
In this Video tutorial series we are going to learn about the basics of unity scripting. we will cover the basic concepts of unity scripting and do a practical work. Watch this whole series carefully and . After this course you will be able to develop and debug code easily. ................................ Watch All video in A Sequence https://www.youtube.com/playlist?list=PLgAF6rpCsTCiZpCCXMdnErw2VcCOFYSQv ................................ Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Unity 3d Basics( Update and fixedUpdate difference) [04]
In this Video tutorial series we are going to learn about the basics of unity scripting. we will cover the basic concepts of unity scripting and do a practical work. Watch this whole series carefully and . After this course you will be able to develop and debug code easily. ................................ Watch All video in A Sequence https://www.youtube.com/playlist?list=PLgAF6rpCsTCiZpCCXMdnErw2VcCOFYSQv ................................ Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Saturday, 28 October 2017
Unity Car Game Tutorial - Android Input Button For Race and Brake
#Unity #car #racing #hill #climb #2d Welcome In This series we are going to develop 2D car game in unity . it is a Physics Based 2d racing puzzle just like hill climb racing. we will learn about "wheel joint 2d" and jointMotor in detail. ......................................... Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Unity Car Game - Smooth Camera Follow [02]
#Unity #car #racing #hill #climb #2d Welcome In This series we are going to develop 2D car game in unity . it is a Physics Based 2d racing puzzle just like hill climb racing. we will learn about "wheel joint 2d" and jointMotor in detail. ......................................... Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Wednesday, 25 October 2017
Unity 2D Racing Car Game in Hindi / Urdu [01]
#Unity #car #racing #hill #climb #2d Welcome In This series we are going to develop 2D car game in unity . it is a Physics Based 2d racing puzzle just like hill climb racing. we will learn about "wheel joint 2d" and jointMotor in detail. ......................................... Other Courses : (1) Endless Runner in Unity3D https://youtu.be/UA7xY_7sOGw ......................................... (2) 2D Runner Game complete https://youtu.be/PNjTkNHKfrU ......................................... (3) FYP PROJECTS https://youtu.be/k43qmEbHQuw .........................................
Monday, 23 October 2017
Unity2D- Turning Player Left And Right
Unity 2D Player Character Controller (Creating Animations From Sprites) . In This Tutorial We will Setup 2D character from scratch we will : (1) Create Animations From Sprites. (2)Finite state machine setup. (3)study parameter in FSM. (4)scripting FSM changing Animations. (5)scripting basic character movements (run,jump etc.)Tags:
Unity, 2d, player, character, controller, moving, sprites, animation, sprite sheet, 2d animation, game, 2d player, running, walking, hindi, urdu, fast solution,
Sunday, 22 October 2017
Unity 2D player Movement - Running and Turning (with Animations) [04]
#unity #simple #player #movement #walking #running #turning Unity 2D player Movement - Running and Turning Making player transition between different animations as the player runs and move and turn left and right. S U B S C R I B E ============================ watch all videos in sequence https://youtu.be/E5lsbDP2BFM ============================= Unity 2D Player Character Controller (Creating Animations From Sprites) . In This Tutorial We will Setup 2D character from scratch we will (1) Create Animations From Sprites. (2)Finite state machine setup. (3)study parameter in FSM. (4)scripting FSM changing Animations. (5)scripting basic character movements (run,jump etc.)
Saturday, 21 October 2017
Unity 2D Character Controller (Scripting) 03
Unity 2D Player Character Controller (Creating Animations From Sprites) . In This Tutorial We will Setup 2D character from scratch we will (1) Create Animations From Sprites. (2)Finite state machine setup. (3)study parameter in FSM. (4)scripting FSM changing Animations. (5)scripting basic character movements (run,jump etc.)Tags:
Unity, 2d, player, character, controller, moving, sprites, animation, sprite sheet, 2d animation, game, 2d player, running, walking, hindi, urdu, fast solution,
Friday, 20 October 2017
Unity AdMob (Google Mobile Ads ) Unity Plugin Integration
---- Watch Video Tutorials ---- Admob Integration Tutorial : https://youtu.be/8wGXcEOYOig ------------------------------- How To Fix AdMob Problem https://youtu.be/JRGd7UG-WdE ------------------------------
using UnityEngine;
using System.Collections; using GoogleMobileAds.Api; using System; public class AdManager : MonoBehaviour { //THE SCRIPT HAS ORIGNAL ID'S OF ADMOB InterstitialAd interstitial; BannerView bannerView; // Use this for initialization void Start() { RequestBanner(); RequestInterstitial(); } public void RequestBanner() { // replace this id with your orignal admob id for banner ad string adUnitId = "ca-app-pub-3940256099942544/6300978111"; // Create a 320x50 banner at the top of the screen. bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Bottom); // Create an empty ad request. AdRequest request = new AdRequest.Builder().Build(); // Load the banner with the request. bannerView.LoadAd(request); bannerView.OnAdLoaded += HandleOnAdLoaded; } void HandleOnAdLoaded(object a, EventArgs args) { print("loaded"); bannerView.Show(); } public void RequestInterstitial() { string adUnitId = "your interstial ad id here"; // Initialize an InterstitialAd. interstitial = new InterstitialAd(adUnitId); // Create an empty ad request. AdRequest request = new AdRequest.Builder().Build(); // Load the interstitial with the request. interstitial.LoadAd(request); } public void show() { if (interstitial.IsLoaded()) { interstitial.Show(); } } }
Thursday, 19 October 2017
Unity 2D Player Character Controller ( Finite state machine ) [02]
Unity 2D Player Character Controller (Creating Animations From Sprites) . In This Tutorial We will Setup 2D character from scratch we will (1) Create Animations From Sprites. (2)Finite state machine setup. (3)study parameter in FSM. (4)scripting FSM changing Animations. (5)scripting basic character movements (run,jump etc.)
Unity 2D Player Character Controller (Creating Animations From Sprites) ...
Unity 2D Player Character Controller (Creating Animations From Sprites) . In This Tutorial We will Setup 2D character from scratch we will (1) Create Animations From Sprites. (2)Finite state machine setup. (3)study parameter in FSM. (4)scripting FSM changing Animations. (5)scripting basic character movements (run,jump etc.)
Wednesday, 18 October 2017
Unity Change Material,shader And Texture at Runtime (Hindi /Urdu)
#Unity #shader #color #material #albedo #3d #2d
Change Obeject material and color at runtime also you can change shader.
https://docs.unity3d.com/ScriptReference/Material-ctor.html
Monday, 16 October 2017
Unity 2D Infinite Background Scrolling [ Simple Way ]
Visit youTube channel for more Awesome videos..
https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g
download code here..
http://urdutechtutorials.blogspot.com/2017/10/unity-2d-infinite-background-scrolling.html
Unity 2D Infinite Background Scrolling Simplest Way
Watch Video Tutorial
Code for Infinite Background Scrolling IN Unity 2d game.
Code for Infinite Background Scrolling IN Unity 2d game.
using UnityEngine; using System.Collections; public class Scroll : MonoBehaviour { public float backGroundSize; private Transform cameraTransform; public Transform[] layers; private float viewZone = 0; private int leftIndex; private int rightIndex; private void Start() { cameraTransform = Camera.main.transform; leftIndex = 0; rightIndex = layers.Length - 1; } void Update() { if (cameraTransform.position.x < (layers[leftIndex].transform.position.x + viewZone)) ScrollLeft(); if (cameraTransform.position.x > (layers[rightIndex].transform.position.x - viewZone)) ScrollRight(); } private void ScrollLeft() { layers[rightIndex].position = new Vector3 (1f * (layers[leftIndex].position.x - backGroundSize), 0f, 0f); leftIndex = rightIndex; rightIndex--; if (rightIndex < 0) rightIndex = layers.Length - 1; } private void ScrollRight() { layers[leftIndex].position = new Vector3 (1f * (layers[leftIndex].position.x + backGroundSize), 0f, 10f); rightIndex = leftIndex; leftIndex++; if (leftIndex == layers.Length) leftIndex = 0; } }
Sunday, 15 October 2017
The Best Way to jump in Unity3d
Attach these two scripts with your player and feel the difference in jumping it works both for 3D and 2D for 2D you have to make some adjustments in betterJump script.
WATCH VIDEO TUTORIAL
WATCH VIDEO TUTORIAL
Player Script:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float speed = 10.0F; public float rotationSpeed = 100.0F; // Use this for initialization void Start () { } // Update is called once per frame void Update () { float translation = Input.GetAxis("Vertical") * speed; float rotation = Input.GetAxis("Horizontal") * rotationSpeed; translation *= Time.deltaTime; rotation *= Time.deltaTime; transform.Translate(0, 0, translation); transform.Rotate(0, rotation, 0); if (Input.GetKeyDown(KeyCode.Space)) { jump(); } } void jump() { transform.GetComponent<Rigidbody>().AddForce(new Vector3(0, 190 * Time.deltaTime, 0),ForceMode.Impulse); } }
Better Jump Script (for 3D project)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class fastJump : MonoBehaviour {
public float fallMultiplier = 2.5f;
public float lowJumpMultiplier = 2f;
Rigidbody rb;
void Awake()
{
rb = GetComponent<Rigidbody>();
}
void Update()
{
if (rb.velocity.y < 0)
{
rb.velocity += Vector3.up * Physics.gravity.y * (fallMultiplier - 1)
* Time.deltaTime; } } }
Better Jump Script (for 2D project)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class fastJump : MonoBehaviour { public float fallMultiplier = 2.5f; public float lowJumpMultiplier = 2f; Rigidbody2D rb; void Awake() { rb = GetComponent<Rigidbody2D>(); } void Update() { if (rb.velocity.y < 0) { rb.velocity += Vector2.up * Physics2D.gravity.y * (fallMultiplier - 1) * Time.deltaTime; } } }
Labels:
2d,
3d,
best way to jump,
better jump,
Game development,
how to jump,
jump,
jump in unity,
unity,
unity 2d,
unity 5 tutorials,
Unity in Hindi,
Unity tutorials,
Unity Tutorials in Urdu
Saturday, 14 October 2017
Angular Drag and Drag in Unity Physics -( Explained with Example )
Unity Angular Drag And Drag Explained
Friday, 13 October 2017
Unity 2D Camera Bounds
Watch Video Tutorial On Youtube
using UnityEngine;
using System.Collections;
public class CameraBounds : MonoBehaviour
{
Vector3 screensize;
public GameObject Right;
public GameObject left;
// Use this for initialization
void Start()
{
screensize = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height, 0));
}
// Update is called once per frame
void Update()
{
screensize = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height, 0));
Right.transform.position = new Vector2(screensize.x + 0.65f, 0);
left.transform.position = new Vector2((screensize.x - 0.65f) -
Camera.main.orthographicSize * Camera.main.aspect * 2f, 0);
}
}
Unity Universal Share Link Button Code for Android And IOS
Watch Video On YouTube
using UnityEngine;
using System.Collections;
using System.IO;
using System.Runtime.InteropServices;
public class ShareAndRate : MonoBehaviour {
string subject = "Aim n Shoot";
string body = "https://play.google.com/store/apps/details?id=com.webroid.smashy.cat.kitty";
#if UNITY_IPHONE
[DllImport("__Internal")]
private static extern void sampleMethod (string iosPath, string message);
[DllImport("__Internal")]
private static extern void sampleTextMethod (string message);
#endif
public void OnAndroidTextSharingClick()
{
StartCoroutine(ShareAndroidText());
}
IEnumerator ShareAndroidText()
{
yield return new WaitForEndOfFrame();
//execute the below lines if being run on a Android device
#if UNITY_ANDROID
//Reference of AndroidJavaClass class for intent
AndroidJavaClass intentClass = new AndroidJavaClass ("android.content.Intent");
//Reference of AndroidJavaObject class for intent
AndroidJavaObject intentObject = new AndroidJavaObject ("android.content.Intent");
//call setAction method of the Intent object created
intentObject.Call<AndroidJavaObject>("setAction", intentClass.GetStatic<string>("ACTION_SEND"));
//set the type of sharing that is happening
intentObject.Call<AndroidJavaObject>("setType", "text/plain");
//add data to be passed to the other activity i.e., the data to be sent
intentObject.Call<AndroidJavaObject>("putExtra", intentClass.GetStatic<string>("EXTRA_SUBJECT"), subject);
//intentObject.Call<AndroidJavaObject>("putExtra", intentClass.GetStatic<string>("EXTRA_TITLE"), "Text Sharing ");
intentObject.Call<AndroidJavaObject>("putExtra", intentClass.GetStatic<string>("EXTRA_TEXT"), body);
//get the current activity
AndroidJavaClass unity = new AndroidJavaClass ("com.unity3d.player.UnityPlayer");
AndroidJavaObject currentActivity = unity.GetStatic<AndroidJavaObject>("currentActivity");
//start the activity by sending the intent data
AndroidJavaObject jChooser = intentClass.CallStatic<AndroidJavaObject>("createChooser", intentObject, "Share Via");
currentActivity.Call("startActivity", jChooser);
#endif
}
public void OniOSTextSharingClick()
{
#if UNITY_IPHONE || UNITY_IPAD
string shareMessage = "Wow I Just Share Text ";
sampleTextMethod (shareMessage);
#endif
}
public void RateUs()
{
#if UNITY_ANDROID
Application.OpenURL("market://details?id=YOUR_ID");
#elif UNITY_IPHONE
Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_ID");
#endif
}
}
Thursday, 12 October 2017
How to reduce Apk size and increase game performance.
Unity How to reduce Apk size and increase game performance. Number of tricks and tips to increase performance and decrease the size of game. visit my YouTube channel : https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g
Unity Vertex Snapping position objects correctly
This tutorial is about how to position game objects perfectly during level design. Unity Vertex Snapping position objects correctly align game objects perfectly. ======================================= problem:: vertex snapping not working ? solution:: use external mouse or update mouse drivers ======================================= ************** like and subscribe ************
Wednesday, 11 October 2017
Unity Swipe Detection code with Explanation in Hindi / Urdu
========================================= All Videos https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/videos ======================================= All Playlists https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/playlists ========================================== ► Setting Up A player Character IN Unity https://youtu.be/cC-VbkG0lBM ========================================== ========================================= ► full game course in hindi/Urdu https://youtu.be/H768xZDe6hs =========================================
Unity Detecting Platform in Script [hindi / urdu]
endless runner, unity3d, tutorial, hindi, urdu, begginers, game, temple run, infinite runner, subway surfers, like, unity, endless, runner, running game, fast solution, Best unity tutorials, Unity Basics, ========================================= >> All Videos https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/videos ======================================= >> All Playlists https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/playlists ========================================== ► Setting Up A player Character IN Unity https://youtu.be/cC-VbkG0lBM ========================================== ========================================= ► full game course in hindi/Urdu https://youtu.be/H768xZDe6hs =========================================
Unity Single And Multiple Audios (Audio Source) in Hindi / Urdu
This Tutorial is in Hindi Language and about Audio in Unity.
How to use audio surce and play multiple audios on same object depending on condition e.g jump sound, death sound ,background Music etc.
for more videos subscribe this Channel Thanks !.
==========================================
>> All Videos
https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/videos
=======================================
>> All Playlists
https://www.youtube.com/channel/UCOGA5JnlIF7spbyEDAkFG-g/playlists
==========================================
► Setting Up A player Character IN Unity
https://youtu.be/cC-VbkG0lBM
==========================================
=========================================
► full game course in hindi/Urdu
https://youtu.be/H768xZDe6hs
=========================================
Tuesday, 10 October 2017
Endless Runner Unity Tutorial in Hindi (Coins Functionality) [16]
Complete Unity 3d Endless Runner Tutorial in Hindi
Urdu from basics to advance full course
-----------Videos Link-----------
==========================================
► Setting Up A player Character IN Unity
https://youtu.be/cC-VbkG0lBM
==========================================
=========================================
► full game course in hindi/Urdu
https://youtu.be/H768xZDe6hs
=========================================
endless runner, unity3d, tutorial, hindi, urdu, begginers,
game, temple run, infinite runner, subway surfers, like,
unity, endless, runner, running game, fast solution,
Best unity tutorials, Unity Basics,
Sunday, 8 October 2017
Friday, 6 October 2017
Endless Runner Tutorial in Hindi / Urdu ( player Death p1)[13]
Complete Unity 3d Endless Runner Tutorial in Hindi
Urdu from basics to advance full course
-----------Videos Link-----------
==========================================
► Setting Up A player Character IN Unity
https://youtu.be/cC-VbkG0lBM
► full game course in hindi/Urdu
https://youtu.be/H768xZDe6hs
=========================================
endless runner, unity3d, tutorial, hindi, urdu, begginers,
game, temple run, infinite runner, subway surfers, like,
unity, endless, runner, running game, fast solution,
Best unity tutorials, Unity Basics,
Thursday, 5 October 2017
Wednesday, 4 October 2017
Unity 3d Endless Runner Tutorials in Hindi [12]
--- S U B S C R I B E ----
======================================================
-----------Videos Link-----------
======================================================
► Setting Up A player Character IN Unity
https://youtu.be/cC-VbkG0lBM
======================================================
======================================================
► full game course in hindi/Urdu
https://youtu.be/H768xZDe6hs
======================================================
endless runner, unity3d, tutorial, hindi, urdu, begginers,
game, temple run, infinite runner, subway surfers, like,
unity, endless, runner, running game, fast solution,
Best unity tutorials, Unity Basics,
Unity3d Endless runner in Hindi (Generating Hurdles at runtime) [ 11 ]
====================================================== -----------Videos Link----------- --- S U B S C R I B E ---- ====================================================== ► Setting Up A player Character IN Unity http://destyy.com/q3IBgI ====================================================== ====================================================== ► full game course in hindi/Urdu http://destyy.com/q3IBWU http://destyy.com/q3IB0f ====================================================== endless runner, unity3d, tutorial, hindi, urdu, begginers, game, temple run, infinite runner, subway surfers, like, unity, endless, runner, running game, fast solution, Best unity tutorials, Unity Basics,
Tuesday, 3 October 2017
Subscribe to:
Posts (Atom)