- Home /
Question by
jayesh4520 · Dec 31, 2017 at 02:02 PM ·
2d gamecolorspawningblocksrandom spawn
random swap the block (block will have color)
I have 5 blocks in my 2d game and a player(blue color) i want random(only four color) color in my 5 blocks at one time when spawned (color must be diffrent) when blocks come to top to downi want my player (blue color) to go from blue block(i mean same color ) if my player touch diffrent block game over can anyone tell me how do i code ? i mean steps i am newbie thnx for answer
block.png
(3.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612145543im_/https://answers.unity.com/themes/thub/images/avi.jpg)