Practice nahi karogay to sir k uper se nikal jaeyga :) Share this with others.. Full series: th-cam.com/play/PLBh8phtAyHPUY9fqgs1w6aHJALJ3_fMSc.html Group: facebook.com/groups/FreelancingHelpOfficial Insta: "farhan.aqeel"
How to code better:- Learn from videos, see more examples from Internet, write a new one without referring, and finally if got error, search it on Internet, review the code and finally, ask from dev community
It’s a very very very helpful and supportive videos thanks Allah ka sukar hai aap jese bando ko banaya jo apne next level ko apna knowledge bat rahe hai
I copy paste a lot in coding 😂 it make life so easy , but copy paste my own codes not the Google one. I know all the basics of coding but nowadays I'm learning assembly language it really sucks. I know c and c++ so it's much similar but as I start learning through your course so just revising all the previous work and yes I'm making notes and I paused your video when you say else if and wrote the complete code but a person who doesn't know anything about coding your video can teach them alot. You are really doing a great job.🙂
i am watching your lecture from today and its very addictive i have been watched 12 lectures in one single day and learning from it thank you for all this..
Thankyou for the words but i'll recommend one-2 videos every day. here are some tips: - Watch a video more than one. - Make notes[HIGHLY IMPORTANT] to get the best out of this series. - Practice more than once!!! post the notes on the group so that others can benefit from it too
Bhai ma ye series 1 saal baad dekh raha hu aur yaqeen maanain k is chz ka kuch b nai tha pta mjy aur apki video se sb kuch bht achy se smjh aa raha ha aur exmple bht kmaal ki dety ap big fan bhai ALLAH PAK LAMBI ZINDAGI DE AUR KAAMYABI DE
Farhan bhai aj to bht maza aya, wow kia explaination ti qasm se, hum ne 2 years pehly if else command parhy ty c++ me pr apka wala awla ta such me . 1st attempt me hi seek liya or bhai ko 4, 5 doodh ki dokano pe bej diya pr pir b dodh ni mila , hahaha
Instead of using the start block (function), I used the update block (function). There are multiple hostages in different rooms and after finding the hostage in a room the update block (function) will run again and then it will find hostages in other rooms. Code: using System.Collections; using System.Collections.Generic; using UnityEngine; public class ifStatements : MonoBehaviour { bool hostageInRoom1 = false; bool hostageInRoom2 = false; bool hostageInRoom3 = true; bool hostageInRoom4 = true; bool hostageInRoom5 = false; bool hostageInRoom6 = true;
// Start is called before the first frame update void Start() {
} // Update is called once per frame void Update() { if (hostageInRoom1) { Debug.Log("Hostage found in Room1!"); hostageInRoom1 = false; } else if (hostageInRoom2) { Debug.Log("Hostage found in Room2!"); hostageInRoom2 = false; } else if (hostageInRoom3) { Debug.Log("Hostage found in Room3!"); hostageInRoom3 = false; } else if (hostageInRoom4) { Debug.Log("Hostage found in Room4!"); hostageInRoom4 = false; } else if (hostageInRoom5) { Debug.Log("Hostage found in Room5!"); hostageInRoom5 = false; } else if (hostageInRoom6) { Debug.Log("Hostage found in Room6!"); hostageInRoom6 = false; } else { Debug.Log("No more hostages found!"); } } }
Python code for what you told😅🤣😎 Although, thanks for nice videos. pumpIsOpen=False def fill(): if pumpIsOpen==True: fillPetrol() else: print('Mere developer bhai, abhi pump bund hai, isliye bike mein petrol khatma ho gaya LOL') Output Mere developer bhai, abhi pump bund hai, isliye bike mein petrol khatma ho gaya LOL
Sir g aik jawab dy do bs hum ne aik button bnaya h os pe hum ne lock lgaya h r wo lock tb open ho jb hum ose purchase krn m ne purchase button bhe bnaya h but jb m purchase krta ho tow wo lock jo button pe h wo open nahi hta please es k bare mn thora smjha dain
sir mene same to same code copy kia h lekin debug aik tou blue nahi hua or compiler error deraha h jb play krta hun tou or pta nahi aik collabs ka masla bhi araha ye error show horaha baar baar [Collab] Collab service is deprecated and has been replaced with PlasticSCM'
yehi dheetpan chahiay.. jahan b phasen thora dimagh lagaen, agar phir b samajh na aey to group me post karden me help krdunga. group link is in description
Sir Software Engineer kr li.. acha acha PHD teachers sa prh lia.. Yakeen kro jis trha sa ap explain kr rha kisi na nhe kia.. Afsoos is bat k keh bht late dekh raha apki series.
using System.Collections; using System.Collections.Generic; using UnityEngine; public class conditionalstatements : MonoBehaviour { /* (if),(else),(else if).These are known as conditional statements These are used to put a condition like if something is available bring it or else i am okay to go with anything is available */ public int age = 10; /* I have created and given access modifier public so we can change the value in inspector and have fun with it because as we changes the value the log message will changes */ // Start is called before the first frame update void Start() { if(age==15) { Debug.Log("you are a teenager"); } else if(age==20) { Debug.Log("You are an adult"); } else if(age==10) { Debug.Log("You are a child"); } else { Debug.Log("You are mature"); } } // Update is called once per frame void Update() {
Hello sir...I need some help. Sir I am trained in graphic designing and video editing, but I also have a huge interest in game development and want to learn it from the beginning. So want to ask that should I learn this game development or continue to increase my skills in graphic and motion designs? And also am bit confused that learning game development will help me make money or not?
Hi. Answers: 1) Depending upon the type of skill you have related to graphics or motion design you can go for either game development or Graphics.. Example: if you don't have a good portfolio in design but have interest in game development then i'll recommend you to try game development. try it from the very first video on this playlist. it will answer your second question as well within the first 30 seconds :)
perfect example.. Just one minor improvement. I always recommend having meaningful variable names. since we are trying to check whether the new video is published or not, it would be better if we name the variable as "new_Video_Published" instead of "new_video". good work!
private bool firstDoorIsOpened = false; private bool secondDoorIsOpened = false; private bool thirdDoorIsOpened = true; // Start is called before the first frame update void Start() { if (firstDoorIsOpened == true) { Debug.Log("First door is opened"); } else if (secondDoorIsOpened == true) { Debug.Log("Second door is opened"); }
else if (thirdDoorIsOpened == true) { Debug.Log("Third door is opened"); } else { Debug.Log("All doors are closed"); }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ifstatement : MonoBehaviour { private bool blackShirtIsAvailable = false; private bool blueShirtIsAvailable = true; // Use this for initialization void Start () {
if (blackShirtIsAvailable == true) { Debug.Log ("yes it's available"); } else if (blueShirtIsAvailable == true) { Debug.Log ("not black but blue is available"); } else { Debug.Log ("no it's not available"); } }
// Update is called once per frame void Update () {
Practice nahi karogay to sir k uper se nikal jaeyga :) Share this with others..
Full series: th-cam.com/play/PLBh8phtAyHPUY9fqgs1w6aHJALJ3_fMSc.html
Group: facebook.com/groups/FreelancingHelpOfficial
Insta: "farhan.aqeel"
I am hard working sir
Ap ne miss kardia wo wala part jahan me script gameobject se attach kar rha hun. wo part isi video me h
How to code better:-
Learn from videos, see more examples from Internet, write a new one without referring, and finally if got error, search it on Internet, review the code and finally, ask from dev community
Boolean 🤣🤣🙏🙏
Data type
String
Int
float
bool
char
Sir g level ka
Course ha ....waqai
Allah di qasmay......❤️❤️
This was the best real life example to understand if else statement I ever seen. First time me hi samajh aa gaya.😍 Great Sir.. Thank you
The way he deleivers the lecture is amazing no words for this
Sir g ap ka smajhane ka andaaz boht umda h. boht axhe se smjh aa jata h. or m Notes bhi bana raha hu.
Love u Sir
It’s a very very very helpful and supportive videos thanks
Allah ka sukar hai aap jese bando ko banaya jo apne next level ko apna knowledge bat rahe hai
I copy paste a lot in coding 😂 it make life so easy , but copy paste my own codes not the Google one. I know all the basics of coding but nowadays I'm learning assembly language it really sucks. I know c and c++ so it's much similar but as I start learning through your course so just revising all the previous work and yes I'm making notes and I paused your video when you say else if and wrote the complete code but a person who doesn't know anything about coding your video can teach them alot. You are really doing a great job.🙂
i am watching your lecture from today and its very addictive i have been watched 12 lectures in one single day and learning from it thank you for all this..
Thankyou for the words but i'll recommend one-2 videos every day.
here are some tips:
- Watch a video more than one.
- Make notes[HIGHLY IMPORTANT] to get the best out of this series.
- Practice more than once!!!
post the notes on the group so that others can benefit from it too
Bhai ma ye series 1 saal baad dekh raha hu aur yaqeen maanain k is chz ka kuch b nai tha pta mjy
aur apki video se sb kuch bht achy se smjh aa raha ha aur exmple bht kmaal ki dety ap big fan bhai
ALLAH PAK LAMBI ZINDAGI DE AUR KAAMYABI DE
Being a IT student Great Content Provided by Sir Farhan Aqeel Free of Cost Appreciated sir Awesome Example....
samajh aa gaya.😍 Great Sir.. Thank you
it's so fun to play with this if else statement.
thanks sir
Farhan bhai aj to bht maza aya, wow kia explaination ti qasm se, hum ne 2 years pehly if else command parhy ty c++ me pr apka wala awla ta such me . 1st attempt me hi seek liya or bhai ko 4, 5 doodh ki dokano pe bej diya pr pir b dodh ni mila , hahaha
Farhan Bhai Weldon
Great work brother
great series loving it
sir bohot badhiya comedy kar di 25:21 But puri tarah se samaj aa gaya
Very educational video bro..!! ❤️
Instead of using the start block (function), I used the update block (function). There are multiple hostages in different rooms and after finding the hostage in a room the update block (function) will run again and then it will find hostages in other rooms.
Code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ifStatements : MonoBehaviour
{
bool hostageInRoom1 = false;
bool hostageInRoom2 = false;
bool hostageInRoom3 = true;
bool hostageInRoom4 = true;
bool hostageInRoom5 = false;
bool hostageInRoom6 = true;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (hostageInRoom1)
{
Debug.Log("Hostage found in Room1!");
hostageInRoom1 = false;
}
else if (hostageInRoom2)
{
Debug.Log("Hostage found in Room2!");
hostageInRoom2 = false;
}
else if (hostageInRoom3)
{
Debug.Log("Hostage found in Room3!");
hostageInRoom3 = false;
}
else if (hostageInRoom4)
{
Debug.Log("Hostage found in Room4!");
hostageInRoom4 = false;
}
else if (hostageInRoom5)
{
Debug.Log("Hostage found in Room5!");
hostageInRoom5 = false;
}
else if (hostageInRoom6)
{
Debug.Log("Hostage found in Room6!");
hostageInRoom6 = false;
}
else
{
Debug.Log("No more hostages found!");
}
}
}
Big fan of u..sir...love from odisha
thanks sir you are soo great your explanation is very great
Very good information thanks
me ne likh rehi sath sath ap ki ek class ek br dekh k samjti phir next again ply kr k nots bana lyti
Good
Nicely explained wd smile
Happy teachers day sir love from India 🇮🇳
Sir, code run nhi ho raha h vs code me kafi error aa rahe h jo ki samajh nhi aa rahe h.
Please make a video to set up unity + vs code
Very very helpful 👍☺️
Hello bhaiya.....
Blender me koi bhi buildings ko bana kar or animations ko unity me laga sakte hai kya.... Chal jae ga kya ....
Thanks sir , for clearing my doubts
kya oparetor 2 bar dena parega like "==" single dene se error ayga kya ?
Dude love love love
Python code for what you told😅🤣😎
Although, thanks for nice videos.
pumpIsOpen=False
def fill():
if pumpIsOpen==True:
fillPetrol()
else:
print('Mere developer bhai, abhi pump bund hai, isliye bike mein petrol khatma ho gaya
LOL')
Output
Mere developer bhai, abhi pump bund hai, isliye bike mein petrol khatma ho gaya
LOL
Awesome tutorial
Sir i see an error when i write debug.log command unity don't accept it please tell me the solution ????
Sir g aik jawab dy do bs hum ne aik button bnaya h os pe hum ne lock lgaya h r wo lock tb open ho jb hum ose purchase krn m ne purchase button bhe bnaya h but jb m purchase krta ho tow wo lock jo button pe h wo open nahi hta please es k bare mn thora smjha dain
sir mene same to same code copy kia h lekin debug aik tou blue nahi hua or compiler error deraha h jb play krta hun tou
or pta nahi aik collabs ka masla bhi araha ye error show horaha baar baar
[Collab] Collab service is deprecated and has been replaced with PlasticSCM'
very very thankful
Mtlab basic sa code h os pe bhe if else statement lagni h but i can't understand how to do that code and how to implement my logic on that code
Sir Mera 'if' condition run ho rha lekin 'else if' lgane par error de rha hai.
Sir please replay.
Post a screenshot with error description on the facebook group. link is in description
bhais are op battamiez for doing work
// you are very smilee teacher
visual studio kia kam karta ha ? plz explian
Is playlist ki second video dobara dekhen. Notes lazmi banaen
sir mara name colpase pa nai chala ?
A boolean should be used for a condition in an if statement.
great video but i think you make this for non computer students or for 12 year student.
Yes. the whole series is suitable for everyone[even school kids].
Sir mai script likhne ke liye kon sa app download kru. Kyuki ek note pad pr krta hu to script run nahi hota. Please help.
classes skip na karen. Game Engine vs IDE video dekhen. installation wali video dekhen. kafi concepts miss hojaengay
@@FarhanAqeel sir ek bhi skip nahi kiye hai blki dodo baar dekhe hai sbko.phle pura dekhte hai phir use krte hai nahi hota tb dekh kr use krte hai.
I am having problems with intellisense in vscode pls help
download visual studio from unity hub.
@@FarhanAqeel how to do that?
@@TYCuber check the video in which i've installed unity editor. you'll find the way in that video.
@@FarhanAqeel ok thank you sir
degub.log nahi smjh aya sir
poori sirees mein bhai ko dhi lane bheja hua hai😂😂
Sir thora mushkil ha lkin ho jayga inshaAllah Allah Apko salamat rakhy Ameen
yehi dheetpan chahiay.. jahan b phasen thora dimagh lagaen, agar phir b samajh na aey to group me post karden me help krdunga. group link is in description
@@FarhanAqeel thanks sir inshaAllah😅
is this course completed sir after your 33 video? or there are more to come?
i upload 2 new videos every week. you can join the facebook group for more schedule updates
At 11:26 when u use Light Mode in Unity😄
Farhan bhai ya course complete ha plz tell me
answer: th-cam.com/video/iLwvFBLbols/w-d-xo.html
@@FarhanAqeel ok thankew so much farhan bhai❤
bhai de pen di.....................ah
Ap Karachi Pakistan se hain?
ji
Sir Software Engineer kr li.. acha acha PHD teachers sa prh lia.. Yakeen kro jis trha sa ap explain kr rha kisi na nhe kia.. Afsoos is bat k keh bht late dekh raha apki series.
Sir India me 24 hours petrol pump open rhta hai
Ither Lahore main bhi, yeh shaid karachi ka masla
India mn petrol use hota hai?
@@shoaibakhtar2262 ha
To The people who know a little bit of js, c, python or could easily understand it
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class conditionalstatements : MonoBehaviour
{
/*
(if),(else),(else if).These are known as conditional statements
These are used to put a condition like if something is available bring it or else i am okay to go with
anything is available
*/
public int age = 10;
/*
I have created and given access modifier public so we can change the value in inspector and have fun with it
because as we changes the value the log message will changes
*/
// Start is called before the first frame update
void Start()
{
if(age==15)
{
Debug.Log("you are a teenager");
}
else if(age==20)
{
Debug.Log("You are an adult");
}
else if(age==10)
{
Debug.Log("You are a child");
}
else
{
Debug.Log("You are mature");
}
}
// Update is called once per frame
void Update()
{
}
}
Hehehe ex ki khowari krwadi :p
Hello sir...I need some help. Sir I am trained in graphic designing and video editing, but I also have a huge interest in game development and want to learn it from the beginning. So want to ask that should I learn this game development or continue to increase my skills in graphic and motion designs? And also am bit confused that learning game development will help me make money or not?
Hi. Answers:
1) Depending upon the type of skill you have related to graphics or motion design you can go for either game development or Graphics.. Example: if you don't have a good portfolio in design but have interest in game development then i'll recommend you to try game development. try it from the very first video on this playlist. it will answer your second question as well within the first 30 seconds :)
Got my answers sir. Thanks a lot for your help :-)
Farhan bhai ya complete course ha plzz tell me??
#12
❤❤😘
💥If/else
Example Of Game development Playlist :
private new_video = true ;
void start()
{
if (new_video == true){
debug.log("playlist updated) ;
}
else {
debug.log("playlist not updated yet");
}
}
💥If/else if/else
Example :
if (day=="Tuesday") {
debug.log("video uploaded");
}
else if (day=="Friday") {
debug.log("video uploaded")
}
else
{
debug.log("do practice");
}
perfect example.. Just one minor improvement.
I always recommend having meaningful variable names. since we are trying to check whether the new video is published or not, it would be better if we name the variable as "new_Video_Published" instead of "new_video".
good work!
@@FarhanAqeel thanks Farhan Bhai to point out this , now I remember it.
private bool firstDoorIsOpened = false;
private bool secondDoorIsOpened = false;
private bool thirdDoorIsOpened = true;
// Start is called before the first frame update
void Start()
{
if (firstDoorIsOpened == true)
{
Debug.Log("First door is opened");
}
else if (secondDoorIsOpened == true)
{
Debug.Log("Second door is opened");
}
else if (thirdDoorIsOpened == true)
{
Debug.Log("Third door is opened");
}
else { Debug.Log("All doors are closed");
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ifstatement : MonoBehaviour {
private bool blackShirtIsAvailable = false;
private bool blueShirtIsAvailable = true;
// Use this for initialization
void Start () {
if (blackShirtIsAvailable == true) {
Debug.Log ("yes it's available");
} else if (blueShirtIsAvailable == true) {
Debug.Log ("not black but blue is available");
}
else {
Debug.Log ("no it's not available");
}
}
// Update is called once per frame
void Update () {
}
}
If the petrol pump is open then fuel the motorcycle else tell me about it
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class conditionalstatements : MonoBehaviour
{
void start(){
bool maths physics = true;
bool maths = true;
bool physics = true;
if(maths,physics == true){
print("you are awarded with 45rupee");
}
else{
print("notthing");
}
if(maths == true){
print("you awarded with 15rupee");
}
else{
print("notthing");
}
if(physics == true){
print("you awarded with 15rupee");
}
else{
print("notthing");
}
}
void Update()
{
}
}
farhan sir choty bhai per reham kar itna chakar lagwa rahe ho petrol pumps ka
❤
mera program nahi chal raha sb thk ha phir bhi
paste a screenshot in the group. link is in description
sir ma khud he chota bhai ho ghar ma aj ma apni khwari karaonga
haha
Sir mera chota bhai nahi hy ab mai kia kru.....?😂
Bhai manta hee nahi
Jisko janty ho us k name k variable bna k khuwari krwao.😂😂😂😂😂
@Tech Boy Come on the messenger.
if I go to the bathroom then I have to flush the toilet.
Mn tu frhan bhai ap ko oil lene bhej rha hn
If you know english then write else don't write