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

Pleasantly surprised

Sign in to follow this  
Stephen R


I finally sat down to do the pathfinding code which I'd been telling myself to do for weeks. I was quite surprised by how simple the algorithm was to actually turn into code. I know there are probably a million and one optimizations I could add to my code but given the relative simplicity of the levels my code should be more than effective. So the pathfinding is coded, but totally untested. Should get the bugs out of it tomorrow.

I don't think I've said it before, so I'll say it now - STL rocks. The multimap container made the pathfinding rediculously simple.

So I just have to get the guard finished off, and one other element of the game, and then it'll be time to put together the content.
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!