Sign in to follow this  
  • entries
    223
  • comments
    165
  • views
    79331

The Guards that Guard

Sign in to follow this  
Stephen R

83 views

I'm just finished with the code for the prisoners. They are functioning fully, but I'll probably have to tweak numbers once the game starts coming together. But I can now mark that job as done.

Tomorrow I'm going to get started on the guards. The guards could either make or break the game depending how well they behave. I'll probably end up spending a lot of tomorrow just reading up on pathfinding and spend a bit of time tweaking a small problem in the player movement code. I'm pretty sure I'll be using A* but since I've never done any form of pathfinding before I'll have to see what happens.

I've also been looking into Resource Management systems for the last while because I'm not very happy with mine. So far I haven't seen a single implementation that doesn't involve manual downcasting at some stage. The fact that I had to down cast is one of the reasons I don't like my implementation. I'm going to have to think about this very carefully to either see if I can come up with some extensible system that doesn't involve downcasting or convince myself that there is no way around it.
Sign in to follow this  


2 Comments


Recommended Comments

hehe, it wouldn't be much more interesting than the last shot. And the fact that I'm using my a horrible font makes it slightly worse. I'll give you a screeny when I have the guards in.

Share this comment


Link to comment

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