Endless Runner Tutorial in Unity - #3 Procedural Generation & Game States!

preview_player
Показать описание
READ ME FOR BUG FIX:
in the Start Game Manager, make sure to add "enabled = false" at the end of the StartGame function. If you don't, the game will not work properly on mobile. Sorry!

How to make a game in Unity. Tutorial on a simple endless runner for mobile. In this video we explore procedural generation, game states and we introduce singletons. See you in the next episode!

Note: while I was uploading this, a new Unity version came out, 2019.3.1. I went through the patch notes and it * shouldn't * matter if you use that version rather than mine. If you want you can download a specific Unity version from their website, since the Unity Editor only allows to download the latest version.

Links:

//spaghetti bio here
Hi, I'm Ricky. Today I'm making games, tomorrow who knows.
I'm a 22M from Italy, trying to make it as a videogame designer and programmer. Ciao!
Рекомендации по теме
Комментарии
Автор

READ ME FOR BUG FIX:
in the Start Game Manager, make sure to add "enabled = false" at the end of the StartGame function. If you don't, the game will not work properly on mobile. Sorry!

RickyDev
Автор

Hello, sorry when I put the startScrip function in startgame manager it marks it as incorrect and in spawnmanager it marks me as if the function had no use ... I hope you can help me I would appreciate it very much

axisvlogs
Автор

it says that the objects are cloning in my project hierachy but they are not appearing on-screen, how do i fix this?

vfhgeve
Автор

Hi Ricky, I have done everything that you have shown. When I run the scene the entity does not spawn. Also, I have noticed that the spawn timer varies but the spawn position is not varying? At first the Unity shows an error of CS0414 on entitiesPrefab as null. It works when I play it but the entities does not spawn. It only does the things up to the second video. I will really appreciate it if you could please help me? Or anyone who knows what I can do?

morph