Randomly Generate Tiles

evankramer123

  • Posts: 22
I want to make an infinite runner game and I'm having trouble creating tiles that generate randomly certain designs like buildngs and cars and such kind like Flappy Bird but with buildings. Any ideas?

hpbeasts

  • Posts: 14
I had the same issue but I figured it out. What you do is create an Game attribute called lets say "Randomly Generate Actor". Every "x" seconds set "Randomly Generate Actor" to a random number. Then say if "Randomly Generate Actor" = 1 create this actor, if it equals 2 create that actor, and so on. If this does not make sense let me know and I can try to explain it in a different way.

evankramer123

  • Posts: 22
@hpbeasts Thanks soo much it worked and im super happy THANKS! 8)