Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts
Saturday, 20 October 2018
Monday, 16 October 2017
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; } }
Thursday, 11 May 2017
C++ tutorials in Hindi / Urdu [09] if - else condition
Relational Operators and conditional statements in c++.
part 9
WatchOnYoutube
Source Code
#include<constream.h>
#include<iomanip.h>
void main(){
clrscr();
// Relational Operators and conditional statement
if(10<5)
cout<<"10 is less than 5"<<endl;
if(10>5)
cout<<"10 is greater than 5"<<endl;
if(10!=5)
cout<<"10 is not equal to 5"<<endl;
if(10<=5)
cout<<"10 is less than or equal to 5"<<endl;
if(10>=5)
cout<<"10 is greater than or equal to 5";
getch();
}
Monday, 1 May 2017
C++ Tutorials [Hindi/Urdu]- intro
C++ Course Introduction
Watch Full course On Youtube :
This course starts from basic concepts to most advanced concepts all the videos are in HD and free
post your questions in the comments if you have any problem.Also visit Our Youtube Channel and subscribe ..Thanks.
Labels:
C++,
c++ codes,
c++ full course,
c++ in hindi full course,
c++ projects,
c++ traning,
c++ videos,
cplus,
in Urdu,
Traning in Urdu,
turbo c,
Tutorials,
urdu tech tutorials,
urdutech
Sunday, 30 April 2017
Unity3D Tutorial in Urdu / Hindi [14]
Tutorial No. 14
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [13]
Tutorial No. 13
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [12]
Tutorial No. 12
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [10]
Tutorial No. 10
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [09]
Tutorial No. 9
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [08]
Tutorial No. 8
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [07]
Tutorial No. 7
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [06]
Tutorial No. 6
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5
Unity3D Tutorial in Urdu / Hindi [05]
Tutorial No. 5
Welcome to unity 3_D video tutorial series in Urdu .
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
These tutorials are created with Unity personnel edition V 5.3.5.
Unity Tutorial in Urdu / Hindi [04]
Tutorial No.4
Welcome to unity 3_D video tutorial series in Urdu .
(1) Duration Of Course : 90 MINUTES
(2)Level : Beginners
(3)Total videos :14
these tutorials are created with Unity3d personel edition V 5.3.5
Subscribe to:
Posts (Atom)
