Jump to content
  • Advertisement
Sign in to follow this  

Loop tree?

This topic is 2986 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!