Get Android 2020 Full Course Here: https://bit.ly/2zSG65S ( Build 7 Games ) |————- ( Click On Show More ) …

Get Android 2020 Full Course Here: https://bit.ly/2zSG65S ( Build 7 Games ) |————- ( Click On Show More ) …
Comments are closed.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Get Android 2020 Full Course Here: https://bit.ly/2zSG65S
( Build 7 Games )
Play My Games:
1. Line Runner:
https://play.google.com/store/apps/details?id=com.chargergames.linerunner
2. Dodging Dog:
https://play.google.com/store/apps/details?id=com.ChargerGames.DodgingDog
| ——————————————————————– |
Best Game Development Courses:
1. Unity By Example: 20+ Mini Projects (20+ Hours):
https://www.udemy.com/unity-game-development-by-example/?couponCode=YOUTUBE9
2. Build 5 Games in Unity & C# (21+ Hours) :
https://www.udemy.com/unity-2d-game-development-by-example/?couponCode=YOUTUBE9
3. Complete C# Scripting for Unity (25+ Hours) :
https://www.udemy.com/unity-c-sharp-scripting/?couponCode=YOUTUBE9
| ——————————————————————– |
Move To Any Specific Part Of The Video(Click Below):
1. 00:00 – Intro
2. 00:16 – Creating New Project
3. 00:40 – Switching to Android Platform
4. 01:00 – Changing Background
5. 01:20 – Creating Player & Food
6. 03:40 – Creating Obstacle
7. 05:14 – Creating Player Scripting
8. 06:35 – Rotating & Controlling Player
9. 08:55 – Checking Collision
10. 10:00 – Winning The Level
11. 14:17 – Adding A Trail
12. 15:39 – Building An apk
13. 16:08 – Running On A Mobile Device
Thanks a lot for watching 🙂
hey I am having a problem where when I touch the food by player automatically moves to the right without me touching anything forever
hello, is it okay if i make my game based on your tutorial? like copy everything you did including codes + everything else, but only change the themes? thats a stupid question but i hope you send a reply. cause im new to game development and im trying to learn to code
Nice
Thank me later 🙂
The complete code :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Player : MonoBehaviour
{
Rigidbody2D rb;
public float moveSpeed;
public float rotateAmount;
float rot;
int score;
public GameObject winText;
private void Awake()
{
rb = GetComponent<Rigidbody2D>();
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetMouseButton(0))
{
Vector3 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
if(mousePos.x < 0)
{
rot = rotateAmount;
}
else
{
rot = -rotateAmount;
}
transform.Rotate(0, 0, rot);
}
}
private void FixedUpdate()
{
rb.velocity = transform.up * moveSpeed;
}
private void OnCollisionEnter2D(Collision2D collision)
{
if(collision.gameObject.tag == "Food")
{
Destroy(collision.gameObject);
score++;
if(score >= 5)
{
print("Level Complete");
winText.SetActive(true);
}
}
else if(collision.gameObject.tag == "Danger")
{
SceneManager.LoadScene("Game");
}
}
}
Thanks bro I just successfully make the game that followed by ur instructions…. Thanks a lot
There is a clear error displayed @ 15:39 that you never address. You just skip to the game on your phone. Hard to take you very seriously when you edit these things out. I get the exact same error. Why would I sign up for any of your tutorials?
AssetsPlayer.cs(59,25): error CS0117: 'SceneManager' does not contain a definition for 'Loadscene'
//this error….????
The player script code does not reflect on my unity editor
THANK YOU SIR.
my version is 2020.3.19 i cant add 2d text
Another excellent tutorial, thank you!
Destroy problen
How do i add shop that Will have skins and upgrades
When I type in Rigidbody2d in visual studio it doesn't show up in the drop down box :/
bro an error is showing "AssetsPlayer.cs(44,14): error CS0116:A namespace cannot directly contain members such as fields or methods" pls help
https://www.youtube.com/watch?v=hcl7U5IRemY
How to Add Sound on 3D Model in Vuforia [Eng Sub] 2021
What is wrong? I cannot get Rigidbody in VS when I open the script file.
11:49
8:10
Can you give me c# code because it's giving me error
8:30 : at this point, my player can just rotate, but he can't move, pls help
Watch in 2x speed and make your first android game in 8 minutes 29 seconds
Now that i was writing this comment i saw that this wasnt a tutorial so i cant really complain. So i will go and seek after some that teaches1 you this stuff and not only telling us what to do.
Don't use the Unity 2020. Because there it didn't work! Use 2018 or 2017
Oke oke evriting its fine i enjoy the video but i don t know how to do more level how can i make when i colect all bal to take me to a next level.Plesase help
Sir I can't get move speed and Rotate Amount in player(Script) after coding in visual studio please help 🙏🏼🙏🏼
can anyone tell me why my player is just spinning and not going forward this is the code
Thanks 🙂
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
Rigidbody2D rb;
public float movespeed;
public float RotateAmount;
float rot;
private void awake()
{
rb = GetComponent<Rigidbody2D>();
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetMouseButton(0))
{
Vector3 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
if (mousePos.x < 0)
{
rot = RotateAmount;
}
else
{
rot = -RotateAmount;
}
transform.Rotate(0, 0, rot);
}
}
private void Fixedupdate()
{
rb.velocity = transform.up * movespeed;
}
}
I wanna how you made the camera vertical mine is horizontal how do I fix this
Can you copy your script and put it in the kommentare?
2:36
How to connect to unity remote 5.
14:33
14.44
Give the game link
Help me please
When you do not know to speak like human beings
I want to run a function when ı click a button ? how can ı do this with code ?????
man i love you
Good one man. The satisfaction of seeing the finished apk is unreal 🙂
Hello anyone, when i add the c# script, it says can't add script as class not found. Anyone else faced this? How do i resolve this?
Very much awesome sir