Sign in to follow this  
twistedjoe

Loop tree?

Recommended Posts

Am working on a game with a looping background made from different blocks. The blocks can't be randomly chose since some fit together and some don't, but I do want it to be random as much as possible. So I made a tree with node that loop back to parent nodes at some point. So I can call a random child from the current node and it will always fit with the current. I was wondering if there was a name for this pattern or people just call this a tree (after all, it is...)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this