Quantcast
Channel: Questions in topic: "random spawn"
Viewing all articles
Browse latest Browse all 125

2D infinite runner obstacle generation?

$
0
0
Hi Unity, I am developing a game that has 2 types of obstacles: One that you have to jump over and one that you have to slide under. How could i generate them randomly without them generating on top of each other (they must be far apart or else the player wont have a chance to avoid them and survive). Thanks in advance!

Viewing all articles
Browse latest Browse all 125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>