19. Randomly Generate New Tiles- Build 2048 puzzle game in Unity 3D
Автор: Dev Tutorials
Загружено: 2016-02-19
Просмотров: 4719
Описание:
Learn programing by creating your own language: https://bit.ly/2GjCCaE
Download tutorial assets: http://adf.ly/1XAiNA
Download Unity3d project for this lecture: http://adf.ly/1XAhmk
Download final build for Android: http://adf.ly/1XAiN9
Download final Unity3d project: http://adf.ly/1XAiN8
Tutorial playlist: • Build 2048 puzzle game in Unity 3D
In this lecture we will create a List called EmptyTiles to track where we can put a new tile when a new tile needs to be generated. Lists are somewhat similar to arrays. Except, for Lists we don’t have to know in advance how many elements will this List hold. So, we can think of a List as a dynamically sized array.
We will create a method called Generate() and hook it up to a key G on our keyboard, so that when we press G, a new tile will be generated.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: