
Unity Game Dev Full Tutorial: Infinite Runner
video description
Date: 2022-03-14
Related videos
Comments and reviews: 3
M-t-
You forgot to make an Exit Game function -.--.
Seriously, I don't care how advanced this tutorial is supposed to be, do the damn thing properly!
Anyway, for those who want one, put this function in your main menu manager script:
public void QuitGame()-
Application.Quit ();
Debug.Log (-Quit Button Pushed-);
-
Create a button, latch the manager gameobject to it, and chose the QuitGame function. In the developer you will see the -Quit Button Pushed- text appear in your console tab, while in game it will quit properly.
Also, if you actually build the game it won't work. Firstly, the screen is off because the weird resolution the camera has, so in the title screen you won't see the Jungle Runner animation, and ingame you won't see the score. The only entity it registers are the trees. If your character collides with the bees, ninjas, shurikens, or squirrels, it just ignores them, sometimes pushing them along, if they also have a rigidbody.
Idk if it's just my Unity, but it just seems that this game only works in the editor, not outside of it.
reply
You forgot to make an Exit Game function -.--.
Seriously, I don't care how advanced this tutorial is supposed to be, do the damn thing properly!
Anyway, for those who want one, put this function in your main menu manager script:
public void QuitGame()-
Application.Quit ();
Debug.Log (-Quit Button Pushed-);
-
Create a button, latch the manager gameobject to it, and chose the QuitGame function. In the developer you will see the -Quit Button Pushed- text appear in your console tab, while in game it will quit properly.
Also, if you actually build the game it won't work. Firstly, the screen is off because the weird resolution the camera has, so in the title screen you won't see the Jungle Runner animation, and ingame you won't see the score. The only entity it registers are the trees. If your character collides with the bees, ninjas, shurikens, or squirrels, it just ignores them, sometimes pushing them along, if they also have a rigidbody.
Idk if it's just my Unity, but it just seems that this game only works in the editor, not outside of it.
reply
Necronomikyle
Good video so far, I'm just over an hour in. Also I really enjoyed your udemy course. But at 1:16:24 how are you renaming the animation name? I've tried double clicking the text, right clicking and looking for a rename option, and the title in the inspector and can't seem to change any of them.
Most of my googling led to a lot of -you can't responses,- but obviously it is possible.
Any idea what I might be doing wrong, or has anybody had this issue?
reply
Good video so far, I'm just over an hour in. Also I really enjoyed your udemy course. But at 1:16:24 how are you renaming the animation name? I've tried double clicking the text, right clicking and looking for a rename option, and the title in the inspector and can't seem to change any of them.
Most of my googling led to a lot of -you can't responses,- but obviously it is possible.
Any idea what I might be doing wrong, or has anybody had this issue?
reply
GAME
hello bro, can you show how to make game like subway surf no matter how many takes just i want to make similar like that! Thanks
reply
hello bro, can you show how to make game like subway surf no matter how many takes just i want to make similar like that! Thanks
reply
Add a review, comment
Other channel videos















