Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  
Stephen R


I added the limited range FOV today after it being decided that it was really required. The FOV generation code is quite flexible, so I'll be able to use it for the guards when I get around to doing them.

I'm in the middle of handling the prisoners at the moment. I have them about half done - they are being loaded from the map, oriented correctly and are being displayed (all be it with the wrong sprite for now). Whats left to be done is the speach boxes that appear when you approach them. This won't be too hard - I might even get it done tonight.

I've begun to notice something since I started adding the prisoners. I really regret not doing some basic form of partitioning on the map so I don't have to perform checks against all the prisoners/guards. Its not manifesting itself in a performance hit yet and I doubt it will since it equates to about twenty distance checks per update at worst (a miniscule number) but from now on whenever I'm writing a tile map I'm going to do at least some partitioning.
Sign in to follow this  


Recommended Comments

There are no comments to display.

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
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!