Random System Unity V.1

Channel:
Subscribers:
415
Published on ● Video Link: https://www.youtube.com/watch?v=G8bWNHf8gs8



Duration: 0:23
733 views
7


My simple 2D random world generation system :) New update will comes !

Script : https://docs.google.com/document/d/1wShGQVgL1PMlZxcihGwM2yhtcUDcFtAApr2siyN_3Uk/edit?usp=sharing

/!\ IF YOU USE THE SCRIPT /!\

It's the first version ! Future version included more options and optimizations !

● Make different types of platforms, set their tags in : "Platform"

● At the line 10 :
change Random.Range(1,4) by Random.Range(1,number of types platforms + 1)

● You can change the position of platform in the function named "Randomizer", after the Vector3. Example : Vector3(position + 3, 12,3)

● You can set the time of "yield WaitForSeconds" but keep a time superior at 0.0001 (in video 0.1), I think 0.01 it's good ! Otherwise the 3 platforms are the same type (of platform).

__________________________________________________

If you have ANY problem, or I make (orthographicals or in the script) mistakes, don't be shy say it !







Tags:
random
unity
Game Engine (Software Genre)
world
generation