Thread: Roomless world
View Single Post
Old 08-25-2014, 11:12 AM   #8
koteko
New Member
 
Join Date: Mar 2012
Posts: 20
koteko is on a distinguished road
Re: Roomless world

It's a surprisingly effective design, yet simple. I like it more and more I have to say. Thanks for your patience in explaining it KaVir.

I'm still curious on how you search for neighbouring Things on the map as opposed to containers. What is your "scale", that is how many cells of the map do you have to iterate over when a player does a "Look" or when an NPC AI kicks off?

Did you find a naive implementation (eg, keep the map in a global array and when a player does a "look", just iterate in the surrounding cells) to be good enough, or did you use something a bit more sofisticated?
koteko is offline   Reply With Quote