Loop tree?
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...)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement