Комментарии:
Ah, petit accent français x)
Ответитьhahah that boopy birdy
ОтветитьIf your Game Over Canvas is not disappearing, add this:
gameOverCanvas.SetActive(false);
In your "private void Start()" function, make sure to put it above "Time.timeScale = 1;".
-
If that doesn't work, make sure that the letter S in Start is capitalized like this: "private void Start()"
-
This fixed the problem for me.
It would be nice if you have zoombed in on the code : )
Ответитьto be onest not a good tutorial, you have skiped much BUT for people who know how to work with unity this is a really great tutorial!!!
ОтветитьCan anyone help? By me when I put in the „game over“ and „start“ buttons, they not only always stay on the screen but also the start button won’t work. Help plss
Ответитьwow, im begginer in Unity, ir's very very nice Tutorial. Respect for You bro. Regards from Poland!
ОтветитьThank you
ОтветитьI like the birds name ^^.
ОтветитьIf you are stuck at restart freezing the game, you have to call the name of the main scene, not 0. My main scene is called Komadre Bird
public void GameOver()
{
gameOverCanvas.SetActive(true);
Time.timeScale = 0;
}
public void Replay()
{
SceneManager.LoadScene("Komadre Bird");
}
}
Thanks for making it clear and short
ОтветитьAssets\flymyboy.cs(8,13): error CS0246: The type or namespace name 'Rigbody2D' could not be found (are you missing a using directive or an assembly reference?)
Ответитьgreat tutorial! just wondering, what number did you set for the pipe speed?
Ответитьhow to make the bird rotate?
ОтветитьGreat tutorial but when i added the score scripts my score didnt go up. do you know why?
ОтветитьMe, having never used Unity before, seeing 10 mins in the title: "Oh that's cool, I'll do that."
Almost 3 hours later, remembering again why I kinda hate this shit: "At least I have Flappy Bird now."
i want ask sir. why my Game Over canvas is appear from start?
ОтветитьRestart freezing the game any solution?
Ответитьthe ground animation doesnt work
the rest is amazingly working
thanks a lot
Bad tutorial
ОтветитьWHY GENERATED INFINITE PIPES LIKE 1000000000 FOR SECOND SOMEONE HELP
Ответитьthis took me longer than 10 minutes
disliked and unsubscribed
very shit tutorial
Ответитьwhy isn't input showing up for my code? It autosearched before on my last project, but not on this one
ОтветитьWhy are all of my Pipes scattered randomly now I've done the Game Manager part?
ОтветитьThank you. It took me hours but it's worth it!
Ответитьplease help I'm stuck with this step ... i run it but when I hit the pipe it doesn't show the game over here is my code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public GameObject gameOverCanvas;
private void Start()
{
gameOverCanvas.SetActive(false);
Time.timeScale = 1;
}
public void GameOver()
{
Time.timeScale = 0;
}
public void Replay()
{
SceneManager.LoadScene(0);
}
}
instruction so unclear, and with heavy accent, skipping a lot of parts
ОтветитьWhich key do you have to press to go up?
ОтветитьCreater of flappy bird : i programmde this game in just 3 days.
Me : i did it in under 10 minute
neglected to make the bird tilt towards its trajectory
ОтветитьThis is not easy to do step by step.... you do things not in recording and it is very confusing
Ответитьhelp my score only increases for the first pipe then remains 1
ОтветитьJiyo bc ♥♥♥♥
ОтветитьHello, i tried to programm it but when i did the death screen it just shows me it from the start of the game and its not getting away. I tried eveyrthing. The death screen is still there and when i die it stills there.
Someone help?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlyLittleBirdy : MonoBehaviour {
public GameManager gameManager;
public float velocity = 1;
private Rigidbody2D rb;
// Use this for initialization
void Start () {
rb = GetComponent<Rigidbody2D>();
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0))
{
//Jump
rb.velocity = Vector2.up * velocity;
}
}
private void OnCollisionEnter2D(Collision2D collision)
{
gameManager.GameOver();
}
}
i having a error in GameManager plz help me plzzzzz
can I get the codes of the game you made, this is very important for me
ОтветитьFor TextMeshPro issue just add "using TMPro" at top and use "GetComponent<TextMeshProUGUI>().text
ОтветитьThanks
Ответитьthanks :>
ОтветитьHi folks, I'm trying a new speed tutorial concept. I know that this is not a kind of "follow through" tutorial, but I really wanted to make it more entertaining and informative. I hope that you had fun watching this video and if you have any suggestion for what is coming, let me know !
Ответить